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

Bug#556343: FTBFS with binutils-gold



Source: sfftobmp
Version: 3.1.2-2
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

g++  -g -O2   -o sfftobmp  my_getopt.o cmdline.o codes.o common.o decoder.o input.o main.o output.o -ltiff -ljpeg -lboost_filesystem-mt 
/usr/bin/ld: cmdline.o: in function global constructors keyed to _ZN17CCmdLineProcessorC2EPPci:/usr/include/boost/system/error_code.hpp:205: error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: cmdline.o: in function global constructors keyed to _ZN17CCmdLineProcessorC2EPPci:/usr/include/boost/system/error_code.hpp:206: error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: cmdline.o: in function global constructors keyed to _ZN17CCmdLineProcessorC2EPPci:/usr/include/boost/system/error_code.hpp:211: error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: cmdline.o: in function global constructors keyed to _ZN17CCmdLineProcessorC2EPPci:/usr/include/boost/system/error_code.hpp:212: error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: cmdline.o: in function global constructors keyed to _ZN17CCmdLineProcessorC2EPPci:/usr/include/boost/system/error_code.hpp:213: error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: common.o: in function global constructors keyed to _ZN16CSimpleException10m_aReasonsE:/usr/include/boost/system/error_code.hpp:205: error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: common.o: in function global constructors keyed to _ZN16CSimpleException10m_aReasonsE:/usr/include/boost/system/error_code.hpp:206: error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: common.o: in function global constructors keyed to _ZN16CSimpleException10m_aReasonsE:/usr/include/boost/system/error_code.hpp:213: error: undefined reference to 'boost::system::get_system_category()'
collect2: ld returned 1 exit status
make[3]: *** [sfftobmp] Error 1



Reply to: