[Theora-dev] building theora

John Kintree jkintree at swbell.net
Sun Sep 12 13:38:04 PDT 2004

On Sunday 12 September 2004 02:59 pm, Ralph Giles wrote:
> This is weird. If it's the 'can't find libm' problem again, it's
> probably just that you're missing the package with the static version.

This was the problem:
make[1]: Leaving directory 
Making all in examples
make[1]: Entering directory 
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.  -I../include     -O20 -ffast-math 
-mno-ieee-fp -D_REENTRANT -fsigned-char  -DUSE_MEMORY_H -c decoder_example.c
/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
mkdir .libs
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/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
make[1]: *** [decoder_example] Error 1
make[1]: Leaving directory 
make: *** [all-recursive] Error 1

More information about the Theora-dev mailing list