From: Stephane R. <re...@ya...> - 2005-08-22 09:24:43
|
Hi all, I got the same behaviour described (i.e. make fails), but due to other refrenced functions missing : ./configure --enable-dpd --with-kernel-headers=/lib/modules/2.6.12.4/build/include --disable-ipv6 --with-openssl=/home/distrib/openssl-0.9.7g [...] [root@prox-csn ipsec-tools-0.6.1]# make [..] /bin/sh ../../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -DSYSCONFDIR=\"/usr/local/etc\" -DADMINPORTDIR=\"/usr/local/var/racoon\" -g -O2 -Wall -Wno-unused -lcrypto -o eaytest eaytest.o plog.o logger.o crypto_openssl_test.o vmbuf.o str2val.o misc_noplog.o sha2.o -lcrypto -lresolv -L/home/distrib/openssl-0.9.7g/lib gcc -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -DSYSCONFDIR=\"/usr/local/etc\" -DADMINPORTDIR=\"/usr/local/var/racoon\" -g -O2 -Wall -Wno-unused -o eaytest eaytest.o plog.o logger.o crypto_openssl_test.o vmbuf.o str2val.o misc_noplog.o sha2.o -lcrypto -lresolv -L/home/distrib/openssl-0.9.7g/lib crypto_openssl_test.o: In function `evp_crypt': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1211: undefined reference to `EVP_CIPHER_CTX_set_padding' crypto_openssl_test.o: In function `eay_3des_weakkey': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1464: undefined reference to `DES_is_weak_key' /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1475: undefined reference to `DES_is_weak_key' /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1475: undefined reference to `DES_is_weak_key' crypto_openssl_test.o: In function `eay_aes_encrypt': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1593: undefined reference to `EVP_aes_192_cbc' /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1590: undefined reference to `EVP_aes_128_cbc' /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1596: undefined reference to `EVP_aes_256_cbc' crypto_openssl_test.o: In function `eay_aes_decrypt': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1593: undefined reference to `EVP_aes_192_cbc' /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1590: undefined reference to `EVP_aes_128_cbc' /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1596: undefined reference to `EVP_aes_256_cbc' crypto_openssl_test.o: In function `eay_hmacsha2_512_final': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1725: undefined reference to `HMAC_CTX_cleanup' crypto_openssl_test.o: In function `eay_hmacsha2_384_final': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1782: undefined reference to `HMAC_CTX_cleanup' crypto_openssl_test.o: In function `eay_hmacsha2_256_final': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1839: undefined reference to `HMAC_CTX_cleanup' crypto_openssl_test.o: In function `eay_hmacsha1_final': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1897: undefined reference to `HMAC_CTX_cleanup' crypto_openssl_test.o: In function `eay_hmacmd5_final': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1954: undefined reference to `HMAC_CTX_cleanup' crypto_openssl_test.o: In function `eay_init': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:2427: undefined reference to `OPENSSL_add_all_algorithms_noconf' /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:2430: undefined reference to `ENGINE_load_builtin_engines' crypto_openssl_test.o: In function `eay_des_weakkey': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:1266: undefined reference to `DES_is_weak_key' crypto_openssl_test.o: In function `eay_init': /home/distrib/ipsec-tools-0.6.1/src/racoon/crypto_openssl.c:2431: undefined reference to `ENGINE_register_all_complete' collect2: ld returned 1 exit status make[3]: *** [eaytest] Error 1 make[3]: Leaving directory `/home/distrib/ipsec-tools-0.6.1/src/racoon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/distrib/ipsec-tools-0.6.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/distrib/ipsec-tools-0.6.1' make: *** [all] Error 2 My params : [root@prox-csn ipsec-tools-0.6.1]# openssl version OpenSSL 0.9.7g 11 Apr 2005 [root@prox-csn ipsec-tools-0.6.1]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) [root@prox-csn ipsec-tools-0.6.1]# libtool --version ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37) [root@prox-csn ipsec-tools-0.6.1]# uname -a Linux prox-csn 2.6.12.4 #1 Fri Aug 19 16:48:20 CEST 2005 i686 i686 i386 GNU/Linux (I'v got the same errors with ipsec-tools 6.0 as well and newer release of openssl). I checked that all functions are dclared in openssl : [root@prox-csn ipsec-tools-0.6.1]# egrep -R "EVP_CIPHER_CTX_set_padding" /home/distrib/openssl-0.9.7g/ [..] /home/distrib/openssl-0.9.7g/crypto/evp/evp_enc.c:int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *ctx, int pad) /home/distrib/openssl-0.9.7g/crypto/evp/evp.h:int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad); /home/distrib/openssl-0.9.7g/doc/crypto/EVP_EncryptInit.pod:EVP_CIPHER_CTX_set_padding - EVP cipher routines /home/distrib/openssl-0.9.7g/include/openssl/evp.h:int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad); [..] Any ideas ?? Thanks, Stephane ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |