apelazy / gimp-normalmap

Automatically exported from code.google.com/p/gimp-normalmap
Other
0 stars 0 forks source link

sqrtf not defined #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Make fails with the following error:
/usr/bin/ld: note: 'sqrtf@@GLIBC_2.2.5' is defined in DSO /usr/lib/libm.so.6 so 
try adding it to the linker command line

I fixed it by adding `-lm` to the `LIBS` part of `Makefile.linux`.

System info:
Compiler: gcc 4.7.2
OS: archlinux (last full system update was 5 seconds ago)
Architecture: x86_64

Original issue reported on code.google.com by big.bad....@yellowcouch.org on 22 Dec 2012 at 6:44

GoogleCodeExporter commented 8 years ago

Original comment by ski...@gmail.com on 7 Dec 2013 at 8:23