gcc-4.8: error: invalid use of undefined type

Julian Sikorski belegdol at gmail.com
Sun Feb 3 16:30:08 UTC 2013


W dniu 02.02.2013 10:55, Orcan Ogetbil pisze:
> On Sat, Feb 2, 2013 at 4:33 AM, Julian Sikorski wrote:
>> Hi,
>>
>> I am having issues building mplayer using gcc-4.8. An updated srpm [1]
>> builds fine in mock for fedora-18-x86_64-rpmfusion_free target (when
>> chain-built with ffmpeg-1.1.1), but on
>> fedora-rawhide-x86_64-rpmfusion_free, it fails with the following error:
>>
>> libvo/vo_png.c: In function 'config':
>> libvo/vo_png.c:135:9: error: invalid use of undefined type 'enum
>> AVPixelFormat'
>>          avctx->pix_fmt = imgfmt2pixfmt(format);
>>          ^
>>
>> Full build log is attached. How do I fix this issue? Thank you in advance.
>>
> 
> First, it would be easier to get an answer from the mplayer or ffmpeg
> mailing lists. My second suggestion is to search for the definition of
> that enum (AVPixelFormat) and add an #include to the corresponding
> header file.
> 
> Good luck,
> Orcan
> 
Problem solved, it was a false alarm.

Julian


More information about the devel mailing list