Bug#556752: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Tue Nov 17 18:21:50 UTC 2009


Source: chocolate-doom
Version: 1.2.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

x86_64-linux-gnu-gcc -I.. -I../../src -O2 -g -Wall -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -L/usr/lib -lSDL -o guitest guitest.o ../libtextscreen.a  -L/usr/lib -lSDL -L/usr/lib -lSDL 
/usr/bin/ld: ../libtextscreen.a(txt_spinctrl.o): in function FloatWidth:txt_spinctrl.c:76: error: undefined reference to 'log'
/usr/bin/ld: ../libtextscreen.a(txt_spinctrl.o): in function FloatWidth:txt_spinctrl.c:76: error: undefined reference to 'ceil'
/usr/bin/ld: ../libtextscreen.a(txt_spinctrl.o): in function TXT_SpinControlDrawer:txt_spinctrl.c:42: error: undefined reference to 'log'
/usr/bin/ld: ../libtextscreen.a(txt_spinctrl.o): in function TXT_SpinControlDrawer:txt_spinctrl.c:42: error: undefined reference to 'ceil'
collect2: ld returned 1 exit status
make[4]: *** [guitest] Error 1





More information about the Pkg-games-devel mailing list