[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Can't build wget with GnuTLS on Mac OS X
From: |
桃源老師 |
Subject: |
[Bug-wget] Can't build wget with GnuTLS on Mac OS X |
Date: |
Sun, 6 Dec 2015 01:29:17 +0900 |
Hello,
I'm trying to build wget with GnuTLS on Mac OS X.
Version Info:
Mac OS X: 10.11.1 El Capitan
Xcode: 7.1.1
GMP: 6.1.0
Nettle: 3.1.1
GnuTLS: 3.4.7
Since I can build rtmpdump and ffmpeg with same GnuTLS library, I am currently
thinking install of GnuTLS might be succeeded.
But when I try to compile wget with GnuTLS, I get make error.
my configure statement:
$ export TARGET ="/Volumes/ffmpeg_compile"
$ LDFLAGS=-L${TARGET}/lib LIBS=-lgmp ./configure --prefix=${TAREGT}
The make error:
gcc -I/Volumes/ffmpeg_compile/include -DHAVE_LIBGNUTLS
-I/Volumes/ffmpeg_compile/include -DNDEBUG -L/Volumes/ffmpeg_compile/lib -o
wget connect.o convert.o cookies.o ftp.o css_.o css-url.o ftp-basic.o ftp-ls.o
hash.o host.o hsts.o html-parse.o html-url.o http.o init.o log.o main.o netrc.o
progress.o ptimer.o recur.o res.o retr.o spider.o url.o warc.o utils.o exits.o
build_info.o version.o ftp-opie.o gnutls.o http-ntlm.o ../lib/libgnu.a
/Volumes/ffmpeg_compile/lib/libiconv.a -lnettle -L/Volumes/ffmpeg_compile/lib
-lgnutls -L/Volumes/ffmpeg_compile/lib -lz -lgmp
Undefined symbols for architecture x86_64:
"_gnutls_protocol_set_priority", referenced from:
_ssl_connect_wget in gnutls.o
"_nettle_dsa_generate_params", referenced from:
_wrap_nettle_pk_generate_params in libgnutls.a(pk.o)
"_nettle_dsa_params_clear", referenced from:
_wrap_nettle_pk_generate_params in libgnutls.a(pk.o)
"_nettle_dsa_params_init", referenced from:
_wrap_nettle_pk_generate_params in libgnutls.a(pk.o)
"_nettle_dsa_sign", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
"_nettle_dsa_signature_clear", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
"_nettle_dsa_signature_init", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
"_nettle_dsa_verify", referenced from:
__wrap_nettle_pk_verify in libgnutls.a(pk.o)
"_nettle_ecc_point_clear", referenced from:
__wrap_nettle_pk_verify in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_pub_params in libgnutls.a(pk.o)
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_point_get", referenced from:
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_point_init", referenced from:
__wrap_nettle_pk_verify in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_pub_params in libgnutls.a(pk.o)
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_point_mul", referenced from:
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_point_mul_g", referenced from:
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
"_nettle_ecc_point_set", referenced from:
__wrap_nettle_pk_verify in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_pub_params in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_scalar_clear", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_scalar_get", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_ecc_scalar_init", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_scalar_set", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_size", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_ecc_size_a", referenced from:
_wrap_nettle_pk_verify_priv_params in libgnutls.a(pk.o)
"_nettle_ecdsa_generate_keypair", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_ecdsa_sign", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
"_nettle_ecdsa_verify", referenced from:
__wrap_nettle_pk_verify in libgnutls.a(pk.o)
"_nettle_mpz_get_str_256", referenced from:
_wrap_nettle_mpi_print in libgnutls.a(lt7-mpi.o)
__wrap_nettle_pk_derive in libgnutls.a(pk.o)
"_nettle_mpz_random", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_mpz_random_size", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_mpz_set_str_256_s", referenced from:
_wrap_nettle_mpi_scan in libgnutls.a(lt7-mpi.o)
"_nettle_mpz_set_str_256_u", referenced from:
_wrap_nettle_mpi_scan in libgnutls.a(lt7-mpi.o)
"_nettle_mpz_sizeinbase_256_s", referenced from:
_wrap_nettle_mpi_print in libgnutls.a(lt7-mpi.o)
"_nettle_mpz_sizeinbase_256_u", referenced from:
_wrap_nettle_mpi_print in libgnutls.a(lt7-mpi.o)
__wrap_nettle_pk_encrypt in libgnutls.a(pk.o)
__wrap_nettle_pk_decrypt in libgnutls.a(pk.o)
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
__wrap_nettle_pk_verify in libgnutls.a(pk.o)
__rsa_params_to_privkey in libgnutls.a(pk.o)
"_nettle_rsa_decrypt_tr", referenced from:
__wrap_nettle_pk_decrypt in libgnutls.a(pk.o)
"_nettle_rsa_encrypt", referenced from:
__wrap_nettle_pk_encrypt in libgnutls.a(pk.o)
"_nettle_rsa_generate_keypair", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_rsa_pkcs1_sign_tr", referenced from:
__wrap_nettle_pk_sign in libgnutls.a(pk.o)
"_nettle_rsa_pkcs1_verify", referenced from:
__wrap_nettle_pk_verify in libgnutls.a(pk.o)
"_nettle_rsa_private_key_clear", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_rsa_private_key_init", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_rsa_public_key_clear", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_rsa_public_key_init", referenced from:
_wrap_nettle_pk_generate_keys in libgnutls.a(pk.o)
"_nettle_secp_192r1", referenced from:
l_switch.table in libgnutls.a(pk.o)
"_nettle_secp_224r1", referenced from:
l_switch.table in libgnutls.a(pk.o)
"_nettle_secp_256r1", referenced from:
l_switch.table in libgnutls.a(pk.o)
"_nettle_secp_384r1", referenced from:
l_switch.table in libgnutls.a(pk.o)
"_nettle_secp_521r1", referenced from:
l_switch.table in libgnutls.a(pk.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [wget] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
How can I solve this error?
Please help me!!
Best Regards,
// Miya aka. TougenRoushi
smime.p7s
Description: S/MIME cryptographic signature
- [Bug-wget] Can't build wget with GnuTLS on Mac OS X,
桃源老師 <=