Andrew Benton wrote:

> Looking at my build log, even though I didn't specify
> --with-external-ffmpeg configure detected the installed ffmpeg and used
> it:
> checking for FFMPEG... yes
> checking for FFMPEG_UTIL... yes
> checking for FFMPEG_POSTPROC... yes
> checking ffmpeg/avutil.h usability... no
> checking ffmpeg/avutil.h presence... no
> checking for ffmpeg/avutil.h... no
> checking libavutil/avutil.h usability... yes
> checking libavutil/avutil.h presence... yes
> checking for libavutil/avutil.h... yes
> using external ffmpeg
> 
> I don't think that we need to use the --with-external-ffmpeg option as
> it seems to be the default if ffmpeg is installed.
> If I try to compile xine-lib-1.1.20 --with-external-ffmpeg=no configure
> gives a warning like this:
> 
> *********************************************************************
> xine-lib is configured to use internal ffmpeg.
> 
> This copy of ffmpeg is old. You are strongly advised to install a
> newer version (including development files) and to reconfigure
> xine-lib to use it.
> *********************************************************************
> 
> And the build fails like this:
> 
> .deps/xineplug_decode_ff_la-ff_audio_decoder.Tpo -c ff_audio_decoder.c  -fPIC 
> -DPIC -o .libs/xineplug_decode_ff_la-ff_audio_decoder.o
> ff_audio_decoder.c: In function 'ff_audio_decode':
> ff_audio_decoder.c:362:7: error: implicit declaration of function 
> 'av_parser_parse2' [-Werror=implicit-function-declaration]
> ff_audio_decoder.c:362:7: warning: nested extern declaration of 
> 'av_parser_parse2' [-Wnested-externs]
> cc1: some warnings being treated as errors

> 
> These errors are to do with the new ffmpeg api. av_parser_parse2 has
> been removed from ffmpeg. It must be picking up the headers in /usr
> before the internal headers. 
> 
> I'll do a test build tomorrow on a system without ffmpeg installed and see 
> what happens.

I'm going to be out of town for about a week.  Feel free to update the page.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to