7 Feb
2012
7 Feb
'12
8:59 p.m.
On 02/07/2012 10:53 PM, Jesse Juhani Jaara wrote:
tiistai, 7. helmikuuta 2012 14:48:23 David C. Rankin kirjoitti:
/usr/bin/ld: power.o: undefined reference to symbol 'log10@@GLIBC_2.0' /usr/bin/ld: note: 'log10@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line These probles can be solved by adding -lm to static Makefile or
LIBS="-lm" ./configure -blah -blah -blah
in case of autoconf generated Makefiles... dunno how to do it on cmake projects....
already has such thing. examples/Makefile.am:power_LDADD = $(LIBAUDIOFILE) -lm examples/Makefile.in:power_LDADD = $(LIBAUDIOFILE) -lm No idea what does he do in his system :) -- Ionuț