[MPlayer-cygwin] Error compiling Mplayer: in libmpcodecs/vd_mpng.o

compn tempn at twmi.rr.com
Wed Jul 28 15:50:27 CEST 2010


On Wed, 28 Jul 2010 14:41:04 +0300, Eugene Kovgar wrote:
>> On Wed, 28 Jul 2010 04:15:58 +0300, Eugene Kovgar wrote:
>>> All time I got an error during Mplayer compilation:
>>>
>>> In file included from C:/MinGW/MSYS/home/Eugene/include/zlib.h:34:0,
>>>                  from C:/MinGW/MSYS/home/Eugene/include/png.h:408,
>>>                  from libmpcodecs/vd_mpng.c:25:
>>> C:/MinGW/MSYS/home/Eugene/include/zconf.h:397:37: warning:
>>> "_LFS64_LARGEFILE" is not defined
>>> In file included from C:/MinGW/MSYS/home/Eugene/include/png.h:408:0,  
>>> from
>>> libmpcodecs/vd_mpng.c:25:
>>> C:/MinGW/MSYS/home/Eugene/include/zlib.h:1565:37: warning:
>>> "_LFS64_LARGEFILE" is not defined
>>> C:/MinGW/MSYS/home/Eugene/include/zlib.h:1574:61: warning:
>>> "_LFS64_LARGEFILE" is not defined
>>> 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: dereferencing pointer to incomplete
>>> type
>>> libmpcodecs/vd_mpng.c:131:87: error: dereferencing pointer to incomplete
>>> type
>>> make: *** [libmpcodecs/vd_mpng.o] Error 1
>>>
>>> Any suggestion?
>>
>> old libpng? old zlib? are you using mingw64?
>>
>> unrelated, but you might want this patch:
>> http://oss.netfarm.it/mplayer/misc/mingwrt_file64.diff
>>
>> that netfarm site has libs and mingw enviroments if you need it.
>>
>> -compn
>
>1) libpng-1.5.0beta34
>2) zlib-1.2.5
>3) I'm not using MinGW64, but MinGW with GCC 4.5

does an older ver of gcc work? maybe gcc 4.2 ?
i remember sherpya had some trouble with latest gcc and mingw, but i
dont remember the details.

-compn


More information about the MPlayer-cygwin mailing list