Subject: Compiling libvorbis failed (Solaris9)
To: None <>
From: Kurt Schreiner <>
List: tech-pkg
Date: 01/29/2004 14:43:49

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 -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 -o .libs/
.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/ -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
*** Error code 1

bmake: stopped in
*** 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?


ps.: pkgsrc cvs updated yesterday, likewise bootstap-pkgsrc updated
     and reinstalled.