Bug#556067: FTBFS with binutils-gold

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


Source: pokerth
Version: 0.7.1-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

g++: unrecognized option '-no_dead_strip_inits_and_terms'
/usr/bin/ld: obj/sdlplayer.o: in function SDLPlayer::~SDLPlayer():sdlplayer.cpp(.text+0xce): error: undefined reference to 'SDL_Quit'
/usr/bin/ld: obj/sdlplayer.o: in function SDLPlayer::~SDLPlayer():sdlplayer.cpp(.text+0x14e): error: undefined reference to 'SDL_Quit'
/usr/bin/ld: obj/sdlplayer.o: in function SDLPlayer::~SDLPlayer():sdlplayer.cpp(.text+0x1ce): error: undefined reference to 'SDL_Quit'
/usr/bin/ld: obj/sdlplayer.o: in function SDLPlayer::SDLPlayer(ConfigFile*):sdlplayer.cpp(.text+0x3b6): error: undefined reference to 'SDL_Init'
/usr/bin/ld: obj/sdlplayer.o: in function SDLPlayer::SDLPlayer(ConfigFile*):sdlplayer.cpp(.text+0x596): error: undefined reference to 'SDL_Init'
/usr/bin/ld: obj/sdlplayer.o: in function SDLPlayer::playSound(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int):sdlplayer.cpp(.text+0xa61): error: undefined reference to 'SDL_GetError'
/usr/bin/ld: lib/libpokerth_lib.a(session.o): in function global constructors keyed to session.cpp:session.cpp(.text+0x889): error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: lib/libpokerth_lib.a(session.o): in function global constructors keyed to session.cpp:session.cpp(.text+0x895): error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: lib/libpokerth_lib.a(session.o): in function global constructors keyed to session.cpp:session.cpp(.text+0x8a1): error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: lib/libpokerth_lib.a(session.o): in function global constructors keyed to session.cpp:session.cpp(.text+0x8ad): error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: lib/libpokerth_lib.a(session.o): in function global constructors keyed to session.cpp:session.cpp(.text+0x8b9): error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: lib/libpokerth_lib.a(session.o): in function global constructors keyed to session.cpp:session.cpp(.text+0x8c5): error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: lib/libpokerth_lib.a(session.o): in function global constructors keyed to session.cpp:session.cpp(.text+0x9a8): error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: lib/libpokerth_lib.a(avatarmanager.o): in function global constructors keyed to avatarmanager.cpp:avatarmanager.cpp(.text+0x37): error: undefined reference to 'boost::system::get_generic_category()'
collect2: ld returned 1 exit status
make[2]: *** [pokerth] Error 1





More information about the Pkg-games-devel mailing list