Error compiling Mplayer: in libmpcodecs/vd_mpng.o

"Eugene Kovgar" <[email protected]> Wed, 28 Jul 2010 04:15:58 +0300
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <op.vgi4gw0ledexhr@shit-80c64d9d78>
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?