Hi,

libvalhalla FTBFS in Ubuntu because binutils-gold will be the default in
Natty.

Here is the relevant part of the FTBFS:
...
make libvalhalla-test
make[2]: Entering directory
`/build/fabrice-libvalhalla_2.0.0-2-i386-DZVz1m/libvalhalla-2.0.0'
gcc -c -g -O2 -fPIC -W -Wall -I/usr/include/libxml2
-I/usr/include/libexif -g -O2 -Isrc -DPIC -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DHAVE_DEBUG -DUSE_XML -DUSE_LAVC
-DHAVE_GRABBER_ALLOCINE -DHAVE_GRABBER_AMAZON -DHAVE_GRABBER_CHARTLYRICS
-DHAVE_GRABBER_EXIF -DHAVE_GRABBER_FFMPEG -DHAVE_GRABBER_IMDB
-DHAVE_GRABBER_LASTFM -DHAVE_GRABBER_LOCAL -DHAVE_GRABBER_LYRICWIKI
-DHAVE_GRABBER_NFO -DHAVE_GRABBER_TMDB -DHAVE_GRABBER_TVDB
-DHAVE_GRABBER_TVRAGE -DUSE_GRABBER -DUSE_LOGCOLOR  -o
libvalhalla-test.o libvalhalla-test.c
gcc libvalhalla-test.o -Lsrc -lvalhalla -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -o libvalhalla-test
/usr/bin/ld: libvalhalla-test.o: undefined reference to symbol
'clock_gettime@@GLIBC_2.2'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2' is defined in
DSO /lib/librt.so.1 so try adding it to the linker command line
/lib/librt.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

This means that libvalhalla-test has to be linked explicitly with librt,
thus the fix proposed before (another one is to add explictly -lrt in
the corresponding Makefile).

Thanks,
Fabrice




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to