[EMAIL PROTECTED]:/opt/software/openssl-0.9.8i$ sudo make making all in crypto... make[1]: Entering directory `/opt/software/openssl-0.9.8i/crypto' ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \ echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM"'; \ echo ' #define PLATFORM "linux-elf"'; \ echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ echo '#endif' ) >buildinf.h gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o cryptlib.o cryptlib.c In file included from cryptlib.c:117: cryptlib.h:62:20: error: stdlib.h: No such file or directory cryptlib.h:63:20: error: string.h: No such file or directory In file included from cryptlib.h:65, from cryptlib.c:117: .../e_os.h:412:30: error: unistd.h: No such file or directory .../e_os.h:417:29: error: sys/types.h: No such file or directory In file included from cryptlib.h:72, from cryptlib.c:117: .../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory In file included from cryptlib.h:72, from cryptlib.c:117: .../include/openssl/crypto.h:175: error: expected specifier-qualifier-list before ‘size_t’ .../include/openssl/crypto.h:442: warning: parameter names (without types) in function declaration .../include/openssl/crypto.h:442: error: expected declaration specifiers or ‘...’ before ‘size_t’ .../include/openssl/crypto.h:443: warning: parameter names (without types) in function declaration .../include/openssl/crypto.h:444: error: expected ‘)’ before ‘const’ .../include/openssl/crypto.h:445: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ .../include/openssl/crypto.h:447: error: expected ‘)’ before ‘const’ .../include/openssl/crypto.h:448: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ .../include/openssl/crypto.h:454: warning: parameter names (without types) in function declaration .../include/openssl/crypto.h:454: error: expected declaration specifiers or ‘...’ before ‘size_t’ .../include/openssl/crypto.h:455: warning: parameter names (without types) in function declaration .../include/openssl/crypto.h:456: error: expected ‘)’ before ‘const’ .../include/openssl/crypto.h:457: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ .../include/openssl/crypto.h:459: error: expected ‘)’ before ‘const’ .../include/openssl/crypto.h:460: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ .../include/openssl/crypto.h:476: error: expected declaration specifiers or ‘...’ before ‘size_t’ .../include/openssl/crypto.h:511: error: expected ‘)’ before ‘*’ token In file included from cryptlib.h:74, from cryptlib.c:117: .../include/openssl/bio.h:568: error: expected ‘)’ before ‘*’ token .../include/openssl/bio.h:645: error: expected ‘)’ before ‘*’ token .../include/openssl/bio.h:646: error: expected ‘)’ before ‘*’ token In file included from ../include/openssl/err.h:74, from cryptlib.h:75, from cryptlib.c:117: .../include/openssl/lhash.h:185: error: expected declaration specifiers or ‘...’ before ‘FILE’ .../include/openssl/lhash.h:186: error: expected declaration specifiers or ‘...’ before ‘FILE’ .../include/openssl/lhash.h:187: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from cryptlib.h:75, from cryptlib.c:117: .../include/openssl/err.h:87:19: error: errno.h: No such file or directory In file included from cryptlib.h:75, from cryptlib.c:117: .../include/openssl/err.h:283: error: expected ‘)’ before ‘*’ token cryptlib.c: In function ‘CRYPTO_thread_id’: cryptlib.c:440: warning: implicit declaration of function ‘getpid’ cryptlib.c: In function ‘OPENSSL_cpuid_setup’: cryptlib.c:559: warning: implicit declaration of function ‘getenv’ cryptlib.c:559: warning: assignment makes pointer from integer without a cast cryptlib.c:560: warning: implicit declaration of function ‘strtoul’ cryptlib.c: In function ‘OPENSSL_showfatal’: cryptlib.c:744: warning: implicit declaration of function ‘vfprintf’ cryptlib.c:744: error: ‘stderr’ undeclared (first use in this function) cryptlib.c:744: error: (Each undeclared identifier is reported only once cryptlib.c:744: error: for each function it appears in.) cryptlib.c: In function ‘OpenSSLDie’: cryptlib.c:755: warning: implicit declaration of function ‘abort’ cryptlib.c:755: warning: incompatible implicit declaration of built-in function ‘abort’ cryptlib.c: In function ‘OPENSSL_stderr’: cryptlib.c:758: error: ‘stderr’ undeclared (first use in this function) make[1]: *** [cryptlib.o] Error 1 make[1]: Leaving directory `/opt/software/openssl-0.9.8i/crypto' make: *** [build_crypto] Error 1
Please advise how I can fix this ??
| [EMAIL PROTECTED]:/opt/software/openssl-0.9.8i$ sudo make making all in crypto... make[1]: Entering directory `/opt/software/openssl-0.9.8i/crypto' ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \ echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM"'; \ echo ' #define PLATFORM "linux-elf"'; \ echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ echo '#endif' ) >buildinf.h gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o cryptlib.o cryptlib.c In file included from cryptlib.c:117: cryptlib.h:62:20: error: stdlib.h: No such file or directory cryptlib.h:63:20: error: string.h: No such file or directory In file included from cryptlib.h:65, from cryptlib.c:117: ../e_os.h:412:30: error: unistd.h: No such file or directory ../e_os.h:417:29: error: sys/types.h: No such file or directory In file included from cryptlib.h:72, from cryptlib.c:117: ../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory In file included from cryptlib.h:72, from cryptlib.c:117: ../include/openssl/crypto.h:175: error: expected specifier-qualifier-list before ‘size_t’ ../include/openssl/crypto.h:442: warning: parameter names (without types) in function declaration ../include/openssl/crypto.h:442: error: expected declaration specifiers or ‘...’ before ‘size_t’ ../include/openssl/crypto.h:443: warning: parameter names (without types) in function declaration ../include/openssl/crypto.h:444: error: expected ‘)’ before ‘const’ ../include/openssl/crypto.h:445: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ ../include/openssl/crypto.h:447: error: expected ‘)’ before ‘const’ ../include/openssl/crypto.h:448: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ ../include/openssl/crypto.h:454: warning: parameter names (without types) in function declaration ../include/openssl/crypto.h:454: error: expected declaration specifiers or ‘...’ before ‘size_t’ ../include/openssl/crypto.h:455: warning: parameter names (without types) in function declaration ../include/openssl/crypto.h:456: error: expected ‘)’ before ‘const’ ../include/openssl/crypto.h:457: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ ../include/openssl/crypto.h:459: error: expected ‘)’ before ‘const’ ../include/openssl/crypto..h:460: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ ../include/openssl/crypto.h:476: error: expected declaration specifiers or ‘...’ before ‘size_t’ ../include/openssl/crypto.h:511: error: expected ‘)’ before ‘*’ token In file included from cryptlib.h:74, from cryptlib.c:117: ../include/openssl/bio.h:568: error: expected ‘)’ before ‘*’ token ../include/openssl/bio.h:645: error: expected ‘)’ before ‘*’ token ../include/openssl/bio.h:646: error: expected ‘)’ before ‘*’ token In file included from ../include/openssl/err.h:74, from cryptlib.h:75, from cryptlib.c:117: ../include/openssl/lhash.h:185: error: expected declaration specifiers or ‘...’ before ‘FILE’ ../include/openssl/lhash.h:186: error: expected declaration specifiers or ‘...’ before ‘FILE’ ../include/openssl/lhash.h:187: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from cryptlib.h:75, from cryptlib.c:117: ../include/openssl/err.h:87:19: error: errno.h: No such file or directory In file included from cryptlib.h:75, from cryptlib.c:117: ../include/openssl/err.h:283: error: expected ‘)’ before ‘*’ token cryptlib.c: In function ‘CRYPTO_thread_id’: cryptlib.c:440: warning: implicit declaration of function ‘getpid’ cryptlib.c: In function ‘OPENSSL_cpuid_setup’: cryptlib.c:559: warning: implicit declaration of function ‘getenv’ cryptlib.c:559: warning: assignment makes pointer from integer without a cast cryptlib.c:560: warning: implicit declaration of function ‘strtoul’ cryptlib.c: In function ‘OPENSSL_showfatal’: cryptlib.c:744: warning: implicit declaration of function ‘vfprintf’ cryptlib.c:744: error: ‘stderr’ undeclared (first use in this function) cryptlib.c:744: error: (Each undeclared identifier is reported only once cryptlib.c:744: error: for each function it appears in.) cryptlib.c: In function ‘OpenSSLDie’: cryptlib.c:755: warning: implicit declaration of function ‘abort’ cryptlib.c:755: warning: incompatible implicit declaration of built-in function ‘abort’ cryptlib.c: In function ‘OPENSSL_stderr’: cryptlib.c:758: error: ‘stderr’ undeclared (first use in this function) make[1]: *** [cryptlib.o] Error 1 make[1]: Leaving directory `/opt/software/openssl-0.9..8i/crypto' make: *** [build_crypto] Error 1 Please advise how I can fix this ?? |
