VLC 0.8.6 compile problem with ffmpeg on Gentoo
Posted: 22 Dec 2006 13:10
Using ffmpeg trunk from today I get the following errors on Gentoo Linux x86 (compiled for i686 architecture):
I also tried a few random earlier revisions of ffmpeg with no success.
Ffmpeg configure:
VLC configure:
I'm not quite sure what's happening here. Any help is much appreciated.
Code: Select all
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video.o): In function `DecodeVideo__ffmpeg':
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/video.c:834: undefined reference to `img_convert'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video_filter.o): In function `CloseFilter__ffmpeg':
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/video_filter.c:175: undefined reference to `img_resample_close'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video_filter.o): In function `CheckInit':
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/video_filter.c:291: undefined reference to `img_resample_full_init'
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/video_filter.c:219: undefined reference to `img_resample_close'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video_filter.o): In function `Process':
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/video_filter.c:469: undefined reference to `img_resample'
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/video_filter.c:518: undefined reference to `img_convert'
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/video_filter.c:530: undefined reference to `img_resample'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o): In function `OpenChroma__ffmpeg':
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/chroma.c:99: undefined reference to `img_resample_init'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o): In function `ChromaConversion':
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/chroma.c:161: undefined reference to `img_convert'
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/chroma.c:165: undefined reference to `img_resample'
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/chroma.c:170: undefined reference to `img_convert'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o): In function `CloseChroma__ffmpeg':
/home/bjorn/src/vlc-0.8.6/modules/codec/ffmpeg/chroma.c:186: undefined reference to `img_resample_close'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/bjorn/src/vlc-0.8.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bjorn/src/vlc-0.8.6'
make: *** [all] Error 2
Ffmpeg configure:
Code: Select all
./configure \
--enable-gpl \
--enable-static \
--enable-pthreads \
--enable-swscaler \
--enable-pp \
Code: Select all
./configure \
--enable-debug \
--enable-ffmpeg \
--enable-dvbpsi \
--disable-x264 \
--disable-a52 \
--disable-x11 \
--disable-xvideo \
--disable-glx \
--disable-gtk \
--disable-xinerama \
--disable-opengl \
--disable-sdl \
--disable-wxwidgets \
--disable-alsa \
--with-dvbpsi=$SRC/libdvbpsi/src \
--with-dvbpsi-tree=$SRC/libdvbpsi \
--with-libmpeg2-tree=$SRC/mpeg2dec-trunk \
--with-ffmpeg-tree=$SRC/ffmpeg-trunk \
--with-ffmpeg-zlib \