I have been having problems compling vorbis on my computer( running redhat 7.1 ), it gives me a bunch of errors about vorbisfile.o( at least that what the errors are complaining about...I don't know enough to figure out what is wrong ). Below is the output I get from compile: Making all in examples make[1]: Entering directory `/home/mchavez/devel/vorbis/examples' /bin/sh ../libtool --mode=link gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -DUSE_MEMORY_H -static -o chaining_example chaining_example.o ../lib/libvorbisfile.la ../lib/libvorbis.la -lm -L/usr/local/lib/lib -logg /bin/sh ../libtool --mode=link gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -DUSE_MEMORY_H -static -o vorbisfile_example vorbisfile_example.o ../lib/libvorbisfile.la ../lib/libvorbis.la -lm -L/usr/local/lib/lib -logg /bin/sh ../libtool --mode=link gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -DUSE_MEMORY_H -static -o seeking_example seeking_example.o ../lib/libvorbisfile.la ../lib/libvorbis.la -lm -L/usr/local/lib/lib -logg gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -DUSE_MEMORY_H -o chaining_example chaining_example.o ../lib/.libs/libvorbisfile.a -lm -logg ../lib/.libs/libvorbis.a -lm -logg -lm -L/usr/local/lib/lib -logg gcc -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -DUSE_MEMORY_H -o vorbisfile_example vorbisfile_example.o ../lib/.libs/libvorbisfile.a -lm -logg ../lib/.libs/libvorbis.a -lm -logg -lm -L/usr/local/lib/lib -logg 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' ../lib/.libs/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek': vorbisfile.o(.text+0x1c32): undefined reference to `ogg_stream_packetpeek' collect2: ld returned 1 exit status make[1]: *** [vorbisfile_example] Error 1 make[1]: *** Waiting for unfinished jobs.... ../lib/.libs/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek_page': vorbisfile.o(.text+0x19fc): undefined reference to `ogg_stream_packetpeek' ../lib/.libs/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek': vorbisfile.o(.text+0x1c32): undefined reference to `ogg_stream_packetpeek' collect2: ld returned 1 exit status make[1]: *** [chaining_example] Error 1 ../lib/.libs/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek_page': vorbisfile.o(.text+0x19fc): undefined reference to `ogg_stream_packetpeek' ../lib/.libs/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek': vorbisfile.o(.text+0x1c32): undefined reference to `ogg_stream_packetpeek' collect2: ld returned 1 exit status make[1]: *** [seeking_example] Error 1 make: *** [all-recursive] Error 1 If anyone has a clue as to what is wrong I would appreciate a heads up...thnx for your help. -- ~mchavez "Let us so live that when we come to die even the undertaker will be sorry." ~Mark Twain --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Greg Wooledge
2001-Nov-19 03:39 UTC
[vorbis-dev] Re: [vorbis] vorbisfile.o givng me problems
mchavez (mchavez@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@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.obj
At 12:44 AM 11/19/01 -0700, you wrote:>I have been having problems compling vorbis on my computer( running redhat >7.1 ), it gives me a bunch of errors about vorbisfile.o( at least that what >the errors are complaining about...I don't know enough to figure out what is >wrong ).Your libogg is out of date - you need to update it to get these new functions. If you have updated libogg, then you probably _also_ have an old version lying around elsewhere on your system - get rid of it. Michael p.s. Please do NOT cross-post to vorbis and vorbis-dev, it's unnecessary and annoying. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, Nov 19, 2001 at 12:44:18AM -0700, mchavez wrote:> I have been having problems compling vorbis on my computer( running redhat > 7.1 ), it gives me a bunch of errors about vorbisfile.o( at least that what > the errors are complaining about...I don't know enough to figure out what is > wrong ).Mike Smith is correct. Your libogg needs to be updated. Monty --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
greg@wooledge.org wrote: However, I must admit that I'm a bit surprised not to see any errors of the form "ld: cannot find '-logg'". Maybe the libraries exist, but have been stripped? :) Greetings, Michael. -- Fight the government power grab following the World Trade Center and Pentagon attacks! Use encryption now more than ever! http://www.gnupg.org/ 1024D/43A83C36 1999-11-12 Michael Stroucken (personal) Michael Stroucken ++ michael@stroucken.org ++ DEC Alpha ++ 1982 Honda CM450C --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> This is *not* the problem. Please pay attention to the thread if > you're responding.Calm down. I did read all 4 previous messages, and it looked like it could have been a stripped lib. Greetings, Michael. -- Fight the government power grab following the World Trade Center and Pentagon attacks! Use encryption now more than ever! http://www.gnupg.org/ 1024D/43A83C36 1999-11-12 Michael Stroucken (personal) Michael Stroucken ++ michael@stroucken.org ++ DEC Alpha ++ 1982 Honda CM450C --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.