[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:
<snip>
make[1]: Leaving directory 
`/home/john/downloads/theorafiles/libvorbis-1.0.1/doc'
Making all in examples
make[1]: Entering directory 
`/home/john/downloads/theorafiles/libvorbis-1.0.1/examples'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libvorbis\" 
-DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-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 
-logg
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
make[1]: *** [decoder_example] Error 1
make[1]: Leaving directory 
`/home/john/downloads/theorafiles/libvorbis-1.0.1/examples'
make: *** [all-recursive] Error 1
</snip>
Regards,
John


More information about the Theora-dev mailing list