Erreur lors de la compilation de openssl

Fermé
c.abdelahad Messages postés 9 Date d'inscription mercredi 13 mai 2009 Statut Membre Dernière intervention 25 mai 2009 - 13 mai 2009 à 00:42
aka Shiva Messages postés 57 Date d'inscription samedi 25 avril 2009 Statut Membre Dernière intervention 14 mai 2009 - 13 mai 2009 à 00:57
Bonjour,

svp j'ai rencontré un probleme lors de la compilation de openssl :

voici les etape que j'ai suivi :
1) Configuration de l'installation
[root@Chraibi openssl-0.9.8k]# ./config --prefix=/usr/local/openssl-0.9.8k shared

[quote]Operating system: i686-whatever-linux2
Configuring for linux-elf
Configuring for linux-elf
no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir)
no-capieng [default] OPENSSL_NO_CAPIENG (skip dir)
no-cms [default] OPENSSL_NO_CMS (skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir)
no-montasm [default]
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir)
no-seed [default] OPENSSL_NO_SEED (skip dir)
no-zlib [default]
no-zlib-dynamic [default]
[…]
generating dummy tests (if needed)...
make[1]: entrant dans le répertoire « /home/chraibi-talbi/openssl-0.9.8k/test »
make[1]: Rien à faire pour « generate ».
make[1]: quittant le répertoire « /home/chraibi-talbi/openssl-0.9.8k/test »

Configured for linux-elf./quote

2 ) lancer la compilation
[root@Chraibi openssl-0.9.8k]# make
l'erreur est vers la fin du resultat!!
[quote]if [ -n "" ]; then \
EXCL_OBJ='ax86-elf.o bn86-elf.o co86-elf.o dx86-elf.o yx86-elf.o x86cpuid-elf.o sx86-elf.o s512sse2-elf.o ../crypto/aes/aes_cfb.o ../crypto/aes/aes_ecb.o ../crypto/aes/aes_ofb.o ../crypto/bn/bn_add.o ../crypto/bn/bn_blind.o ../crypto/bn/bn_ctx.o ../crypto/bn/bn_div.o ../crypto/bn/bn_exp2.o ../crypto/bn/bn_exp.o ../crypto/bn/bn_gcd.o ../crypto/bn/bn_lib.o ../crypto/bn/bn_mod.o ../crypto/bn/bn_mont.o ../crypto/bn/bn_mul.o ../crypto/bn/bn_prime.o ../crypto/bn/bn_rand.o ../crypto/bn/bn_recp.o ../crypto/bn/bn_shift.o ../crypto/bn/bn_sqr.o ../crypto/bn/bn_word.o ../crypto/bn/bn_x931p.o ../crypto/buffer/buf_str.o ../crypto/cryptlib.o ../crypto/des/cfb64ede.o ../crypto/des/cfb64enc.o ../crypto/des/cfb_enc.o ../crypto/des/ecb3_enc.o ../crypto/des/ecb_enc.o ../crypto/des/ofb64ede.o ../crypto/des/ofb64enc.o ../crypto/des/fcrypt.o ../crypto/des/set_key.o ../crypto/dsa/dsa_utl.o ../crypto/dsa/dsa_sign.o ../crypto/dsa/dsa_vrf.o ../crypto/err/err.o ../crypto/evp/digest.o ../crypto/evp/enc_min.o ../crypto/evp/e_aes.o ../crypto/evp/e_des3.o ../crypto/evp/p_sign.o ../crypto/evp/p_verify.o ../crypto/mem_clr.o ../crypto/mem.o ../crypto/rand/md_rand.o ../crypto/rand/rand_egd.o ../crypto/rand/randfile.o ../crypto/rand/rand_lib.o ../crypto/rand/rand_os2.o ../crypto/rand/rand_unix.o ../crypto/rand/rand_win.o ../crypto/rsa/rsa_lib.o ../crypto/rsa/rsa_none.o ../crypto/rsa/rsa_oaep.o ../crypto/rsa/rsa_pk1.o ../crypto/rsa/rsa_pss.o ../crypto/rsa/rsa_ssl.o ../crypto/rsa/rsa_x931.o ../crypto/sha/sha1dgst.o ../crypto/sha/sha256.o ../crypto/sha/sha512.o ../crypto/uid.o' ; export EXCL_OBJ ; \
ARX='/usr/bin/perl5 ${TOP}/util/arx.pl ar r' ; \
else \
ARX='ar r' ; \
fi ; export ARX ; \
dir=crypto; target=all; if echo " crypto ssl engines apps test tools " | grep " $dir " >/dev/null 2>/dev/null; then if [ -d "$dir" ]; then ( [ $target != all -a -z "" ] && FIPSCANLIB=/dev/null; cd $dir && echo "making $target in $dir..." && TOP= && unset TOP ${LIB+LIB} ${LIBS+LIBS} ${INCLUDE+INCLUDE} ${INCLUDES+INCLUDES} ${DIR+DIR} ${DIRS+DIRS} ${SRC+SRC} ${LIBSRC+LIBSRC} ${LIBOBJ+LIBOBJ} ${ALL+ALL} ${EXHEADER+EXHEADER} ${HEADER+HEADER} ${GENERAL+GENERAL} ${CFLAGS+CFLAGS} ${ASFLAGS+ASFLAGS} ${AFLAGS+AFLAGS} ${LDCMD+LDCMD} ${LDFLAGS+LDFLAGS} ${SHAREDCMD+SHAREDCMD} ${SHAREDFLAGS+SHAREDFLAGS} ${SHARED_LIB+SHARED_LIB} ${LIBEXTRAS+LIBEXTRAS} && make -e PLATFORM='linux-elf' PROCESSOR='' CC='gcc' CFLAG='-fPIC -DOPENSSL_PIC -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' AS='gcc' ASFLAG='-fPIC -DOPENSSL_PIC -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' AR='ar r' PERL='/usr/bin/perl5' RANLIB='/usr/bin/ranlib' SDIRS='objects md2 md4 md5 sha hmac ripemd des aes rc2 rc4 idea bf cast bn ec rsa dsa ecdsa dh ecdh dso engine buffer bio stack lhash rand err evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5 store pqueue' LIBRPATH='/usr/local/openssl-0.9.8k/lib' INSTALL_PREFIX='' INSTALLTOP='/usr/local/openssl-0.9.8k' OPENSSLDIR='/usr/local/openssl-0.9.8k/ssl' MAKEDEPEND='$${TOP}/util/domd $${TOP} -MD gcc' DEPFLAG='-DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED' MAKEDEPPROG='gcc' SHARED_LDFLAGS='' KRB5_INCLUDES='' LIBKRB5='' EXE_EXT='' SHARED_LIBS=' libcrypto.so.0.9.8 libssl.so.0.9.8' SHLIB_EXT='.so.0.9.8' SHLIB_TARGET='linux-shared' PEX_LIBS='' EX_LIBS='-ldl' CPUID_OBJ='x86cpuid-elf.o' BN_ASM='bn86-elf.o co86-elf.o ' DES_ENC='dx86-elf.o yx86-elf.o' AES_ASM_OBJ='ax86-elf.o' BF_ENC='bx86-elf.o' CAST_ENC='c_enc.o' RC4_ENC='rx86-elf.o rc4_skey.o' RC5_ENC='r586-elf.o' SHA1_ASM_OBJ='sx86-elf.o s512sse2-elf.o' MD5_ASM_OBJ='mx86-elf.o' RMD160_ASM_OBJ='rm86-elf.o' FIPSLIBDIR='/usr/local/ssl/fips-1.0/lib/' FIPSCANLIB="${FIPSCANLIB:-}" FIPSCANISTERINTERNAL='n' FIPS_EX_OBJ='../crypto/aes/aes_cfb.o ../crypto/aes/aes_ecb.o ../crypto/aes/aes_ofb.o ../crypto/bn/bn_add.o ../crypto/bn/bn_blind.o ../crypto/bn/bn_ctx.o ../crypto/bn/bn_div.o ../crypto/bn/bn_exp2.o ../crypto/bn/bn_exp.o ../crypto/bn/bn_gcd.o ../crypto/bn/bn_lib.o ../crypto/bn/bn_mod.o ../crypto/bn/bn_mont.o ../crypto/bn/bn_mul.o ../crypto/bn/bn_prime.o ../crypto/bn/bn_rand.o ../crypto/bn/bn_recp.o ../crypto/bn/bn_shift.o ../crypto/bn/bn_sqr.o ../crypto/bn/bn_word.o ../crypto/bn/bn_x931p.o ../crypto/buffer/buf_str.o ../crypto/cryptlib.o ../crypto/des/cfb64ede.o ../crypto/des/cfb64enc.o ../crypto/des/cfb_enc.o ../crypto/des/ecb3_enc.o ../crypto/des/ecb_enc.o ../crypto/des/ofb64ede.o ../crypto/des/ofb64enc.o ../crypto/des/fcrypt.o ../crypto/des/set_key.o ../crypto/dsa/dsa_utl.o ../crypto/dsa/dsa_sign.o ../crypto/dsa/dsa_vrf.o ../crypto/err/err.o ../crypto/evp/digest.o ../crypto/evp/enc_min.o ../crypto/evp/e_aes.o ../crypto/evp/e_des3.o ../crypto/evp/p_sign.o ../crypto/evp/p_verify.o ../crypto/mem_clr.o ../crypto/mem.o ../crypto/rand/md_rand.o ../crypto/rand/rand_egd.o ../crypto/rand/randfile.o ../crypto/rand/rand_lib.o ../crypto/rand/rand_os2.o ../crypto/rand/rand_unix.o ../crypto/rand/rand_win.o ../crypto/rsa/rsa_lib.o ../crypto/rsa/rsa_none.o ../crypto/rsa/rsa_oaep.o ../crypto/rsa/rsa_pk1.o ../crypto/rsa/rsa_pss.o ../crypto/rsa/rsa_ssl.o ../crypto/rsa/rsa_x931.o ../crypto/sha/sha1dgst.o ../crypto/sha/sha256.o ../crypto/sha/sha512.o ../crypto/uid.o' THIS=${THIS:-build_crypto} MAKEFILE=Makefile MAKEOVERRIDES= TOP=.. DIR=$dir $target ) || exit 1; fi; fi
making all in crypto...
make[1]: entrant dans le répertoire « /home/chraibi-talbi/openssl-0.9.8k/crypto »
( echo "#ifndef MK1MF_BUILD"; \
[...]
bn_asm.c:(.text+0x65f): multiple definition of `bn_mul_comba8'
libcrypto.a(co86-elf.o):co-586.s:(.text+0x0): first defined here
libcrypto.a(bn_asm.o): In function `bn_mul_comba4':
bn_asm.c:(.text+0x2416): multiple definition of `bn_mul_comba4'
libcrypto.a(co86-elf.o):co-586.s:(.text+0x450): first defined here
libcrypto.a(bn_asm.o): In function `bn_sqr_comba8':
bn_asm.c:(.text+0x2afd): multiple definition of `bn_sqr_comba8'
libcrypto.a(co86-elf.o):co-586.s:(.text+0x590): first defined here
libcrypto.a(bn_asm.o): In function `bn_sqr_comba4':
bn_asm.c:(.text+0x3c45): multiple definition of `bn_sqr_comba4'
libcrypto.a(co86-elf.o):co-586.s:(.text+0x8c0): first defined here
libcrypto.a(bn_asm.o): In function `bn_div_words':
bn_asm.c:(.text+0x3fea): multiple definition of `bn_div_words'
libcrypto.a(bn86-elf.o):bn-586.s:(.text+0x4f0): first defined here
[color=red]collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [link_a.gnu] Erreur 1
make[2]: quittant le répertoire « /home/chraibi-talbi/openssl-0.9.8k »
make[1]: *** [do_linux-shared] Erreur 2
make[1]: quittant le répertoire « /home/chraibi-talbi/openssl-0.9.8k »
make: *** [libcrypto.so.0.9.8] Erreur 2/color
/quote
A voir également:

1 réponse

aka Shiva Messages postés 57 Date d'inscription samedi 25 avril 2009 Statut Membre Dernière intervention 14 mai 2009 13
13 mai 2009 à 00:57
Bonsoir,
ces erreurs là sont fréquemment dûs à des problèmes de dépendances pour la compilation. Es-tu sûr qu'elles sont toutes satisfaites d'après le README en ce qui concerne les biblios requises et leurs versions ?
0