Subject: make build error - usr.bin/openssl
To: None <current-users@netbsd.org>
From: Chan Yiu Wah <c5666305@hkstar.com>
List: current-users
Date: 06/19/2000 05:56:19
Hello,

When I tried to make build with source upto Jun 17, 2000, my system (i386)
reported the following error. Any idea ?  Thanks.

Clarence

======= ERROR =======
cc   -o openssl openssl.o verify.o asn1pars.o req.o dgst.o dh.o enc.o gendh.o gendsa.o errstr.o ca.o pkcs12.o pkcs7.o pkcs8.o crl2p7.o crl.o dsa.o dsaparam.o x509.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o version.o sess_id.o ciphers.o nseq.o rsa.o genrsa.o -lssl -lcrypto
req.o: In function `req_main':
req.o(.text+0xc72): undefined reference to `RSA_generate_key'
gendsa.o: In function `gendsa_main':
gendsa.o(.text+0x170): undefined reference to `EVP_idea_cbc'
pkcs12.o: In function `pkcs12_main':
pkcs12.o(.text+0x334): undefined reference to `EVP_idea_cbc'
pkcs7.o: In function `pkcs7_main':
pkcs7.o(.text+0x1e4): undefined reference to `EVP_idea_cbc'
x509.o: In function `load_key':
x509.o(.text+0x1ca2): undefined reference to `d2i_RSAPrivateKey_bio'
x509.o(.text+0x1cca): undefined reference to `RSA_free'
s_server.o: In function `s_server_main':
s_server.o(.text+0x7bc): undefined reference to `SSLv2_server_method'
s_server.o(.text+0xa7f): undefined reference to `SSL_CTX_set_tmp_rsa_callback'
s_server.o: In function `tmp_rsa_cb':
s_server.o(.text+0x1de5): undefined reference to `RSA_generate_key'
s_client.o: In function `s_client_main':
s_client.o(.text+0x598): undefined reference to `SSLv2_client_method'
speed.o: In function `speed_main':
speed.o(.text+0x670): undefined reference to `RSA_PKCS1_SSLeay'
speed.o(.text+0x676): undefined reference to `RSA_set_default_method'
speed.o(.text+0xa65): undefined reference to `d2i_RSAPrivateKey'
speed.o(.text+0xb04): undefined reference to `idea_set_encrypt_key'
speed.o(.text+0xb59): undefined reference to `RC5_32_set_key'
speed.o(.text+0x1493): undefined reference to `idea_cbc_encrypt'
speed.o(.text+0x1663): undefined reference to `RC5_32_cbc_encrypt'
speed.o(.text+0x18ee): undefined reference to `RSA_private_encrypt'
speed.o(.text+0x1982): undefined reference to `RSA_private_encrypt'
speed.o(.text+0x1a46): undefined reference to `RSA_public_decrypt'
speed.o(.text+0x1ab5): undefined reference to `RSA_public_decrypt'
speed.o(.text+0x1f32): undefined reference to `idea_options'
speed.o(.text+0x229f): undefined reference to `RSA_free'
s_time.o: In function `parseArgs':
s_time.o(.text+0x3c4): undefined reference to `SSLv2_client_method'
version.o: In function `version_main':
version.o(.text+0x226): undefined reference to `idea_options'
ciphers.o: In function `ciphers_main':
ciphers.o(.text+0xd4): undefined reference to `SSLv2_client_method'
rsa.o: In function `rsa_main':
rsa.o(.text+0x3ad): undefined reference to `d2i_RSAPrivateKey_bio'
rsa.o(.text+0x427): undefined reference to `d2i_Netscape_RSA'
rsa.o(.text+0x457): undefined reference to `PEM_read_bio_RSAPrivateKey'
rsa.o(.text+0x4ca): undefined reference to `RSA_print'
rsa.o(.text+0x539): undefined reference to `RSA_check_key'
rsa.o(.text+0x5fc): undefined reference to `i2d_RSAPrivateKey_bio'
rsa.o(.text+0x620): undefined reference to `i2d_Netscape_RSA'
rsa.o(.text+0x64b): undefined reference to `i2d_Netscape_RSA'
rsa.o(.text+0x695): undefined reference to `PEM_write_bio_RSAPrivateKey'
rsa.o(.text+0x712): undefined reference to `RSA_free'
genrsa.o: In function `genrsa_main':
genrsa.o(.text+0x1d8): undefined reference to `EVP_idea_cbc'
genrsa.o(.text+0x3fb): undefined reference to `RSA_generate_key'
genrsa.o(.text+0x483): undefined reference to `PEM_write_bio_RSAPrivateKey'
genrsa.o(.text+0x4a9): undefined reference to `RSA_free'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
======= ERROR =======