On Tue, 20 Dec 2011 18:33:49 +0100 "Dr.-Ing. Edgar Alwers" <[email protected]> wrote:
> I am trying to build strigi-0.7.5, but "make" is crashing at 75% with some > errors like ( the first one ) > > "strigi-0.7.5/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:351:64: > error: 'CODEC_TYPE_AUDIO' was not declared in this scope" > > Googling a little, I found recent similar errors and somebody wrote: > > " .... to make it compatible with ffmpeg v0.8 because CODEC_TYPE_*** was not > defined. It > was replaced with AVMEDIA_TYPE_*** " > > Well, I built FFmpeg-0.9, which is the latest version I found. It seems to > me, strigi is complaining about ffmpeg, what I do not understand. > > Can somebody help ? I can't test compiling strigi as it depends on qt. However, sox has a very similar problem with current ffmpeg and I fix sox with: sed -i '/ffmpeg.h/a#define PKT_FLAG_KEY AV_PKT_FLAG_KEY /ffmpeg.h/a#define CODEC_TYPE_AUDIO AVMEDIA_TYPE_AUDIO' src/ffmpeg.c So perhaps it may be possible to fix strigi in a similar manner? Perhaps: sed -i '/ffmpeg.h/a#define CODEC_TYPE_AUDIO AVMEDIA_TYPE_AUDIO' \ libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
