[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555172: FTBFS with binutils-gold

Source: libdrm
Version: 2.4.14-1
Severity: minor
User: peter.fritzsche@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.

More informations can be found at

/bin/bash ../libtool --tag=CC   --mode=link gcc  -Wall -g -O2   -o dristat dristat.o ../libdrm/libdrm.la  
libtool: link: gcc -Wall -g -O2 -o .libs/dristat dristat.o  ../libdrm/.libs/libdrm.so
/usr/bin/ld: dristat.o: in function drmWaitVBlank:../../libdrm/xf86drm.c:1934: error: undefined reference to 'clock_gettime'
/usr/bin/ld: dristat.o: in function drmWaitVBlank:../../libdrm/xf86drm.c:1945: error: undefined reference to 'clock_gettime'
collect2: ld returned 1 exit status
make[3]: *** [dristat] Error 1

Reply to: