king all in vorbisfile make[2]: Entering directory `/home/ronan/libvorbis-1.0.1/doc/vorbisfile' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ronan/libvorbis-1.0.1/doc/vorbisfile' Making all in vorbisenc make[2]: Entering directory `/home/ronan/libvorbis-1.0.1/doc/vorbisenc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ronan/libvorbis-1.0.1/doc/vorbisenc' make[2]: Entering directory `/home/ronan/libvorbis-1.0.1/doc' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/ronan/libvorbis-1.0.1/doc' make[1]: Leaving directory `/home/ronan/libvorbis-1.0.1/doc' Making all in examples make[1]: Entering directory `/home/ronan/libvorbis-1.0.1/examples' /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 collect2: ld returned 1 exit status make[1]: *** [decoder_example] Error 1 make[1]: Leaving directory `/home/ronan/libvorbis-1.0.1/examples' make: *** [all-recursive] Error 1 [ronan@a9015 libvorbis-1.0.1]$ which ld /usr/bin/ld [ronan@a9015 libvorbis-1.0.1]$ anyone come accross this before? ronan
On Wed, 09 Mar 2005 12:52:42 +0000, R McGlue <r.mcglue@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 -lmYou 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