Bug#553970: FTBFS with binutils-gold

2011-01-07 Thread Ilya Barygin
tags 553970 patch
thanks

Hello,

Attached is the patch applied in Ubuntu to fix this problem.
https://launchpad.net/ubuntu/+source/bomberclone/0.11.8-2ubuntu1--- bomberclone-0.11.8.orig/src/Makefile.am
+++ bomberclone-0.11.8/src/Makefile.am
@@ -55,3 +55,4 @@
 	windres -i bc-res.rc -o bc-res.o
 	rm bomberclone.ico
 endif
+bomberclone_LDADD += -lm
--- bomberclone-0.11.8.orig/src/Makefile.in
+++ bomberclone-0.11.8/src/Makefile.in
@@ -234,6 +234,7 @@
 	broadcast.c
 
 @mingw32_t...@bomberclone_ldadd = bc-res.o
+bomberclone_LDADD += -lm
 all: all-am
 
 .SUFFIXES:


Bug#553970: FTBFS with binutils-gold

2009-11-02 Thread Peter Fritzsche
Package: bomberclone
Version: 0.11.8-2
Severity: normal

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.

cc  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -g -Wall -O2  -ggdb 
-O0 -Wall -Werror  -ggdb -o bomberclone  main.o 
bomb.o debug.o packets.o font.o gfx.o gfxengine.o gfxpixelimage.o player.o 
game.o netmenu.o network.o netsrvlist.o udp.o menu.o 
menubools.o menubuttons.o menuentrys.o menulabels.o menulists.o menuimages.o 
map.o mapmenu.o tileset.o field.o sysfunc.o 
configuration.o pkgcache.o chat.o multiwait.o keybinput.o single.o special.o 
sound.o ogcache-client.o flyingitems.o help.o 
playerinput.o keyb.o playermenu.o broadcast.o  -lSDL_image -L/usr/lib -lSDL  
-lSDL_mixer
/usr/bin/ld: bomb.o: in function draw_bomb:bomb.c:11: error: undefined 
reference to 'floorf'
/usr/bin/ld: bomb.o: in function draw_bomb:bomb.c:11: error: undefined 
reference to 'floorf'
/usr/bin/ld: bomb.o: in function bomb_move:bomb.c:112: error: undefined 
reference to 'floorf'
/usr/bin/ld: bomb.o: in function bomb_move:bomb.c:113: error: undefined 
reference to 'floorf'
/usr/bin/ld: bomb.o: in function explosion_restore:bomb.c:316: error: undefined 
reference to 'rintf'
/usr/bin/ld: bomb.o: in function explosion_do:bomb.c:415: error: undefined 
reference to 'rintf'
/usr/bin/ld: bomb.o: in function explosion_do:bomb.c:416: error: undefined 
reference to 'rintf'
/usr/bin/ld: bomb.o: in function explosion_do:bomb.c:430: error: undefined 
reference to 'rintf'
/usr/bin/ld: bomb.o: in function bomb_kicked:bomb.c:506: error: undefined 
reference to 'sqrtf'
/usr/bin/ld: game.o: in function game_showresultteam:game.c:671: error: 
undefined reference to 'ceil'
/usr/bin/ld: game.o: in function game_showresultnormal:game.c:784: error: 
undefined reference to 'ceil'
/usr/bin/ld: map.o: in function map_check_start_point:map.c:552: error: 
undefined reference to 'sqrt'
collect2: ld returned 1 exit status
make[3]: *** [bomberclone] Error 1




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org