[vorbis-dev] Re: [vorbis] vorbisfile.o givng me problems
Greg Wooledge
greg at wooledge.org
Mon Nov 19 03:39:20 PST 2001
mchavez (mchavez at colorado.edu) wrote:
> gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -DUSE_MEMORY_H
> -o seeking_example seeking_example.o ../lib/.libs/libvorbisfile.a -lm -logg
> ../lib/.libs/libvorbis.a -lm -logg -lm -L/usr/local/lib/lib -logg
> ../lib/.libs/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek_page':
> vorbisfile.o(.text+0x19fc): undefined reference to `ogg_stream_packetpeek'
It appears that the linker is not finding a working "-logg". I'm betting
that's because you have "-L/usr/local/lib/lib" instead of "-L/usr/local/lib".
Perhaps you passed "--with-ogg-prefix=/usr/local/lib" to ./configure
instead of "--with-ogg-prefix=/usr/local" which would be correct.
However, I must admit that I'm a bit surprised not to see any errors of
the form "ld: cannot find '-logg'".
--
Greg Wooledge | "Truth belongs to everybody."
greg at wooledge.org | - The Red Hot Chili Peppers
http://wooledge.org/~greg/ |
<HR NOSHADE>
<UL>
<LI>application/pgp-signature attachment: stored
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/octet-stream
Size: 241 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20011119/124a6d12/part-0001.obj
More information about the Vorbis-dev
mailing list