[MPlayer-cygwin] Error compiling r27465

rvm rvm3000 at gmail.com
Tue Aug 26 13:38:54 CEST 2008


The same problem compiling r27482:

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization
-Wdeclaration-after-statement -std=gnu99 -I. -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -march=i486 -mtune=i686 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/home/ricardo/directx/
-I/home/ricardo/live/ -Ij:/mingw/include/freetype2 -Ij:/mingw/include
-Ij:/mingw/include   -c -o os_support.o os_support.c
In file included from ../libavutil/common.h:40,
                 from ../libavutil/avutil.h:56
                 from ../libavcodec/avcodec.h:30,
                 from avformat.h:45,
                 from os_support.c:27:
j:/mingw/include/errno.h:91: warning: redundant redeclaration of '_errno'
j:/mingw/include/stdlib.h:137: warning: previous declaration of
'_errno' was here
In file included from j:/mingw/include/unistd.h:10,
                 from os_support.c:28:
j:/mingw/include/io.h:242: warning: redundant redeclaration of 'remove'
j:/mingw/include/stdio.h:174: warning: previous declaration of 'remove' was here
j:/mingw/include/io.h:243: warning: redundant redeclaration of 'rename'
j:/mingw/include/stdio.h:175: warning: previous declaration of 'rename' was here
j:/mingw/include/io.h:252: warning: redundant redeclaration of '_unlink'
j:/mingw/include/stdio.h:182: warning: previous declaration of
'_unlink' was here
j:/mingw/include/io.h:301: warning: redundant redeclaration of 'unlink'
j:/mingw/include/stdio.h:187: warning: previous declaration of 'unlink' was here
In file included from os_support.c:31:
os_support.h:35:1: warning: "lseek" redefined
In file included from j:/mingw/include/unistd.h:10,
                 from os_support.c:28:
j:/mingw/include/io.h:332:1: warning: this is the location of the
previous definition
In file included from os_support.c:42
network.h:33:24: sys/socket.h: No such file or directory
network.h:34:24: netinet/in.h: No such file or directory
network.h:35:19: netdb.h: No such file or directory
os_support.c: In function `inet_aton':
os_support.c:57: error: dereferencing pointer to incomplete type
os_support.c: In function `resolve_host':
os_support.c:69: warning: implicit declaration of function `gethostbyname'
os_support.c:69: warning: assignment makes pointer from integer without a cast
os_support.c:72: error: dereferencing pointer to incomplete type
os_support.c:72: error: invalid application of `sizeof' to incomplete
type `in_addr'
os_support.c: In function `ff_socket_nonblock':
os_support.c:83: warning: implicit declaration of function `fcntl'
os_support.c:83: error: `F_SETFL' undeclared (first use in this function)
os_support.c:83: error: (Each undeclared identifier is reported only once
os_support.c:83: error: for each function it appears in.)
os_support.c:83: error: `F_GETFL' undeclared (first use in this function)
os_support.c:83: error: `O_NONBLOCK' undeclared (first use in this function)
os_support.c:83: warning: redundant redeclaration of 'fcntl'
os_support.c:83: warning: previous implicit declaration of 'fcntl' was here
make[1]: *** [os_support.o] Error 1
make[1]: Leaving directory `/home/ricardo/mplayer/libavformat'
make: *** [libavformat/libavformat.a] Error 2


Any fix for this?

-- 
RVM



More information about the MPlayer-cygwin mailing list