This problem is reported by a variety of people in different contexts and the solution
seems to be the same.
/usr/include/linux is not pointing to the correct location.
On my redhat it points to ../src/linux/include/linux
However ../src/linux/include/linux points in turn to /usr/src/linux-2.2.14
Joshua Brown wrote:
> Please help! I will happily pay any list member who can help me get this running...
>
> I am pretty familiar with linux, and I usually do my own installations, but i don't
>understand what is going on here. I need to get this system working, and it's very
>frustrating. I am a smart and completely linux literate person, so I can answer your
>questions about exactly what I'm doing. PLEASE HELP!
>
> I have the source for the latest openssl installed in:
>
> /usr/src/openssl-0.9.5a
>
> I am using slackware 7.1 with the latest stable linux kernel. 'config' runs just
>fine, (see below) but when i use make, it fails very quickly. here's what i am
>getting:
>
> making all in crypto...
> make[1]: Entering directory `/usr/src/openssl-0.9.5a/crypto'
> ( echo "#ifndef MK1MF_BUILD"; \
> echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
> echo " #define CFLAGS \"gcc -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3
>-fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM\""; \
> echo " #define PLATFORM \"linux-elf\""; \
> echo " #define DATE \"`date`\""; \
> echo "#endif" ) >buildinf.h
> gcc -I. -I../include -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3
>-fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c cryptlib.c -o
>cryptlib.o
> 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/src/openssl-0.9.5a/crypto'
> make: *** [all] Error 1
>
> here is the (truncated) output of config:
>
> Operating system: i686-whatever-linux2
> Configuring for linux-elf
> IsWindows=0
> CC =gcc
> CFLAG =-DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer
>-m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
> EX_LIBS =
> BN_ASM =asm/bn86-elf.o asm/co86-elf.o
> DES_ENC =asm/dx86-elf.o asm/yx86-elf.o
> BF_ENC =asm/bx86-elf.o
> CAST_ENC =asm/cx86-elf.o
> RC4_ENC =asm/rx86-elf.o
> RC5_ENC =asm/r586-elf.o
> MD5_OBJ_ASM =asm/mx86-elf.o
> SHA1_OBJ_ASM =asm/sx86-elf.o
> RMD160_OBJ_ASM=asm/rm86-elf.o
> PROCESSOR =
> RANLIB =/usr/bin/ranlib
> PERL =/usr/local/bin/perl
> THIRTY_TWO_BIT mode
> DES_PTR used
> DES_RISC1 used
> DES_UNROLL used
> BN_LLONG mode
> RC4_INDEX mode
> RC4_CHUNK is undefined
>
> making links etc bla bla bla....
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]