Andy Malato
2007-Oct-22 10:14 UTC
[Vorbis] problems building libvorbis-1.2.0 on Solaris 10 (sparc)
Hello,
I'm running into problems while trying to build libvorbis. My build
platform is Solaris 10 (sparc) (11/06) with GCC 3.4.6.
The build fails with the following error :
Making all in examples
gmake[2]: Entering directory
`/afs/cad.njit.edu/u/a/n/andym/ftp/freeware/multimedia/ogg/libvorbis-1.2.0/examples'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I/afs/cad/solaris/ogg-1.1.3/include -O20 -ffast-math
-D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H -MT decoder_example.o
-MD -MP -MF .deps/decoder_example.Tpo -c -o decoder_example.o
decoder_example.c
mv -f .deps/decoder_example.Tpo .deps/decoder_example.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -O20 -ffast-math
-D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H -o decoder_example
decoder_example.o ../lib/libvorbis.la
mkdir .libs
gcc -O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H -o
.libs/decoder_example decoder_example.o ../lib/.libs/libvorbis.so
-L/afs/cad/solaris/ogg-1.1.3/lib /afs/cad/solaris/ogg-1.1.3/lib/libogg.so
-lm -Wl,--rpath -Wl,/afs/cad/solaris/ogg-1.1.3/lib
../lib/.libs/libvorbis.so: undefined reference to `ldexp@SYSVABI_1.3'
../lib/.libs/libvorbis.so: undefined reference to `frexp@SYSVABI_1.3'
collect2: ld returned 1 exit status
gmake[2]: *** [decoder_example] Error 1
gmake[2]: Leaving directory
`/afs/cad.njit.edu/u/a/n/andym/ftp/freeware/multimedia/ogg/libvorbis-1.2.0/examples'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/afs/cad.njit.edu/u/a/n/andym/ftp/freeware/multimedia/ogg/libvorbis-1.2.0'
gmake: *** [all] Error 2
The build works fine under Solaris 9. Any ideas ?
Thanks for any help one can provide.
---Andy
Ralph Giles
2007-Oct-22 13:12 UTC
[Vorbis] problems building libvorbis-1.2.0 on Solaris 10 (sparc)
On Mon, Oct 22, 2007 at 10:30:08AM -0400, Andy Malato wrote:> ../lib/.libs/libvorbis.so: undefined reference to `ldexp@SYSVABI_1.3' > ../lib/.libs/libvorbis.so: undefined reference to `frexp@SYSVABI_1.3' > collect2: ld returned 1 exit statusLooks like some kind of symbol mangling collision. You might try upgrading libtool. You might also look for a version of the math library providing the 1.3 ABI and add that manually. FWIW< -r
Andy Malato
2007-Oct-25 10:32 UTC
[Vorbis] Re: problems building libvorbis-1.2.0 on Solaris 10 (sparc)
! Date: Mon, 22 Oct 2007 10:30:08 -0400 (EDT)
! From: Andy Malato <andym@oak.njit.edu>
! To: vorbis@xiph.org
! Subject: problems building libvorbis-1.2.0 on Solaris 10 (sparc)
This turned out to be a problem with my version of GNU ld, which caused me
to run into bug 1031: http://sourceware.org/bugzilla/show_bug.cgi?id=1031
Thanks to those who responded with their suggestions.
---Andy
!
! Hello,
!
! I'm running into problems while trying to build libvorbis. My build
! platform is Solaris 10 (sparc) (11/06) with GCC 3.4.6.
!
! The build fails with the following error :
!
!
! Making all in examples
! gmake[2]: Entering directory
!
`/afs/cad.njit.edu/u/a/n/andym/ftp/freeware/multimedia/ogg/libvorbis-1.2.0/examples'
! gcc -DHAVE_CONFIG_H -I. -I.. -I../include
! -I/afs/cad/solaris/ogg-1.1.3/include -O20 -ffast-math
! -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H -MT decoder_example.o
! -MD -MP -MF .deps/decoder_example.Tpo -c -o decoder_example.o
! decoder_example.c
! mv -f .deps/decoder_example.Tpo .deps/decoder_example.Po
! /bin/bash ../libtool --tag=CC --mode=link gcc -O20 -ffast-math
! -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H -o decoder_example
! decoder_example.o ../lib/libvorbis.la
! mkdir .libs
! gcc -O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -DUSE_MEMORY_H -o
! .libs/decoder_example decoder_example.o ../lib/.libs/libvorbis.so
! -L/afs/cad/solaris/ogg-1.1.3/lib /afs/cad/solaris/ogg-1.1.3/lib/libogg.so
! -lm -Wl,--rpath -Wl,/afs/cad/solaris/ogg-1.1.3/lib
! ../lib/.libs/libvorbis.so: undefined reference to `ldexp@SYSVABI_1.3'
! ../lib/.libs/libvorbis.so: undefined reference to `frexp@SYSVABI_1.3'
! collect2: ld returned 1 exit status
! gmake[2]: *** [decoder_example] Error 1
! gmake[2]: Leaving directory
!
`/afs/cad.njit.edu/u/a/n/andym/ftp/freeware/multimedia/ogg/libvorbis-1.2.0/examples'
! gmake[1]: *** [all-recursive] Error 1
! gmake[1]: Leaving directory
!
`/afs/cad.njit.edu/u/a/n/andym/ftp/freeware/multimedia/ogg/libvorbis-1.2.0'
! gmake: *** [all] Error 2
!
!
! The build works fine under Solaris 9. Any ideas ?
!
!
! Thanks for any help one can provide.
!
!
! ---Andy
!