What steps will reproduce the problem?
1. Try to build with 'make'
What is the expected output? What do you see instead?
Build exits with the following output:
$ make
gcc -c -O3 -Wall `pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0`
preview3d.c
gcc -c -O3 -Wall `pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0` scale.c
gcc normalmap.o preview3d.o scale.o `pkg-config --libs gtk+-2.0 gtkglext-1.0
gimp-2.0 gimpui-2.0` -L/usr/X11R6/lib -lGLEW -o normalmap
/usr/bin/ld: preview3d.o: undefined reference to symbol 'sincosf@@GLIBC_2.2.5'
/lib64/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile.linux:17: recipe for target 'normalmap' failed
make: *** [normalmap] Error 1
What version of the product are you using? On what operating system?
gimp-normalmap-1.2.3 on Fedora 21
Please provide any additional information below.
Adding a -lm to LIBS in Makefile.linux (as described in
http://blender3d.org.ua/forum/texturing/111-1.html) fixes the problem.
Original issue reported on code.google.com by jhaid...@gmail.com on 5 Mar 2015 at 12:53
Original issue reported on code.google.com by
jhaid...@gmail.com
on 5 Mar 2015 at 12:53