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

David C. Rankin drankinatty at suddenlinkmail.com
Tue Feb 7 15:48:23 EST 2012


Guys,

   I have almost survived the updates from today, but the last issue I have is 
audiofile 3.2->3.3 kills sound in trinity and kills basket-notepads. I am 
trying to rebuild from the 3.2 pkgbuild, but the build fails:

/bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99  -march=i686 
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2 
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o power power.o 
../libaudiofile/libaudiofile.la
libtool: link: gcc -std=gnu99 -march=i686 -mtune=generic -O2 -pipe 
-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 
-Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o 
.libs/power power.o  ../libaudiofile/.libs/libaudiofile.so
/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
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [power] Error 1
make[2]: Leaving directory 
`/home/david/arch/pkg/abs/audiofile/src/audiofile-0.3.2/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/david/arch/pkg/abs/audiofile/src/audiofile-0.3.2'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...

   I am using the pkgbuild from: 
http://projects.archlinux.org/svntogit/packages.git/commit/trunk/PKGBUILD?h=packages/audiofile&id=6d3264d770c3d03c2f987241ae964d9d4eabfe39

   I can see the main problem is:

/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

   but how do I modify the PKGBUILD to account for this?

   Shouldn't audiofile be backwards compatible from 3.3->3.2?

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list