#5 passage fails to build with binutils-gold

open
nobody
None
5
2010-01-01
2010-01-01
Paul Wise
No

Forwarding http://bugs.debian.org/556052

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. Looks like minorGems needs to be linked with -lpthread.

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

g++ -I../.. -o Passage game.o landscape.o blowUp.o World.o map.o common.o score.o musicPlayer.o Timbre.o Envelope.o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/util/stringUtils.o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/util/SettingsManager.o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/linux/ThreadLinux.o -lSDL
/usr/bin/ld: ../../minorGems/system/linux/ThreadLinux.o: in function Thread::join():../../minorGems/system/linux/ThreadLinux.cpp:112: error: undefined reference to 'pthread_join'
/usr/bin/ld: ../../minorGems/system/linux/ThreadLinux.o: in function Thread::start(char):../../minorGems/system/linux/ThreadLinux.cpp:97: error: undefined reference to 'pthread_create'
/usr/bin/ld: ../../minorGems/system/linux/ThreadLinux.o: in function Thread::start(char):../../minorGems/system/linux/ThreadLinux.cpp:101: error: undefined reference to 'pthread_detach'
collect2: ld returned 1 exit status
make[1]: *** [Passage] Error 1

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks