tj wrote:
> I am fighting a war just trying to confugre transcode. It keeps
> complaining about avcodec.h from ffmpeg. I downloaded ffmeg and built it
> and placed the lib .so's in /usr/local/lib and the headers from each in
> /usr/include/ffmeg.
> 
> Now the latest error in config.log:
> configure:27777: checking ffmpeg/avcodec.h usability
> configure:27789: gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET
> _BITS=64 -g -O2  -I/usr/include/ conftest.c >&5
> In file included from conftest.c:112:
> /usr/include/ffmpeg/avcodec.h:667: error: redefinition of `struct AVCLASS'
> 
> and sure enough it is defined in ffmeg/avcodec.h and ffmeg/log.h. But,
> deleting log.h causes an error because it is missing.

Hmmm... My ffmpeg install has no file "log.h". It would be interesting
to know what version of ffmpeg you are using.

There *is* a log.h in my mplayer libavutil... so maybe you are
using a bleeding edge version off ffmpeg? Try backing off to
ffmpeg from June 2 with transcode 1.0.2. A later version of
ffmpeg may work, but I have only tested up to june 2.

Note that ffmpeg and mplayer leapfrog each other... That's their
development model.

Reply via email to