Hello,
I try to compile openssl 0.9.5 on linux-elf, and I've that error msg :
making all in crypto...
make[1]: Entering directory `/home/usr80/src/openssl-0.9.5/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 -m
486 -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-f
rame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c
cryptlib.c -o cryptlib.o
cryptlib.c:98: #error "Inconsistency between crypto.h and cryptlib.c"
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/home/usr80/src/openssl-0.9.5/crypto'
make: *** [all] Error 1
---
As I'm not a very great C programmer, I've just looked at cryptlib.c for
source of the error message :
/* real #defines in crypto.h, keep these upto date */
static const char* lock_names[CRYPTO_NUM_LOCKS] =
{
"<<ERROR>>",
"err",
"err_hash",
"x509",
"x509_info",
"x509_pkey",
"x509_crl",
"x509_req",
"dsa",
"rsa",
"evp_pkey",
"x509_store",
"ssl_ctx",
"ssl_cert",
"ssl_session",
"ssl_sess_cert",
"ssl",
"rand",
"debug_malloc",
"BIO",
"gethostbyname",
"getservbyname",
"readdir",
"RSA_blinding",
"dh",
"debug_malloc2",
#if CRYPTO_NUM_LOCKS != 26
# error "Inconsistency between crypto.h and cryptlib.c"
#endif
};
---------
Can someone give me an idea what to do / change or where to search for fix
that problem ?
Thanks !
rudi
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]