Subject: Compiling libvorbis failed (Solaris9)
To: None <tech-pkg@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: tech-pkg
Date: 01/29/2004 14:43:49
Hi,
to get xmms up on my solaris9-sparc-box (SB1000 if it matters)
trying to compile libvorbis fails:
Making all in floor
/bin/ksh ../libtool --mode=link gcc -O20 -ffast-math
-D__NO_MATH_INLINES -fsigned-char -mv8 -O -I/opt/nb/include
-DUSE_MEMORY_H -L/opt/nb/lib -Wl,-R/opt/nb/lib -L/opt/nb/lib
-Wl,-R/opt/nb/lib -o libvorbis.la -rpath /opt/nb/lib -no-undefined
-version-info 3:0:3 mdct.lo smallft.lo block.lo envelope.lo window.lo
lsp.lo lpc.lo analysis.lo synthesis.lo psy.lo info.lo floor1.lo
floor0.lo res0.lo mapping0.lo registry.lo codebook.lo sharedbook.lo
lookup.lo bitrate.lo -lm -L/opt/nb/lib -logg
ld -G -z defs -h libvorbis.so.3 -o .libs/libvorbis.so.3.0
.libs/mdct.o .libs/smallft.o .libs/block.o .libs/envelope.o
.libs/window.o .libs/lsp.o .libs/lpc.o .libs/analysis.o
.libs/synthesis.o .libs/psy.o .libs/info.o .libs/floor1.o
.libs/floor0.o .libs/res0.o .libs/mapping0.o .libs/registry.o
.libs/codebook.o .libs/sharedbook.o .libs/lookup.o .libs/bitrate.o
-R/opt/nb/lib -R/opt/nb/lib
-L/u/NetBSD/pkgobj/audio/libvorbis/work/.buildlink/lib -lm
/opt/nb/lib/libogg.so -lc -R/opt/nb/lib -R/opt/nb/lib
Undefined first referenced
symbol in file
__ashrdi3 .libs/block.o
__floatdidf .libs/analysis.o
ld: fatal: Symbol referencing errors. No output written to
.libs/libvorbis.so.3.0
*** Error code 1
Stop.
bmake: stopped in
/u/NetBSD/pkgobj/audio/libvorbis/work/libvorbis-1.0.1/lib
*** Error code 1
I've tried both gcc-2.95.3 and gcc-3.3 (both compiled from pkgsrc)
Any ideas how to get this going?
-kurt
ps.: pkgsrc cvs updated yesterday, likewise bootstap-pkgsrc updated
and reinstalled.