What does your configure command line look like? Did you disable AES or DES perhaps?
-Tom From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of aram_baghom...@hushmail.com Sent: Sunday, March 04, 2012 8:39 AM To: openssl-users@openssl.org Subject: openssl compile time error Hi, When i want to compile my openssl package it send me this error. ... shlib_target=; if [ -n "" ]; then shlib_target="dlfcn"; fi; LIBRARIES="-L.. -lssl -L.. -lcrypto" ; make -f ../Makefile.shared -e APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o" LIBDEPS=" $LIBRARIES " link_app.${shlib_target} ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_ELF -Wa,--noexecstack -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o ${LIBDEPS} ) passwd.o(.text+0x69c): In function `do_passwd': : undefined reference to `DES_crypt' speed.o(.text+0xdbc): In function `speed_main': : undefined reference to `DES_set_key_unchecked' speed.o(.text+0xdd3): In function `speed_main': : undefined reference to `DES_set_key_unchecked' speed.o(.text+0xdea): In function `speed_main': : undefined reference to `DES_set_key_unchecked' speed.o(.text+0x540b): In function `speed_main': : undefined reference to `DES_options' version.o(.text+0x23e): In function `version_main': : undefined reference to `DES_options' ../libcrypto.a(wp_block.o)(.text+0xe64): In function `whirlpool_block': : undefined reference to `whirlpool_block_mmx' ../libcrypto.a(aes_ige.o)(.text+0x180): In function `AES_bi_ige_encrypt': : undefined reference to `AES_decrypt' ../libcrypto.a(aes_ige.o)(.text+0x307): In function `AES_bi_ige_encrypt': : undefined reference to `AES_decrypt' ../libcrypto.a(aes_ige.o)(.text+0x4d5): In function `AES_bi_ige_encrypt': : undefined reference to `AES_encrypt' ../libcrypto.a(aes_ige.o)(.text+0x630): In function `AES_bi_ige_encrypt': : undefined reference to `AES_encrypt' ../libcrypto.a(aes_ige.o)(.text+0x803): In function `AES_ige_encrypt': ... what's wrong? thanks.