Re: Error compiling Mplayer: in libmpcodecs/vd_mpng.o

compn <[email protected]> Tue, 27 Jul 2010 22:34:45 -0400
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
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