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

Eugene Kovgar ken20001 at ukr.net
Wed Jul 28 13:41:04 CEST 2010


> 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
4) Patch mingwrt_file64.diff are already applied.

Mplayer configured with following options:

./configure --prefix=/home/Eugene --enable-static --enable-largefiles  
--enable-runtime-cpudetection --disable-tremor-internal  
--disable-faad-internal --enable-mng --enable-menu --enable-unrarexec  
--enable-dynamic-plugins



More information about the MPlayer-cygwin mailing list