c++ - Not possible to statically link libgnutls.a -


i try link gnutls library statical (libgnutls.a). did openssl, worked out wit command line: g++ test.cpp -statical -lcrypto -ldl -o test. if try right same gnutls library(g++ test.cpp -statical -lgnutls -ldl -o test), lot of errors this:

/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libgnutls.a(privkey.o): in funktion `_gnutls_privkey_decode_ecc_key': (.text+0x818): nicht definierter verweis auf `asn1_create_element' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libgnutls.a(privkey.o): in funktion `_gnutls_privkey_decode_ecc_key': (.text+0x86a): nicht definierter verweis auf `asn1_der_decoding' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libgnutls.a(privkey.o): in funktion `_gnutls_privkey_decode_ecc_key': (.text+0x8d3): nicht definierter verweis auf `asn1_read_value' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libgnutls.a(privkey.o): in funktion `_gnutls_privkey_decode_ecc_key': 

is there possibility link gnutls library statical?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -