[Ffmpeg-devel] compile vorbis error in ffmpeg using MinGW

FCG WANG Baohua Baohua.WANG
Fri Jan 27 05:39:49 CET 2006


Dear All:
 I use the ffmpeg-0.4.9-pre1 version, add "--enable-vorbis" option to compile the ffmpeg.
I had download the libvorbis-1.1.2 and libogg-1.1.3 and build , install successfully.
But when I compile the ffmpeg. it shows the following error:

ogg.o(.text+0x27):ogg.c: undefined reference to `ogg_stream_init'
ogg.o(.text+0xc6):ogg.c: undefined reference to `ogg_stream_packetin'
ogg.o(.text+0x1a9):ogg.c: undefined reference to `ogg_stream_packetin'
ogg.o(.text+0x1f4):ogg.c: undefined reference to `ogg_stream_pageout'
ogg.o(.text+0x255):ogg.c: undefined reference to `ogg_stream_flush'
ogg.o(.text+0x2c3):ogg.c: undefined reference to `ogg_stream_flush'
ogg.o(.text+0x2cf):ogg.c: undefined reference to `ogg_stream_clear'
ogg.o(.text+0x2f9):ogg.c: undefined reference to `ogg_sync_init'
ogg.o(.text+0x30a):ogg.c: undefined reference to `ogg_sync_buffer'
ogg.o(.text+0x349):ogg.c: undefined reference to `ogg_sync_wrote'
ogg.o(.text+0x355):ogg.c: undefined reference to `ogg_sync_pageout'
ogg.o(.text+0x35d):ogg.c: undefined reference to `ogg_page_serialno'
ogg.o(.text+0x369):ogg.c: undefined reference to `ogg_stream_init'
ogg.o(.text+0x377):ogg.c: undefined reference to `ogg_stream_pagein'
ogg.o(.text+0x3f9):ogg.c: undefined reference to `ogg_stream_packetout'
ogg.o(.text+0x40f):ogg.c: undefined reference to `ogg_sync_buffer'
ogg.o(.text+0x43c):ogg.c: undefined reference to `ogg_sync_wrote'
ogg.o(.text+0x448):ogg.c: undefined reference to `ogg_sync_pageout'
ogg.o(.text+0x457):ogg.c: undefined reference to `ogg_stream_pagein'
ogg.o(.text+0x509):ogg.c: undefined reference to `ogg_stream_packetout'
ogg.o(.text+0x51f):ogg.c: undefined reference to `ogg_sync_buffer'
ogg.o(.text+0x54c):ogg.c: undefined reference to `ogg_sync_wrote'
ogg.o(.text+0x558):ogg.c: undefined reference to `ogg_sync_pageout'
ogg.o(.text+0x56a):ogg.c: undefined reference to `ogg_stream_pagein'
ogg.o(.text+0x62c):ogg.c: undefined reference to `ogg_stream_clear'
ogg.o(.text+0x634):ogg.c: undefined reference to `ogg_sync_clear'
collect2: ld returned 1 exit status
make[1]: *** [avformat.dll] Error 1
make[1]: Leaving directory `/home/Administrator/ffmpeg-0.4.9-pre1/libavformat'

It seem that it cannot find the libogg. But I had put it in /MinGW/lib and  /MinGW/MSYS/local/lib, How could I do? thanks !





More information about the ffmpeg-devel mailing list