[Vorbis] Re: problems building libvorbis-1.2.0 on Solaris 10 (sparc)

Andy Malato andym at oak.njit.edu
Thu Oct 25 09:49:52 PDT 2007


! Date: Mon, 22 Oct 2007 10:30:08 -0400 (EDT)
! From: Andy Malato <andym at oak.njit.edu>
! To: vorbis at 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 at SYSVABI_1.3'
! ../lib/.libs/libvorbis.so: undefined reference to `frexp at 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
!



More information about the Vorbis mailing list