URL:
  <http://gna.org/bugs/?15400>

                 Summary: FTBFS with binutils-gold
                 Project: Freeciv
            Submitted by: None
            Submitted on: Wednesday 02/17/2010 at 03:06 CET
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.1.9
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 

    _______________________________________________________

Details:

Hi,
Reported to the Debian BTS[1]:

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.

[...]

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

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554411





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15400>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to