Stef van der Made
2004-Jun-25 13:38 UTC
[Theora-dev] Compile problems on libtheora-1.0alpha3
Dear Developers. As a tester for gnome-2.7 I'm using the garnome build system to build gnome-2.7. A new part to this set of gnome related programs I neede libtheora. Unfortunatly did I run into compile problems when running the compile of libtheora-1.0alpha3. I'm uisng GCC-3.4.0,glibc-2.3.2. The problems are shown in the log below. Who can help me solve these issues as I'm no expert in C coding. Best regards, Stef Making all in examples mkdir .libs cc -o .libs/dump_video dump_video.o -L/usr/test/garnome3/lib -L/usr/X11R6/lib ../lib/.libs/libtheora.so /usr/local/lib/libogg.so -Wl,--rpath -Wl,/usr/test/garnome3/lib creating dump_video cc -o .libs/encoder_example encoder_example.o -L/usr/test/garnome3/lib -L/usr/X11R6/lib ../lib/.libs/libtheora.so /usr/lib/libvorbisenc.so -L/lib /usr/lib/libvorbis.so /usr/local/lib/libogg.so -lm /usr/lib/libogg.so -Wl,--rpath -Wl,/usr/test/garnome3/lib encoder_example.o(.text+0x8e2): In function `fetch_and_process_audio': : undefined reference to `vorbis_bitrate_addblock' encoder_example.o(.text+0x8f4): In function `fetch_and_process_audio': : undefined reference to `vorbis_bitrate_flushpacket' encoder_example.o(.text+0x16fc): In function `main': : undefined reference to `vorbis_encode_init_vbr' encoder_example.o(.text+0x1c37): In function `main': : undefined reference to `vorbis_granule_time' collect2: ld returned 1 exit status make[6]: *** [encoder_example] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [all] Error 2 make[3]: *** [build-work/main.d/libtheora-1.0alpha3/Makefile] Error 2 make[2]: *** [../../bootstrap/libtheora/cookies/main.d/install] Error 2 make[1]: *** [../../desktop/gst-plugins/cookies/main.d/install] Error 2 make: *** [paranoid-install] Error 2
On Saturday 26 June 2004 06:38, Stef van der Made wrote:> Dear Developers. > > As a tester for gnome-2.7 I'm using the garnome build system to build > gnome-2.7. A new part to this set of gnome related programs I neede > libtheora. Unfortunatly did I run into compile problems when running the > compile of libtheora-1.0alpha3. I'm uisng GCC-3.4.0,glibc-2.3.2.The errors you list suggest that the version of libvorbis you have installed is too old - or perhaps you have multiple versions installed, but you're linking against the wrong one? There might be a configure switch to point it at the right version (there should be). Mike