[MPlayer-dev-eng] Latest SVN doesn' compile on MinGW

Diego Biurrun diego at biurrun.de
Tue Feb 3 00:50:35 CET 2009


On Tue, Feb 03, 2009 at 01:17:35AM +0200, Georgi Petrov wrote:
> 
> LZO_OUTPUT_PADDING is actually AV_LZO_OUTPUT_PADDING. Or at least I think so.
> 
> How this code got into the tree? Don't you at least try to compile it?

That was Reimar :)

> I forgot - the tree still doesn't compile because after this fix it fails with:
> 
> gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I..
> -I.. -Wundef -Wdisabled-optimization -Wdeclaration-after-statement
> -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -I.  -Ilibdvdread4
> -I/usr/local/include/freetype2 -I/usr/local/include -Ilibdvdnav   -c
> -o os_support.o os_support.c
> In file included from os_support.c:42:
> network.h:44:23: arpa/inet.h: No such file or directory
> os_support.c: In function `ff_socket_nonblock':
> os_support.c:80: warning: passing arg 3 of `ioctlsocket' from
> incompatible pointer type
> make[1]: *** [os_support.o] Error 1
> make[1]: Leaving directory `D:/Programs/msys/devel/libavformat'
> make: *** [libavformat/libavformat.a] Error 2
> 
> I honestly don't have time and energy to submit patch about it as well.

That's something else and looks specific to MinGW.  Are you sure you
have HEAD and rerun configure?  I just added quite a few definitions
for FFmpeg in there.  You could have been bitten by one of them.

Diego



More information about the MPlayer-dev-eng mailing list