Kompilacia errno.h (OpenSSL) II

Juraj Hajka jhajka na pal-inalfa.sk
Čtvrtek Září 7 16:04:05 CEST 2000


Redhat 6.2 (kernel 2.2.14)
Chcem kompilovat  php4, OpenSSL-0.9.5a a obe padnu
vzdy nadava  errno.h
subor err.h je v uvedenom adresary
 dole je uvedeny vypis z kompilacie Openssl robil som ju pomocou prirucky
Securiting and Optimizing  Linux: RedHat Edition
vsetko preslo hladko az pokial nedam make -f Makefile


making all in crypto...
make[1]: Entering directory `/var/tmp/openssl-0.9.5a/crypto'
egcs -I. -I../include -DTHREADS -D_REENTRANT -DSSL_FORDIB_ENULL -DL_ENDIAN -
DTERMIO -O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -marc
h=pentiumpro -fomit-frame-pointer -fno-exceptions -Wall -DSHA1_ASM -DMD5_ASM
 -DRMD160_ASM   -c -o cryptlib.o cryptlib.c
In file included from ../include/openssl/err.h:82,
                 from cryptlib.h:74,
                 from cryptlib.c:61:
/usr/include/errno.h:23: parse error before `_ERRNO_H'
/usr/include/errno.h:55: syntax error before `extern'
/usr/include/errno.h:57: parse error before `endif'
In file included from cryptlib.h:74,
                 from cryptlib.c:61:
../include/openssl/err.h:97: parse error before `}'
../include/openssl/err.h:97: warning: type defaults to `int' in declaration
of `ERR_STATE'
../include/openssl/err.h:97: warning: data definition has no type or storage
class
../include/openssl/err.h:249: parse error before `*'
../include/openssl/err.h:249: warning: type defaults to `int' in declaration
of `ERR_get_state'
../include/openssl/err.h:249: warning: data definition has no type or
storage class
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/var/tmp/openssl-0.9.5a/crypto'
make: *** [all] Error 1



Další informace o konferenci Linux