Bug#554411: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Wed Nov 4 09:34:00 UTC 2009


Source: freeciv
Version: 2.1.9-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.

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    -o civclient   audio_sdl.o attribute.o citydlg_common.o cityrepdata.o civclient.o chatline_common.o connectdlg_common.o climisc.o climap.o clinet.o colors_common.o control.o ggzclient.o goto.o helpdata.o mapctrl_common.o mapview_common.o messagewin_common.o overview_common.o packhand.o packhand_gen.o plrdlg_common.o options.o repodlgs_common.o reqtree.o servers.o text.o themes_common.o tilespec.o audio.o audio_none.o ../utility/libcivutility.a  ../common/libcivcommon.a ../common/aicore/libaicore.a agents/libagents.a gui-xaw/libguiclient.a ../utility/libcivutility.a  ../common/libcivcommon.a ../common/aicore/libaicore.a agents/libagents.a gui-xaw/libguiclient.a  -lpng12   -lXaw3d -lXpm -lXmu -lXt  -lSM -lICE -lXext -lX11  -L/usr/lib -lSDL -lSDL_mixer   -lz  
/usr/bin/ld: civclient.o: in function real_timer_callback:../../client/civclient.c:737: error: undefined reference to 'ceil'
/usr/bin/ld: civclient.o: in function real_timer_callback:../../client/civclient.c:744: error: undefined reference to 'floor'
/usr/bin/ld: civclient.o: in function set_seconds_to_turndone:../../client/civclient.c:685: error: undefined reference to 'ceil'
/usr/bin/ld: overview_common.o: in function gui_to_overview_pos:../../client/overview_common.c:85: error: undefined reference to 'floor'
/usr/bin/ld: overview_common.o: in function gui_to_overview_pos:../../client/overview_common.c:86: error: undefined reference to 'floor'
/usr/bin/ld: ../common/libcivcommon.a(city.o): in function get_caravan_enter_city_trade_bonus:../../common/city.c:936: error: undefined reference to 'pow'
/usr/bin/ld: ../common/libcivcommon.a(combat.o): in function win_chance:../../common/combat.c:225: error: undefined reference to 'pow'
/usr/bin/ld: ../common/libcivcommon.a(tech.o): in function precalc_tech_data:../../common/tech.c:628: error: undefined reference to 'sqrt'
/usr/bin/ld: gui-xaw/libguiclient.a(helpdlg.o): in function help_update_unit_type:../../../client/gui-xaw/helpdlg.c:848: error: undefined reference to 'sqrt'
collect2: ld returned 1 exit status
make[4]: *** [civclient] Error 1





More information about the Pkg-games-devel mailing list