Re: Compile Problem


Subject: Re: Compile Problem
From: Jim Cole (greyleaf@yggdrasill.net)
Date: Wed Aug 23 2000 - 03:30:53 MDT


chandler's bits of Tue, 22 Aug 2000 translated to:

>I'm trying to compile openSSL under YDL on an iMac. I just did this on my
>486 RH6.2 box, so I'm not sure what the problem is, and I think I've
>gotten errors like this on other compiles I gave up on-- here's the output
>I get:
>------------------------
>making all in crypto...
>make[1]: Entering directory `/usr/doc/source/misc/openssl-0.9.5a/crypto'
>gcc -I. -I../include -DTHREADS -D_REENTRANT -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -c -o cryptlib.o cryptlib.c
>In file included from /usr/include/errno.h:36,
> from ../include/openssl/err.h:82,
> from cryptlib.h:74,
> from cryptlib.c:61:
>/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
>make[1]: *** [cryptlib.o] Error 1
>make[1]: Leaving directory `/usr/doc/source/misc/openssl-0.9.5a/crypto'
>make: *** [all] Error 1
>------------------------
>At this point it stops. I check /usr/include/bits and there is an errno.h

Hi - Did you check to see if you have a /usr/include/linux/errno.h? That
is the file it says is missing. Not /usr/include/bits/errno.h. Did you
install the package containing the kernel headers? If not, then you likely
don't have /usr/include/linux/errno.h, just like the compiler says ;)
Generally, /usr/include/linux is just a symbolic link into the kernel
source.

Jim



This archive was generated by hypermail 2a24 : Wed Aug 23 2000 - 03:39:35 MDT