Bug#554983: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Sat Nov 7 17:40:02 UTC 2009


Source: ketm
Version: 0.0.6-21
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  -Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT   -o ketm  main.o particle.o font.o sprite.o bonus.o enemy.o enemy_greeter.o enemy_curver.o enemy_crusher.o enemy_cube.o enemy_drager.o enemy_eyefo.o enemy_xev.o enemy_mine.o enemy_rwingx.o enemy_cir.o enemy_zatak.o enemy_badguy.o enemy_proball.o enemy_plasmaball.o enemy_ming.o enemy_boss01.o enemy_boss02.o enemy_boss03.o enemy_gametext.o support.o intro.o thegame.o loadlv.o score.o player.o menu.o startintro.o gameover.o hiscore.o fps.o bg.o  -L/usr/lib -lSDL
/usr/bin/ld: particle.o: in function particle_init:particle.c(.text+0x222): error: undefined reference to 'sincos'
/usr/bin/ld: particle.o: in function particle_init:particle.c(.text+0x3ae): error: undefined reference to 'sincos'
/usr/bin/ld: particle.o: in function particle_init:particle.c(.text+0x553): error: undefined reference to 'sincos'
/usr/bin/ld: particle.o: in function particle_init:particle.c(.text+0x60f): error: undefined reference to 'sincos'
/usr/bin/ld: enemy.o: in function enemy_homing_update:enemy.c(.text+0x42a): error: undefined reference to 'atan2'
/usr/bin/ld: enemy.o: in function enemy_laser_create:enemy.c(.text+0x581): error: undefined reference to 'atan2'
/usr/bin/ld: enemy.o: in function enemy_bullet_create:enemy.c(.text+0x681): error: undefined reference to 'atan2'
/usr/bin/ld: enemy.o: in function enemy_homing_create:enemy.c(.text+0x767): error: undefined reference to 'atan2'
/usr/bin/ld: enemy_mine.o: in function enemy_supermine_move:enemy_mine.c(.text+0x30): error: undefined reference to 'cos'
/usr/bin/ld: enemy_mine.o: in function enemy_supermine_move:enemy_mine.c(.text+0x62): error: undefined reference to 'sin'
/usr/bin/ld: enemy_plasmaball.o: in function enemy_plasmaball_move:enemy_plasmaball.c(.text+0xe1): error: undefined reference to 'cos'
/usr/bin/ld: menu.o: in function genericmenu_work:menu.c(.text+0x136): error: undefined reference to 'cos'
/usr/bin/ld: hiscore.o: in function hsc_show_move:hiscore.c(.text+0x43): error: undefined reference to 'cos'
collect2: ld returned 1 exit status
make[3]: *** [ketm] Error 1





More information about the Pkg-games-devel mailing list