Bug#916033: alex4 FTBFS with allegro4.4 2:4.4.2-13
Adrian Bunk
bunk at debian.org
Sun Dec 9 14:05:20 GMT 2018
Source: alex4
Version: 1.1-7
Severity: serious
Tags: ftbfs buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/alex4.html
...
shooter.c: In function 's_update_object':
shooter.c:503:26: warning: implicit declaration of function 'fmul'; did you mean 'fixmul'? [-Wimplicit-function-declaration]
o->y = o->d2 + fixtoi(fmul(ftofix(o->vy), fsin(itofix(o->t))));
^~~~
fixmul
shooter.c:503:46: warning: implicit declaration of function 'fsin'; did you mean 'fixsin'? [-Wimplicit-function-declaration]
o->y = o->d2 + fixtoi(fmul(ftofix(o->vy), fsin(itofix(o->t))));
^~~~
fixsin
shooter.c:508:46: warning: implicit declaration of function 'fcos'; did you mean 'feof'? [-Wimplicit-function-declaration]
o->y = o->d2 + fixtoi(fmul(ftofix(o->vy), fcos(itofix(o->t))));
^~~~
feof
main.c: In function 'draw_custom_ending':
main.c:1215:23: warning: implicit declaration of function 'fcos'; did you mean 'feof'? [-Wimplicit-function-declaration]
r = 70 + fixtoi(20 * fcos(itofix(game_count >> 1)) + 20 * fsin(itofix((int)(game_count / 2.7))) );
^~~~
feof
main.c:1215:60: warning: implicit declaration of function 'fsin'; did you mean 'fixsin'? [-Wimplicit-function-declaration]
r = 70 + fixtoi(20 * fcos(itofix(game_count >> 1)) + 20 * fsin(itofix((int)(game_count / 2.7))) );
^~~~
fixsin
...
cc -Wl,-z,relro -Wl,-z,now -o alex4 actor.o edit.o map.o player.o shooter.o unix.o bullet.o hisc.o options.o script.o timer.o control.o main.o particle.o scroller.o token.o -laldmb -ldumb `allegro-config --libs`
/usr/bin/ld: shooter.o: undefined reference to symbol 'fmul@@GLIBC_2.28'
/usr/bin/ld: //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:12: alex4] Error 1
More information about the Pkg-games-devel
mailing list