[OpenIndiana-discuss] Final dependancy library for VLC

russell stream at willows7.myzen.co.uk
Sun Mar 15 19:51:30 UTC 2015


Hi,

I have configured gnutls as follows :-

gnutls-3.3.13$ CC=gcc NETTLE_CFLAGS=-I/opt/gnu/include 
NETTLE_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib" 
HOGWEED_CFLAGS=-I/opt/gnu/include HOGWEED_LIBS="-L/opt/gnu/lib 
-R/opt/gnu/lib" P11_KIT_CFLAGS=-I/opt/gnu/include 
P11_KIT_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib" CPPFLAGS=-I/opt/gnu/include 
LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" ./configure --prefix=/opt/gnu 
--enable-shared --disable-static

However, during the compilation I get the following message

   CCLD     psktool
Undefined			first referenced
  symbol  			    in file
p11_kit_pin_get_length              ../lib/.libs/libgnutls.so
p11_kit_pin_register_callback       ../lib/.libs/libgnutls.so
nettle_gcm_aes_decrypt              ../lib/.libs/libgnutls.so
nettle_rsa_pkcs1_sign_tr            ../lib/.libs/libgnutls.so
nettle_ecc_scalar_set               ../lib/.libs/libgnutls.so
nettle_ecc_scalar_get               ../lib/.libs/libgnutls.so
nettle_sha512_digest                ../lib/.libs/libgnutls.so
nettle_sha384_digest                ../lib/.libs/libgnutls.so

nettle_umac128_update               ../lib/.libs/libgnutls.so
p11_kit_pin_unregister_callback     ../lib/.libs/libgnutls.so
nettle_ecc_point_clear              ../lib/.libs/libgnutls.so
nettle_hmac_sha256_update           ../lib/.libs/libgnutls.so
nettle_hmac_sha512_update           ../lib/.libs/libgnutls.so
nettle_hmac_sha1_digest             ../lib/.libs/libgnutls.so
nettle_ecc_point_mul_g              ../lib/.libs/libgnutls.so
nettle_umac96_update                ../lib/.libs/libgnutls.so
nettle_umac96_set_nonce             ../lib/.libs/libgnutls.so
nettle_mpz_sizeinbase_256_s         ../lib/.libs/libgnutls.so
nettle_mpz_sizeinbase_256_u         ../lib/.libs/libgnutls.so
p11_kit_uri_free                    ../lib/.libs/libgnutls.so
nettle_dsa_public_key_clear         ../lib/.libs/libgnutls.so
nettle_rsa_public_key_clear         ../lib/.libs/libgnutls.so
nettle_sha1_init                    ../lib/.libs/libgnutls.so
nettle_dsa_generate_keypair         ../lib/.libs/libgnutls.so
nettle_rsa_generate_keypair         ../lib/.libs/libgnutls.so
nettle_mpz_get_str_256              ../lib/.libs/libgnutls.so
ld: fatal: symbol referencing errors. No output written to .libs/psktool

I am a little confused as the libraries are correct identified by 
./configure. I tried adding LIB=-R/opt/gnu/lib but that did not help.

Any help greatly appreciated

TIA





More information about the openindiana-discuss mailing list