paatiepaat / gimp-dds

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

/lib64/libm.so.6: could not read symbols: Invalid operation #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi
When building on the Open Build Service for openSUSE I get the following build 
failure fo the latest svn release;

gcc  color.o dds.o ddsread.o ddswrite.o dxt.o mipmap.o misc.o -pthread 
-lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 
-lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo 
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 
-lrt -lglib-2.0   -o dds
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: 
mipmap.o: undefined reference to symbol 'sinf@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: 
note: 'sinf@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it 
to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [dds] Error 1

I also get a warning about rpm opt flags as well, attached please find a patch 
that fixes both these issues for your consideration.

Original issue reported on code.google.com by coyoteu...@gmail.com on 14 Apr 2012 at 7:17

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in SVN trunk

Original comment by ski...@gmail.com on 4 May 2012 at 2:11