VLC 0.8.6 compile problem with ffmpeg on Gentoo

*nix specific usage questions
jared1999
New Cone
New Cone
Posts: 7
Joined: 11 Nov 2005 14:59

VLC 0.8.6 compile problem with ffmpeg on Gentoo

Postby jared1999 » 22 Dec 2006 13:10

Using ffmpeg trunk from today I get the following errors on Gentoo Linux x86 (compiled for i686 architecture):

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
I also tried a few random earlier revisions of ffmpeg with no success.

Ffmpeg configure:

Code: Select all

./configure \ --enable-gpl \ --enable-static \ --enable-pthreads \ --enable-swscaler \ --enable-pp \
VLC configure:

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 \
I'm not quite sure what's happening here. Any help is much appreciated.

gohanz
Blank Cone
Blank Cone
Posts: 10
Joined: 12 Dec 2006 15:36

Postby gohanz » 22 Dec 2006 20:32

Try to remove --enable-swscaler from the FFmpeg's configure. I haved same problem with recent version of FFmpeg. Solved after removed the flags

--enable-swscaler
--enable-x264
--enable-dc1394

from the FFmpeg configure

jared1999
New Cone
New Cone
Posts: 7
Joined: 11 Nov 2005 14:59

Postby jared1999 » 26 Jan 2007 23:27

Thanks, it worked. I ended up creating a minimal VLC compile using only the features I need as I encountered some other compile issues. Compiling VLC on Gentoo isn't for the faint of heart. :)


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests