Re: How can I make this work
2014-01-29 Roelof Wobben <rwobben@hotmail.com>:
> Now it fails with this message :
>
> /usr/bin/ld: SDL_2dgl.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
> //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from
> command line
> collect2: error: ld returned 1 exit status
> make[3]: *** [gnujump] Fout 1
> make[3]: Map '/home/roelof/Downloads/gnujump-1.0.8/src' wordt verlaten
> make[2]: *** [all-recursive] Fout 1
Hi, gnujump should be linked to libm for floor()
In Debian package (gnujump) there is a patch to add libm:
http://patch-tracker.debian.org/patch/series/view/gnujump/1.0.8-1/06_link_against_-lm_.patch
Reply to: