Bug#556311: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Sun Nov 15 10:29:45 UTC 2009


Source: qutecom
Version: 2.2~rc3.hg396~dfsg1-2
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.

Objects inside an .a archive aren't linked yet. This means that you must resolve
their symbols when linking to a program.

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

Linking CXX executable owcrashreport
cd "/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/crashreport" && /usr/bin/cmake -E cmake_link_script CMakeFiles/owcrashreport.dir/link.txt --verbose=1
/usr/bin/g++   -g -O2 -g -Wall -O2 -O2 -g   CMakeFiles/owcrashreport.dir/moc_FtpUpload.o CMakeFiles/owcrashreport.dir/moc_QtCrashReport.o CMakeFiles/owcrashreport.dir/main.o CMakeFiles/owcrashreport.dir/FtpUpload.o CMakeFiles/owcrashreport.dir/QtCrashReport.o  -o owcrashreport -rdynamic -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/owutil/cutil" -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/owutil/util" -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/owutil/thread" -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/owutil/system" -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/qtutil" -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/owutil/serialization" -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/owutil/settings" -L"/home/peter/rebuild/build/qutecom/qutecom-2.2~rc3.hg396~dfsg1/obj-x86_64-linux-gnu/libs/3rdparty/tinyxml" ../libs/owutil/cutil/libowcutil.a -lboost_program_options -lboost_serialization -lboost_signals -lboost_thread -luuid ../libs/owutil/util/libowutil.so ../libs/owutil/thread/libowthread.a ../libs/owutil/system/libowsystem.a -lcurl -lQtCore -lQtGui -lQtNetwork -lQtXml -lQtSvg -lQtUiTools -lQtDBus ../libs/qtutil/libowqtutil.a ../libs/owutil/serialization/libowserialization.a ../libs/owutil/settings/libowsettings.a -lQtCore -lQtGui -lQtNetwork -lQtXml -lQtSvg -lQtUiTools -lQtDBus ../libs/owutil/thread/libowthread.a ../libs/owutil/serialization/libowserialization.a ../libs/owutil/util/libowutil.so ../libs/owutil/cutil/libowcutil.a -lboost_program_options -lboost_serialization -lboost_signals -lboost_thread -luuid ../libs/3rdparty/tinyxml/libtinyxml.a -Wl,-rpath,/usr/lib/qutecom 
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings(Settings const&):/usr/include/boost/thread/pthread/recursive_mutex.hpp:42: error: undefined reference to 'pthread_mutexattr_init'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings(Settings const&):/usr/include/boost/thread/pthread/recursive_mutex.hpp:47: error: undefined reference to 'pthread_mutexattr_settype'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings(Settings const&):/usr/include/boost/thread/pthread/recursive_mutex.hpp:58: error: undefined reference to 'pthread_mutexattr_destroy'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings(Settings const&):/usr/include/boost/thread/pthread/recursive_mutex.hpp:42: error: undefined reference to 'pthread_mutexattr_init'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings(Settings const&):/usr/include/boost/thread/pthread/recursive_mutex.hpp:47: error: undefined reference to 'pthread_mutexattr_settype'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings(Settings const&):/usr/include/boost/thread/pthread/recursive_mutex.hpp:58: error: undefined reference to 'pthread_mutexattr_destroy'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings():/usr/include/boost/thread/pthread/recursive_mutex.hpp:42: error: undefined reference to 'pthread_mutexattr_init'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings():/usr/include/boost/thread/pthread/recursive_mutex.hpp:47: error: undefined reference to 'pthread_mutexattr_settype'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function Settings::Settings():/usr/include/boost/thread/pthread/recursive_mutex.hpp:58: error: undefined reference to 'pthread_mutexattr_destroy'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function RecursiveMutex::RecursiveMutex():/usr/include/boost/thread/pthread/recursive_mutex.hpp:42: error: undefined reference to 'pthread_mutexattr_init'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function RecursiveMutex::RecursiveMutex():/usr/include/boost/thread/pthread/recursive_mutex.hpp:47: error: undefined reference to 'pthread_mutexattr_settype'
/usr/bin/ld: ../libs/owutil/settings/libowsettings.a(Settings.o): in function RecursiveMutex::RecursiveMutex():/usr/include/boost/thread/pthread/recursive_mutex.hpp:58: error: undefined reference to 'pthread_mutexattr_destroy'
collect2: ld returned 1 exit status
make[3]: *** [crashreport/owcrashreport] Error 1





More information about the Pkg-voip-maintainers mailing list