Bug#554498: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Wed Nov 4 22:27:15 UTC 2009


Source: dreamchess
Version: 0.2.0-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.

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 -Wall -g -O2 -Wl,-z,defs -DDATADIR=\"/usr/share/games/dreamchess\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -O2 -Wl,-z,defs   -o dreamchess  board.o history.o ui.o comm_unix.o comm_sdlthd.o debug.o dreamchess.o fen.o main.o main_sdlthd.o dir.o comm.o comm_win32.o credits.o theme.o options.o pgn_parser.o pgn_scanner.o system_config.o ui_sdlgl/libui_sdlgl.a gamegui_dialogs/libgamegui_dialogs.a audio/libaudio.a libs/libsan.a libs/gamegui/libgamegui.a -lmxml libs/libpipe_unix.a -lSDL_image  -L/usr/lib -lSDL -lGL -lGLU 
/usr/bin/ld: ui_sdlgl/libui_sdlgl.a(ui_sdlgl_3d.o): in function find_square:ui_sdlgl_3d.c:956: error: undefined reference to 'floor'
/usr/bin/ld: ui_sdlgl/libui_sdlgl.a(ui_sdlgl_3d.o): in function find_square:ui_sdlgl_3d.c:956: error: undefined reference to 'floor'
collect2: ld returned 1 exit status
make[5]: *** [dreamchess] Error 1





More information about the Pkg-games-devel mailing list