Bug#554275: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Tue Nov 3 22:21:24 UTC 2009


Source: excellent-bifurcation
Version: 0.0.20071015-2
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

gcc -lalleg-4.2.2 `pkg-config libxdg-basedir --libs` ./pickup.o ./stuff.o ./pbullet.o ./input.o ./main.o ./enemy.o ./palette.o ./game.o ./cloud.o ./level.o ./display.o ./ebullet.o ./sound.o ./display_init.o ./eclass.o ./menu.o -o excellent-bifurcation
/usr/bin/ld: ./stuff.o: in function delta_turn_towards_xy:stuff.c:184: error: undefined reference to 'atan2'
/usr/bin/ld: ./stuff.o: in function turn_towards_xy:stuff.c:155: error: undefined reference to 'atan2'
/usr/bin/ld: ./stuff.o: in function init_trig:stuff.c:59: error: undefined reference to 'sincosf'
/usr/bin/ld: ./pbullet.o: in function find_new_seeker_target:pbullet.c:739: error: undefined reference to 'hypot'
/usr/bin/ld: ./pbullet.o: in function seeker_collision:pbullet.c:594: error: undefined reference to 'hypot'
/usr/bin/ld: ./input.o: in function fire_turret:input.c:726: error: undefined reference to 'atan2'
/usr/bin/ld: ./input.o: in function find_enemies:input.c:645: error: undefined reference to 'hypot'
/usr/bin/ld: ./enemy.o: in function attack_angle:enemy.c:3041: error: undefined reference to 'atan2'
collect2: ld returned 1 exit status
make[1]: *** [excellent-bifurcation] Error 1





More information about the Pkg-games-devel mailing list