[Pkg-allegro-maintainers] Bug#555880: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Thu Nov 12 08:47:14 UTC 2009


Source: overgod
Version: 1.0-1
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


dpkg-buildpackage: source changed by Sam Hocevar (Debian packages) <sam+deb at zoy.org>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
rm -f overgod *.o
QUILT_PATCHES=debian/patches quilt pop -a -R || test $? = 2
No patch removed
dh_clean
 dpkg-source -b overgod-1.0
dpkg-source: info: using source format `1.0'
dpkg-source: info: building overgod using existing overgod_1.0.orig.tar.gz
dpkg-source: info: building overgod in overgod_1.0-1.diff.gz
dpkg-source: info: building overgod in overgod_1.0-1.dsc
 debian/rules build
dh_testdir
QUILT_PATCHES=debian/patches quilt push -a || test $? = 2
Applying patch 010_data_path.diff
patching file displ_in.c
patching file menu.c
patching file sound.c

Applying patch 020_config_file.diff
patching file main.c

Now at patch 020_config_file.diff
cc -g -O2 -Wall *.c -o overgod `allegro-config --cflags --libs`
actor.c: In function 'actor_sidekicks':
actor.c:611: warning: 'target_y' may be used uninitialized in this function
actor.c:611: warning: 'target_x' may be used uninitialized in this function
bullet.c: In function 'manage_bullet':
bullet.c:267: warning: 'cy' may be used uninitialized in this function
bullet.c:267: warning: 'cx' may be used uninitialized in this function
cmds.c: In function 'bomb_shot':
cmds.c:2697: warning: 'special3' is used uninitialized in this function
cmds.c:2697: warning: 'special4' is used uninitialized in this function
cmds.c:2697: warning: 'special5' is used uninitialized in this function
cmds.c: In function 'missile_shot':
cmds.c:2514: warning: 'special2' is used uninitialized in this function
displ_in.c: In function 'init_display':
displ_in.c:144: warning: unused variable 'temp_palette3'
displ_in.c:142: warning: unused variable 'temp_palette2'
displ_in.c: In function 'make_rle_large_ship':
displ_in.c:1092: warning: 'base_col' may be used uninitialized in this function
enemy.c: In function 'standard_attack':
enemy.c:7183: warning: 'status' may be used uninitialized in this function
enemy.c: In function 'create_enemy':
enemy.c:198: warning: 'j' may be used uninitialized in this function
tile.c: In function 'make_maze_map':
tile.c:319: warning: 'tmaze' may be used uninitialized in this function
/usr/bin/ld: /tmp/cchP6xev.o: in function closest_enemy_or_actor:actor.c:485: error: undefined reference to 'hypot'
/usr/bin/ld: /tmp/cchP6xev.o: in function closest_enemy_or_actor:actor.c:461: error: undefined reference to 'hypot'
/usr/bin/ld: /tmp/cchP6xev.o: in function closest_enemy:actor.c:433: error: undefined reference to 'hypot'
/usr/bin/ld: /tmp/cchP6xev.o: in function detect_collision_actor_pickups:actor.c:1124: error: undefined reference to 'hypot'
/usr/bin/ld: /tmp/cchP6xev.o: in function acquire_target:actor.c:385: error: undefined reference to 'cos'
/usr/bin/ld: /tmp/cchP6xev.o: in function acquire_target:actor.c:386: error: undefined reference to 'sin'
/usr/bin/ld: /tmp/cchP6xev.o: in function drag_actor:actor.c:317: error: undefined reference to 'atan2'
/usr/bin/ld: /tmp/cchP6xev.o: in function drag_actor:actor.c:329: error: undefined reference to 'cos'
/usr/bin/ld: /tmp/cchP6xev.o: in function drag_actor:actor.c:332: error: undefined reference to 'sin'
/usr/bin/ld: /tmp/cchP6xev.o: in function detect_collision_actor_enemies:actor.c:963: error: undefined reference to 'atan2'
/usr/bin/ld: /tmp/cchP6xev.o: in function detect_collision_actor_enemies:actor.c:964: error: undefined reference to 'atan2'
/usr/bin/ld: /tmp/cchP6xev.o: in function detect_collision_actor_enemies:actor.c:993: error: undefined reference to 'cos'
/usr/bin/ld: /tmp/cchP6xev.o: in function detect_collision_actor_enemies:actor.c:994: error: undefined reference to 'sin'
/usr/bin/ld: /tmp/cchP6xev.o: in function detect_collision_actor_enemies:actor.c:1002: error: undefined reference to 'atan2'
/usr/bin/ld: /tmp/cchP6xev.o: in function actor_sidekicks:actor.c:600: error: undefined reference to 'cos'
/usr/bin/ld: /tmp/cchP6xev.o: in function actor_sidekicks:actor.c:601: error: undefined reference to 'sin'
/usr/bin/ld: /tmp/cchO1tPw.o: in function init_trig:stuff.c:57: error: undefined reference to 'sincosf'
collect2: ld returned 1 exit status
make: *** [build-stamp] Error 1





More information about the Pkg-allegro-maintainers mailing list