"fmin@@GLIBC_2.4" undefined reference on Raspberry Pi

70 views
Skip to first unread message

Sillas Silveira

unread,
Mar 13, 2016, 12:12:45 AM3/13/16
to Simple 2D
Hi, i get this on raspberry Pi:

$ cc test.c `simple2d --libs` -o test
/usr/bin/ld: /usr/local/lib/libsimple2d.a(gl.o): undefined reference to symbol 'fmin@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


where is the problem?

Tom Black

unread,
Mar 15, 2016, 1:55:50 PM3/15/16
to Simple 2D
Hmm, not sure what's going on here. It's been a while since I've tested on the RPI, hope to give it a try this week.

Thanks,
Tom

Tom Black

unread,
Apr 12, 2016, 3:48:50 AM4/12/16
to Simple 2D
Just published a new release (0.2.0). This error is fixed (just needed to add `-lm` to the LDFLAGS) and Raspberry Pi is now fully supported. Depending on how SDL2 was configured and installed (namely using X11), performance might be very bad – still thinking about how to address that.

Enjoy!
Tom
Reply all
Reply to author
Forward
0 new messages