Bug#556058: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Fri Nov 13 10:05:41 UTC 2009


Source: performous
Version: 0.3.2-1
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 performous
/usr/bin/ld: CMakeFiles/performous.dir/audio.cc.o: in function boost::recursive_mutex::recursive_mutex():/usr/include/boost/thread/pthread/recursive_mutex.hpp:42: error: undefined reference to 'pthread_mutexattr_init'
/usr/bin/ld: CMakeFiles/performous.dir/audio.cc.o: in function boost::recursive_mutex::recursive_mutex():/usr/include/boost/thread/pthread/recursive_mutex.hpp:47: error: undefined reference to 'pthread_mutexattr_settype'
/usr/bin/ld: CMakeFiles/performous.dir/audio.cc.o: in function boost::recursive_mutex::recursive_mutex():/usr/include/boost/thread/pthread/recursive_mutex.hpp:58: error: undefined reference to 'pthread_mutexattr_destroy'
/usr/bin/ld: ../libs/plugin++/libplugin++.a(dll-posix.o): in function plugin::dll::dll(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&):/home/peter/rebuild/build/performous/performous-0.3.2/libs/plugin++/src/dll-posix.cpp:7: error: undefined reference to 'dlopen'
/usr/bin/ld: ../libs/plugin++/libplugin++.a(dll-posix.o): in function plugin::dll::dll(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&):/home/peter/rebuild/build/performous/performous-0.3.2/libs/plugin++/src/dll-posix.cpp:8: error: undefined reference to 'dlerror'
/usr/bin/ld: ../libs/plugin++/libplugin++.a(dll-posix.o): in function plugin::dll::dll(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&):/home/peter/rebuild/build/performous/performous-0.3.2/libs/plugin++/src/dll-posix.cpp:7: error: undefined reference to 'dlopen'
/usr/bin/ld: ../libs/plugin++/libplugin++.a(dll-posix.o): in function plugin::dll::dll(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&):/home/peter/rebuild/build/performous/performous-0.3.2/libs/plugin++/src/dll-posix.cpp:8: error: undefined reference to 'dlerror'
/usr/bin/ld: ../libs/plugin++/libplugin++.a(dll-posix.o): in function plugin::dll::~dll():/home/peter/rebuild/build/performous/performous-0.3.2/libs/plugin++/src/dll-posix.cpp:11: error: undefined reference to 'dlclose'
/usr/bin/ld: ../libs/plugin++/libplugin++.a(dll-posix.o): in function plugin::dll::~dll():/home/peter/rebuild/build/performous/performous-0.3.2/libs/plugin++/src/dll-posix.cpp:11: error: undefined reference to 'dlclose'
collect2: ld returned 1 exit status
make[3]: *** [game/performous] Error 1





More information about the Pkg-games-devel mailing list