Bug#553932: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Mon Nov 2 11:17:50 UTC 2009


Package: barrage
Version: 1.0.2-4
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.

gcc  -Wall -g -O2 -Wall -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -o barrage  main.o particle.o shots.o units.o 
data.o chart.o bfield.o menu.o SFont.o -lSDL_mixer -L/usr/lib -lSDL
/usr/bin/ld: shots.o: in function shots_fire_ballistic:shots.c:176: error: undefined reference to 'tan'
/usr/bin/ld: shots.o: in function shots_fire_ballistic:shots.c:183: error: undefined reference to 'cos'
/usr/bin/ld: shots.o: in function shots_fire_ballistic:shots.c:148: error: undefined reference to 'tan'
/usr/bin/ld: shots.o: in function shots_fire_ballistic:shots.c:183: error: undefined reference to 'sqrt'
/usr/bin/ld: bfield.o: in function bfield_update_gun_dir:bfield.c:450: error: undefined reference to 'atan'
/usr/bin/ld: bfield.o: in function trees_check_impact:bfield.c:363: error: undefined reference to 'sqrt'
collect2: ld returned 1 exit status
make[4]: *** [barrage] Error 1






More information about the Pkg-games-devel mailing list