[MPlayer-dev-eng] compiling rc4 / color management patch

Jos van Riswick josvanr at gmail.com
Mon Dec 19 00:07:29 CET 2011


hi,

I did some googeling, and it seems that in newer gcc's there has been some
changes in using assembler. I need to add some cflags:

-march=i686 -mtune=pentium4 -msse -msse2 -mmmx -m32

and then I see this one:

libmpcodecs/vf_cm.c:1021: Error: no instruction mnemonic suffix given and
no register operands; can't size instruction


.....





On Sat, Oct 1, 2011 at 1:39 AM, Jos van Riswick <josvanr at gmail.com> wrote:

> Hi
>
> I need color management in mplayer, and found this patch that provides it:
>
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2010-June/064978.html
>
> I found it can be applied to this version of mplayer:
>
> http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc4.tar.bz2
>
> Unfortunately, it doesn't compile on my ubuntu 11.04:
>
> libmpcodecs/vd_mpng.c: In function 'pngReadFN':
> libmpcodecs/vd_mpng.c:77:19: error: dereferencing pointer to incomplete
> type
> libmpcodecs/vd_mpng.c: In function 'decode':
> libmpcodecs/vd_mpng.c:114:14: error: derefersencing pointer to incomplete
> type
> libmpcodecs/vd_mpng.c:131:87: error: dereferencing pointer to incomplete
> type
> make: *** [libmpcodecs/vd_mpng.o] Error 1
>
> On many forums it says this error has something to do with libpng 1.5,
> older versions
> not having the problem. However I have libpng 1.2. .... Any help would be
> appreciated !
>
>
> Josvanr
>


More information about the MPlayer-dev-eng mailing list