Skip to content

Instantly share code, notes, and snippets.

@tav
Created July 28, 2010 16:56
Show Gist options
  • Save tav/495266 to your computer and use it in GitHub Desktop.
Save tav/495266 to your computer and use it in GitHub Desktop.
GCC Version: gcc (Debian 4.3.2-1.1) 4.3.2
make[1]: Entering directory `/home/tav/openssl/openssl/apps'
rm -f openssl
shlib_target=; if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
shlib_target="linux-shared"; \
elif [ -n "" ]; then \
FIPSLD_CC="gcc"; CC=../fips/fipsld; export CC FIPSLD_CC; \
fi; \
LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \
[ "x" = "xlibfips" ] && LIBRARIES="$LIBRARIES -lfips"; \
make -f ../Makefile.shared -e \
CC="${CC}" 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 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 engine.o ocsp.o prime.o cms.o" \
LIBDEPS=" $LIBRARIES -ldl -lz" \
link_app.${shlib_target}
make[2]: Entering directory `/home/tav/openssl/openssl/apps'
../libssl.so: undefined reference to `fnv1a64_update'
../libssl.so: undefined reference to `fnv1a64_init'
../libssl.so: undefined reference to `fnv1a64_final'
collect2: ld returned 1 exit status
make[2]: *** [link_app.gnu] Error 1
make[2]: Leaving directory `/home/tav/openssl/openssl/apps'
make[1]: *** [openssl] Error 2
make[1]: Leaving directory `/home/tav/openssl/openssl/apps'
make: *** [build_apps] Error 1
GCC Version: i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5574)
ar r ../libssl.a s2_meth.o s2_srvr.o s2_clnt.o s2_lib.o s2_enc.o s2_pkt.o s3_meth.o s3_srvr.o s3_clnt.o s3_lib.o s3_enc.o s3_pkt.o s3_both.o s23_meth.o s23_srvr.o s23_clnt.o s23_lib.o s23_pkt.o t1_meth.o t1_srvr.o t1_clnt.o t1_lib.o t1_enc.o d1_meth.o d1_srvr.o d1_clnt.o d1_lib.o d1_pkt.o d1_both.o d1_enc.o ssl_lib.o ssl_err2.o ssl_cert.o ssl_sess.o ssl_ciph.o ssl_stat.o ssl_rsa.o ssl_asn1.o ssl_txt.o ssl_algs.o bio_ssl.o ssl_err.o kssl.o t1_reneg.o
ar: creating archive ../libssl.a
/usr/bin/ranlib ../libssl.a || echo Never mind.
/usr/bin/ranlib: file: ../libssl.a(kssl.o) has no symbols
Undefined symbols:
"_fnv1a64_update", referenced from:
_ssl3_send_server_certificate in libssl.a(s3_srvr.o)
_ssl3_finish_mac in libssl.a(s3_enc.o)
"_fnv1a64_init", referenced from:
_ssl3_send_server_certificate in libssl.a(s3_srvr.o)
_ssl_parse_clienthello_tlsext in libssl.a(t1_lib.o)
"_fnv1a64_final", referenced from:
_ssl3_send_server_certificate in libssl.a(s3_srvr.o)
_ssl3_snap_start_evaluate_handshake in libssl.a(s3_srvr.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [link_a.darwin] Error 1
make[1]: *** [do_darwin-shared] Error 2
make: *** [libssl.0.9.8.dylib] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment