Re: gcc-4.8: error: invalid use of undefined type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux