Bug#553647: [airstrike] FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Sun Nov 1 18:41:09 UTC 2009


Package: airstrike
Version: 0.99+1.0pre6a-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.

cc -o airstrike -g -O2 -Wall -Wno-unused  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Isprite -I. -Isupport -
DINLINE=inline ./winds.o ./airstrike.o ./mech.o ./config.o ./level.o ./control.o ./sprite/global.o ./sprite/animation.o 
./sprite/bitmask.o ./sprite/sprite.o ./sprite/sdlutils.o ./sprite/dirty.o ./sound.o ./sprite_types/fire.o 
./sprite_types/biplane.o ./sprite_types/bouncer.o ./sprite_types/bird.o ./sprite_types/blueplane.o ./sprite_types/energymeter.o 
./sprite_types/message.o ./sprite_types/explosions.o ./sprite_types/parachute.o ./sprite_types/bomb.o ./sprite_types/missile.o 
./sprite_types/cloud.o ./sprite_types/mark.o ./sprite_types/dust.o ./sprite_types/puff.o ./sprite_types/smoke.o 
./sprite_types/bonusmachine.o ./sprite_types/zeppelin.o ./sprite_types/bullet.o ./sprite_types/hangar.o ./sprite_types/cannon.o 
./sprite_types/airballoon.o ./sprite_types.o ./players.o ./support/text.o ./support/console.o ./support/names.o 
./support/maths.o `sdl-config --libs` -lSDL_image
/usr/bin/ld: ./airstrike.o: in function draw_ui:airstrike.c:273: error: undefined reference to 'sqrtf'
/usr/bin/ld: ./mech.o: in function mech_air:mech.c:45: error: undefined reference to 'sqrt'
/usr/bin/ld: ./sprite_types/bird.o: in function update:sprite_types/bird.c:34: error: undefined reference to 'sqrtf'
/usr/bin/ld: ./support/maths.o: in function vangle:support/maths.c:84: error: undefined reference to 'atan2'
/usr/bin/ld: ./support/maths.o: in function maths_setup:support/maths.c:14: error: undefined reference to 'sincos'
collect2: ld returned 1 exit status





More information about the Pkg-games-devel mailing list