[Pkg-net-snmp-devel] Bug#555767: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Wed Nov 11 10:06:20 UTC 2009


Source: net-snmp
Version: 5.4.1~dfsg-12
Severity: minor
User: peter.fritzsche at 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

libtool: compile:  cc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -DNETSNMP_ENABLE_IPV6 -g -O2 -g -Wall -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -c snmpusm.c -o snmpusm.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=link cc -DNETSNMP_ENABLE_IPV6 -g -O2 -g -Wall -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux  -o snmpusm snmpusm.lo -L../snmplib/.libs -L../snmplib -L../agent/.libs -L../agent -L../agent/helpers/.libs -L../agent/helpers  ../snmplib/libnetsnmp.la   
libtool: link: cc -DNETSNMP_ENABLE_IPV6 -g -O2 -g -Wall -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -o .libs/snmpusm .libs/snmpusm.o  -L/home/peter/rebuild/build/net-snmp/net-snmp-5.4.1~dfsg/snmplib/.libs -L/home/peter/rebuild/build/net-snmp/net-snmp-5.4.1~dfsg/snmplib -L/home/peter/rebuild/build/net-snmp/net-snmp-5.4.1~dfsg/agent/.libs -L/home/peter/rebuild/build/net-snmp/net-snmp-5.4.1~dfsg/agent -L/home/peter/rebuild/build/net-snmp/net-snmp-5.4.1~dfsg/agent/helpers/.libs -L/home/peter/rebuild/build/net-snmp/net-snmp-5.4.1~dfsg/agent/helpers ../snmplib/.libs/libnetsnmp.so 
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:207: error: undefined reference to 'd2i_DHparams'
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:215: error: undefined reference to 'DH_generate_key'
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:221: error: undefined reference to 'BN_num_bits'
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:228: error: undefined reference to 'BN_bn2bin'
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:230: error: undefined reference to 'DH_size'
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:242: error: undefined reference to 'BN_bin2bn'
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:249: error: undefined reference to 'DH_compute_key'
/usr/bin/ld: .libs/snmpusm.o: in function get_USM_DH_key:snmpusm.c:223: error: undefined reference to 'BN_num_bits'
collect2: ld returned 1 exit status
make[2]: *** [snmpusm] Error 1





More information about the Pkg-net-snmp-devel mailing list