[vorbis-dev] Compiling problems libvorbis 2.0

Lourens Veen lourens at rainbowdesert.net
Sat Nov 8 07:02:21 PST 2003



On Sat 8 November 2003 15:22, Daniel Knoll wrote:
<snip>
> -----------------------------------------
> /usr/ccs/bin/ld -G -z defs -h libvorbis.so.0 -o
> .libs/libvorbis.so.0.3.0 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  -R/usr/local/lib -R/usr/local/lib  -lm
> /usr/local/lib/libogg.so -lc
> Undefined                       first referenced
>  symbol                             in file
> __ashrdi3                           block.lo
> __floatdidf                         analysis.lo
> ld: fatal: Symbol referencing errors. No output written to
> .libs/libvorbis.so.0.3.0

I'd never seen them before, but it turns out that both these 
functions are defined in libgcc.a. You seem to be using the Solaris 
linker with gcc, and apparently libgcc.a is not automatically 
linked in. You could try using GNU ld instead (if it does link in 
libgcc automatically), or running make with LDFLAGS=-lgcc to tell 
the Solaris linker to link with libgcc explicitly.

HTH,

Lourens

-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list