[Vorbis] compile error

Michael Smith mlrsmith at gmail.com
Wed Mar 9 16:33:57 PST 2005


On Wed, 09 Mar 2005 12:52:42 +0000, R McGlue <r.mcglue at qub.ac.uk> wrote:
<snip>
> /bin/sh ../libtool --mode=link gcc  -O20 -ffast-math -mno-ieee-fp
> -D_REENTRANT -fsigned-char  -DUSE_MEMORY_H -all-static -o
> decoder_example  decoder_example.o ../lib/libvorbis.la -lm  -logg
> gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char
> -DUSE_MEMORY_H -static -o decoder_example decoder_example.o
> ../lib/.libs/libvorbis.a -lm /usr/lib/libogg.a
> /usr/bin/ld: cannot find -lm

You forgot to tell us what OS you're running. Perhaps it's something
without a seperate libm, in which case you might need to edit
Makefile.am to fix things up?

Also, you're using a pretty old version of libvorbis, you should be
using libvorbis 1.1.

Mike


More information about the Vorbis mailing list