[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555174: FTBFS with binutils-gold



Source: libengine-tpm-openssl
Version: 0.4.1+20071221-8
Severity: minor
User: peter.fritzsche@gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o create_tpm_key create_tpm_key.o -ltspi 
gcc -g -O2 -Wall -o create_tpm_key create_tpm_key.o  /usr/lib/libtspi.so  
/usr/bin/ld: create_tpm_key.o: in function openssl_print_errors:create_tpm_key.c:88: error: undefined reference to 'ERR_load_ERR_strings'
/usr/bin/ld: create_tpm_key.o: in function openssl_print_errors:create_tpm_key.c:89: error: undefined reference to 'ERR_load_crypto_strings'
/usr/bin/ld: create_tpm_key.o: in function openssl_get_modulus_and_prime:create_tpm_key.c:119: error: undefined reference to 'BN_bn2bin'
/usr/bin/ld: create_tpm_key.o: in function openssl_get_modulus_and_prime:create_tpm_key.c:125: error: undefined reference to 'BN_bn2bin'
/usr/bin/ld: create_tpm_key.o: in function openssl_read_key:create_tpm_key.c:99: error: undefined reference to 'BIO_new_file'
/usr/bin/ld: create_tpm_key.o: in function openssl_read_key:create_tpm_key.c:105: error: undefined reference to 'PEM_read_bio_RSAPrivateKey'
/usr/bin/ld: create_tpm_key.o: in function openssl_read_key:create_tpm_key.c:109: error: undefined reference to 'BIO_free'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:436: error: undefined reference to 'RSA_size'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:498: error: undefined reference to 'BIO_new_file'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:504: error: undefined reference to 'ASN1_OCTET_STRING_new'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:512: error: undefined reference to 'ASN1_STRING_set'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:513: error: undefined reference to 'i2d_ASN1_OCTET_STRING'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:514: error: undefined reference to 'PEM_write_bio'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:516: error: undefined reference to 'BIO_free'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:312: error: undefined reference to 'EVP_read_pw_string'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:361: error: undefined reference to 'EVP_read_pw_string'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:468: error: undefined reference to 'RSA_free'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:448: error: undefined reference to 'RSA_free'
/usr/bin/ld: create_tpm_key.o: in function main:create_tpm_key.c:439: error: undefined reference to 'RSA_free'
/usr/bin/ld: create_tpm_key.o: in function openssl_print_errors:create_tpm_key.c:90: error: undefined reference to 'ERR_print_errors_fp'
collect2: ld returned 1 exit status
make[2]: *** [create_tpm_key] Error 1



Reply to: