Bug#555176: FTBFS with binutils-gold
Peter Fritzsche
peter.fritzsche at gmx.de
Sun Nov 8 13:26:49 UTC 2009
Source: libffado
Version: 2.0~rc2+svn1569-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.
It is propably better in your case that libffado.so gets linked against the
needed libraries to fix that problem. You can use --no-undefined (or respective
-Wl,--no-undefined when linking with g++ or gcc) to check your libraries
if they still have symbols which doesn't get resolved by them.
dpkg-shlibdeps will also print warnings about unresolved symbols when it gets
run in your debian/rules.
More informations can be found at
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
g++ -o support/firmware/ffado-bridgeco-downloader support/firmware/downloader.o support/firmware/bridgeco-downloader.o -Lsrc -lffado -lexpat -lm -lrt -liec61883 -lraw1394 -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0
/usr/bin/ld: src/libffado.so: error: undefined reference to 'sem_post'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_mutex_trylock'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'sem_init'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_create'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'sem_wait'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_join'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'sem_destroy'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_testcancel'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_cancel'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'sem_timedwait'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_mutexattr_init'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_mutexattr_settype'
/usr/bin/ld: src/libffado.so: error: undefined reference to 'pthread_mutexattr_destroy'
collect2: ld returned 1 exit status
scons: *** [support/firmware/ffado-bridgeco-downloader] Error 1
More information about the pkg-multimedia-maintainers
mailing list