Hi,

Obviously I'm missing a library of some sort. First error is
genrsa.o(.text+0x1e7): undefined reference to `EVP_idea_cbc'
Any suggestions?


OpenSSL self-test report:

OpenSSL version:  0.9.5a
Last change:      Make sure _lrotl and _lrotr are only used with MSVC....
OS (uname):       Linux TheSource.dufferinresearch.com 2.2.19-6.2.1smp #1 
SMP Mon Apr 9 22:44:36 EDT 2001 i686 unknown
OS (config):      i686-whatever-linux2
Target (default): linux-elf
Target:           linux-elf
Compiler:         gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Failure!
-----------------------------------------------------------------------------
make[1]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a'
making all in crypto...
make[2]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/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 -m486 -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-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o 
cversion.o cversion.c
ar r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o 
tmdiff.o cpt_err.o ebcdic.o
/usr/bin/ranlib ../libcrypto.a
making all in crypto/md2...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/md2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/md2'
making all in crypto/md5...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/md5'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/md5'
making all in crypto/sha...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/sha'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/sha'
making all in crypto/mdc2...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/mdc2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/mdc2'
making all in crypto/hmac...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/hmac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/hmac'
making all in crypto/ripemd...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/ripemd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/ripemd'
making all in crypto/des...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/des'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/des'
making all in crypto/rc2...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rc2'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rc2'
making all in crypto/rc4...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rc4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rc4'
making all in crypto/rc5...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rc5'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rc5'
making all in crypto/idea...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/idea'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/idea'
making all in crypto/bf...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/bf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/bf'
making all in crypto/cast...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/cast'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/cast'
making all in crypto/bn...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/bn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/bn'
making all in crypto/rsa...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rsa'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rsa'
making all in crypto/dsa...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/dsa'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/dsa'
making all in crypto/dh...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/dh'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/dh'
making all in crypto/buffer...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/buffer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/buffer'
making all in crypto/bio...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/bio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/bio'
making all in crypto/stack...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/stack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/stack'
making all in crypto/lhash...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/lhash'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/lhash'
making all in crypto/rand...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rand'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/rand'
making all in crypto/err...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/err'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/err'
making all in crypto/objects...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/objects'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/objects'
making all in crypto/evp...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/evp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/evp'
making all in crypto/asn1...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/asn1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/asn1'
making all in crypto/pem...
make[3]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/pem'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/pem'
making all in crypto/x509...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/x509'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/x509'
making all in crypto/x509v3...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/x509v3'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/x509v3'
making all in crypto/conf...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/conf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/conf'
making all in crypto/txt_db...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/txt_db'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/txt_db'
making all in crypto/pkcs7...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/pkcs7'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/pkcs7'
making all in crypto/pkcs12...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/pkcs12'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/pkcs12'
making all in crypto/comp...
make[3]: Entering directory 
`/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/comp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto/comp'
make[2]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/crypto'
making all in ssl...
make[2]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/ssl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/ssl'
making all in rsaref...
make[2]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/rsaref'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/rsaref'
making all in apps...
make[2]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/apps'
rm -f openssl
gcc -o openssl -DMONOLITH -I../include -DTHREADS -D_REENTRANT -DL_ENDIAN 
-DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM 
-DRMD160_ASM 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 dsa.o 
dsaparam.o x509.o genrsa.o gendsa.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 spkac.o smime.o rand.o -L. -L.. -L../.. -L../../.. -L.. 
-lssl -L.. -lcrypto
genrsa.o: In function `genrsa_main':
genrsa.o(.text+0x1e7): undefined reference to `EVP_idea_cbc'
gendsa.o: In function `gendsa_main':
gendsa.o(.text+0x1b6): undefined reference to `EVP_idea_cbc'
speed.o: In function `speed_main':
speed.o(.text+0xbcd): undefined reference to `idea_set_encrypt_key'
speed.o(.text+0xc2e): undefined reference to `RC5_32_set_key'
speed.o(.text+0xd0d): undefined reference to `MD2'
speed.o(.text+0xe32): undefined reference to `MDC2'
speed.o(.text+0x17d6): undefined reference to `idea_cbc_encrypt'
speed.o(.text+0x1a36): undefined reference to `RC5_32_cbc_encrypt'
speed.o(.text+0x259b): undefined reference to `MD2_options'
speed.o(.text+0x25ce): undefined reference to `idea_options'
version.o: In function `version_main':
version.o(.text+0x22d): undefined reference to `MD2_options'
version.o(.text+0x260): undefined reference to `idea_options'
pkcs12.o: In function `pkcs12_main':
pkcs12.o(.text+0x34a): undefined reference to `EVP_idea_cbc'
../libssl.a(ssl_algs.o): In function `SSL_library_init':
ssl_algs.o(.text+0x17): undefined reference to `EVP_idea_cbc'
ssl_algs.o(.text+0x38): undefined reference to `EVP_md2'
../libcrypto.a(c_allc.o): In function `OpenSSL_add_all_ciphers':
c_allc.o(.text+0x127): undefined reference to `EVP_idea_ecb'
c_allc.o(.text+0x132): undefined reference to `EVP_idea_cfb'
c_allc.o(.text+0x13d): undefined reference to `EVP_idea_ofb'
c_allc.o(.text+0x14b): undefined reference to `EVP_idea_cbc'
c_allc.o(.text+0x2db): undefined reference to `EVP_rc5_32_12_16_ecb'
c_allc.o(.text+0x2e6): undefined reference to `EVP_rc5_32_12_16_cfb'
c_allc.o(.text+0x2f4): undefined reference to `EVP_rc5_32_12_16_ofb'
c_allc.o(.text+0x2ff): undefined reference to `EVP_rc5_32_12_16_cbc'
../libcrypto.a(c_alld.o): In function `OpenSSL_add_all_digests':
c_alld.o(.text+0x1): undefined reference to `EVP_md2'
c_alld.o(.text+0xd8): undefined reference to `EVP_mdc2'
../libcrypto.a(p5_crpt.o): In function `PKCS5_PBE_add':
p5_crpt.o(.text+0x1be): undefined reference to `EVP_md2'
p5_crpt.o(.text+0x212): undefined reference to `EVP_md2'
collect2: ld returned 1 exit status
make[2]: *** [openssl] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/apps'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a'
-----------------------------------------------------------------------------
make[1]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a'
Doing certs
ICE-CA.pem => 6bee6be3.0
ICE-root.pem => adbec561.0
ICE-user.pem => 3ecf89a3.0
ca-cert.pem => 1f6c59cd.0
dsa-ca.pem => 73912336.0
dsa-pca.pem => 24867d38.0
factory.pem => f3e90025.0
nortelCA.pem => 1ef89214.0
pca-cert.pem => 8caad35e.0
rsa-cca.pem => a99c5886.0
rsa-ssca.pem => f73e89fd.0
thawteCb.pem => ddc328ff.0
thawteCp.pem => c33a80d4.0
timCA.pem => 8c401b31.0
tjhCA.pem => 052eae11.0
vsign1.pem => 2edf7016.0
vsign2.pem => b5f329fa.0
vsign3.pem => 7651b327.0
vsignss.pem => f73e89fd.0
vsigntca.pem => 18d46017.0
touch rehash.time
testing...
make[2]: Entering directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/test'
gcc -I../include -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3 
-fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o 
bntest.o bntest.c
gcc -o bntest -I../include -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3 
-fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM bntest.o 
-L. -L.. -L../.. -L../../.. -L.. -lcrypto
gcc -I../include -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3 
-fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o 
ideatest.o ideatest.c
gcc -o ideatest -I../include -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3 
-fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM 
ideatest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
ideatest.o: In function `main':
ideatest.o(.text+0x24): undefined reference to `idea_set_encrypt_key'
ideatest.o(.text+0x34): undefined reference to `idea_ecb_encrypt'
ideatest.o(.text+0xf4): undefined reference to `idea_set_decrypt_key'
ideatest.o(.text+0x108): undefined reference to `idea_ecb_encrypt'
ideatest.o(.text+0x23a): undefined reference to `idea_cbc_encrypt'
ideatest.o(.text+0x262): undefined reference to `idea_cbc_encrypt'
ideatest.o(.text+0x2c9): undefined reference to `idea_cbc_encrypt'
ideatest.o: In function `cfb64_test':
ideatest.o(.text+0x3c7): undefined reference to `idea_set_encrypt_key'
ideatest.o(.text+0x3d6): undefined reference to `idea_set_decrypt_key'
ideatest.o(.text+0x410): undefined reference to `idea_cfb64_encrypt'
ideatest.o(.text+0x42d): undefined reference to `idea_cfb64_encrypt'
ideatest.o(.text+0x4b9): undefined reference to `idea_cfb64_encrypt'
ideatest.o(.text+0x4db): undefined reference to `idea_cfb64_encrypt'
collect2: ld returned 1 exit status
make[2]: *** [ideatest] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a/test'
make[1]: *** [tests] Error 2
make[1]: Leaving directory `/usr/src/redhat/SOURCES/openssl-0.9.5a'


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to