hi,
When i run ./config in openssl dir. everything seems fine but once i issue 'make' i get errors. Could someone please tell me what could be wrong and how i could fix this? Thanks! ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ debian-3:/home/cookie/openssl-0.9.8d# make making all in crypto... make[1]: Entering directory `/home/cookie/openssl-0.9.8d/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_AS M_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_DLFC N_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WOR DS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o crypt lib.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:392:30: error: unistd.h: No such file or directory ../e_os.h:397:29: error: sys/types.h: No such file or directory ../e_os.h:624:25: error: strings.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 fun ction 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 fun ction 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 fun ction 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 fun ction 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:562: error: expected â)â before â*â token ../include/openssl/bio.h:639: error: expected â)â before â*â token ../include/openssl/bio.h:640: 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:279: error: expected â)â before â*â token cryptlib.c: In function âCRYPTO_get_new_dynlockidâ: cryptlib.c:280: warning: value computed is not used cryptlib.c: In function âCRYPTO_destroy_dynlockidâ: cryptlib.c:322: warning: value computed is not used 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 `/home/cookie/openssl-0.9.8d/crypto' make: *** [build_crypto] Error 1 debian-3:/home/cookie/openssl-0.9.8d#