[arch-general] Can't rebuild audiofile 3.2 from PKGBUILD?

Ionut Biru ibiru at archlinux.org
Tue Feb 7 15:59:30 EST 2012


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ț

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120207/7c38e1fc/attachment.asc>


More information about the arch-general mailing list