Skip to content

Instantly share code, notes, and snippets.

Created December 29, 2013 16:04
Show Gist options
  • Save anonymous/8171888 to your computer and use it in GitHub Desktop.
Save anonymous/8171888 to your computer and use it in GitHub Desktop.
cygwin patches
From 1995f078813d7fd3782b5d01d99c7878881e5d82 Mon Sep 17 00:00:00 2001
From: isBEKaml <svatsan@users.noreply.github.com>
Date: Sun, 29 Dec 2013 21:27:58 +0530
Subject: [PATCH] First steps towards cygwin build for MoarVM
There are still some issues that prevent me from a successful build.
For instance, there are numerous function signature collisions between
libuv and windows api. I have no idea how to resolve these now.
---
build/setup.pm | 23 ++++++++++++++++++++++-
src/io/fileops.c | 3 +++
src/platform/win32/io.c | 8 +-------
3 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/build/setup.pm b/build/setup.pm
index a62969b..5c24756 100755
--- a/build/setup.pm
+++ b/build/setup.pm
@@ -354,6 +354,27 @@ our %OS_WIN32 = (
},
);
+our %OS_CYGWIN = (
+ exe => '.exe',
+ defs => [ qw( _POSIX_BARRIERS=1 ) ],
+ syslibs => [ qw( msvcrt shell32 ws2_32 mswsock rpcrt4 advapi32 psapi iphlpapi ) ],
+ platform => '$(PLATFORM_WIN32)',
+
+ dllimport => '__declspec(dllimport)',
+ dllexport => '__declspec(dllexport)',
+ dlllocal => '',
+
+ -thirdparty => {
+ # header only, no need to build anything
+ lao => undef,
+
+ uv => {
+ %TP_UVDUMMY,
+ src => [ qw( 3rdparty/libuv/src 3rdparty/libuv/src/win ) ],
+ },
+ },
+);
+
our %OS_MINGW32 = (
%OS_WIN32,
@@ -468,7 +489,7 @@ our %SYSTEMS = (
freebsd => [ qw( posix bsd clang ), { %OS_FREEBSD } ],
solaris => [ qw( posix posix cc ), { %OS_SOLARIS } ],
win32 => [ qw( win32 msvc cl ), { %OS_WIN32 } ],
- cygwin => [ qw( posix gnu gcc ), { %OS_WIN32 } ],
+ cygwin => [ qw( posix gnu gcc ), { %OS_CYGWIN } ],
mingw32 => [ qw( win32 gnu gcc ), { %OS_MINGW32 } ],
);
diff --git a/src/io/fileops.c b/src/io/fileops.c
index 870fb84..e2794a1 100644
--- a/src/io/fileops.c
+++ b/src/io/fileops.c
@@ -12,6 +12,9 @@
#define O_WRONLY _O_WRONLY
#define O_TRUNC _O_TRUNC
#define DEFAULT_MODE _S_IWRITE /* work around sucky libuv defaults */
+#define SEEK_SET FILE_BEGIN
+#define SEEK_CUR FILE_CURRENT
+#define SEEK_END FILE_END
#endif
#if MVM_HAS_READLINE
diff --git a/src/platform/win32/io.c b/src/platform/win32/io.c
index f7e69ac..ac2bf4d 100644
--- a/src/platform/win32/io.c
+++ b/src/platform/win32/io.c
@@ -1,12 +1,6 @@
#include <moar.h>
#include <platform/io.h>
-
-/* undocumented, so check if these really hold */
-#if SEEK_SET != FILE_BEGIN || \
- SEEK_CUR != FILE_CURRENT || \
- SEEK_END != FILE_END
-#error "Standard and WinAPI seek modes not compatible"
-#endif
+#include <windows.h>
static wchar_t * UTF8ToUnicode(const char *str)
{
--
1.7.9
compiling 3rdparty/libuv/src/win/async.o
3rdparty/libuv/src/win/async.c:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
In file included from 3rdparty/libuv/src/win/internal.h:29:0,
from 3rdparty/libuv/src/win/async.c:25:
3rdparty/libuv/src/win/winapi.h:4560:15: error: unknown type name ‘LPOVERLAPPED_ENTRY’
3rdparty/libuv/src/win/winapi.h:4580:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4583:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4586:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4589:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4592:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4595:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4598:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4601:15: error: unknown type name ‘PCONDITION_VARIABLE’
3rdparty/libuv/src/win/winapi.h:4604:15: error: unknown type name ‘PCONDITION_VARIABLE’
3rdparty/libuv/src/win/winapi.h:4609:15: error: unknown type name ‘PCONDITION_VARIABLE’
3rdparty/libuv/src/win/winapi.h:4610:15: error: unknown type name ‘PSRWLOCK’
3rdparty/libuv/src/win/winapi.h:4615:15: error: unknown type name ‘PCONDITION_VARIABLE’
3rdparty/libuv/src/win/winapi.h:4618:15: error: unknown type name ‘PCONDITION_VARIABLE’
3rdparty/libuv/src/win/winapi.h:4631:1: error: unknown type name ‘sGetQueuedCompletionStatusEx’
3rdparty/libuv/src/win/winapi.h:4635:1: error: unknown type name ‘sInitializeSRWLock’
3rdparty/libuv/src/win/winapi.h:4636:1: error: unknown type name ‘sAcquireSRWLockShared’
3rdparty/libuv/src/win/winapi.h:4637:1: error: unknown type name ‘sAcquireSRWLockExclusive’
3rdparty/libuv/src/win/winapi.h:4638:1: error: unknown type name ‘sTryAcquireSRWLockShared’
3rdparty/libuv/src/win/winapi.h:4639:1: error: unknown type name ‘sTryAcquireSRWLockExclusive’
3rdparty/libuv/src/win/winapi.h:4640:1: error: unknown type name ‘sReleaseSRWLockShared’
3rdparty/libuv/src/win/winapi.h:4641:1: error: unknown type name ‘sReleaseSRWLockExclusive’
3rdparty/libuv/src/win/winapi.h:4642:1: error: unknown type name ‘sInitializeConditionVariable’
3rdparty/libuv/src/win/winapi.h:4643:1: error: unknown type name ‘sSleepConditionVariableCS’
3rdparty/libuv/src/win/winapi.h:4644:1: error: unknown type name ‘sSleepConditionVariableSRW’
3rdparty/libuv/src/win/winapi.h:4645:1: error: unknown type name ‘sWakeAllConditionVariable’
3rdparty/libuv/src/win/winapi.h:4646:1: error: unknown type name ‘sWakeConditionVariable’
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:56:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_fd_types.h:100:2: warning: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets" [-Wcpp]
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:57:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_types.h:25:8: error: redefinition of ‘struct hostent’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:79:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:57:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_types.h:33:8: error: redefinition of ‘struct netent’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:93:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:57:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_types.h:40:8: error: redefinition of ‘struct servent’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:48:10: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:57:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_types.h:52:8: error: redefinition of ‘struct protoent’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:107:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:57:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_types.h:63:8: error: redefinition of ‘struct linger’
In file included from /usr/include/sys/socket.h:16:0,
from 3rdparty/libuv/include/uv-unix.h:29,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/socket.h:62:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:57:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_types.h:70:8: error: redefinition of ‘struct sockaddr’
In file included from /usr/include/sys/socket.h:16:0,
from 3rdparty/libuv/include/uv-unix.h:29,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/socket.h:31:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:57:0,
from 3rdparty/libuv/src/win/winsock.h:25,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_types.h:75:8: error: redefinition of ‘struct sockaddr_in’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:189:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:260:10: error: redefinition of ‘struct sockaddr_storage’
In file included from /usr/include/sys/socket.h:16:0,
from 3rdparty/libuv/include/uv-unix.h:29,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/socket.h:43:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:964:37: error: conflicting types for ‘accept’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:25:7: note: previous declaration of ‘accept’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:965:34: error: conflicting types for ‘bind’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:27:7: note: previous declaration of ‘bind’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:967:34: error: conflicting types for ‘connect’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:28:7: note: previous declaration of ‘connect’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:969:34: error: conflicting types for ‘getpeername’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:29:7: note: previous declaration of ‘getpeername’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:970:34: error: conflicting types for ‘getsockname’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:30:7: note: previous declaration of ‘getsockname’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:971:34: error: conflicting types for ‘getsockopt’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:42:7: note: previous declaration of ‘getsockopt’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:973:37: error: conflicting types for ‘htonl’
In file included from /usr/include/cygwin/in.h:256:0,
from /usr/include/netinet/in.h:14,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/asm/byteorder.h:28:17: note: previous declaration of ‘htonl’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:974:38: error: conflicting types for ‘htons’
In file included from /usr/include/cygwin/in.h:256:0,
from /usr/include/netinet/in.h:14,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/asm/byteorder.h:29:17: note: previous declaration of ‘htons’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:976:48: error: conflicting types for ‘inet_addr’
In file included from 3rdparty/libuv/include/uv-unix.h:32:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/arpa/inet.h:22:11: note: previous declaration of ‘inet_addr’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:977:36: error: conflicting types for ‘inet_ntoa’
In file included from 3rdparty/libuv/include/uv-unix.h:32:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/arpa/inet.h:28:7: note: previous declaration of ‘inet_ntoa’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:978:34: error: conflicting types for ‘listen’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:31:7: note: previous declaration of ‘listen’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:980:37: error: conflicting types for ‘ntohl’
In file included from /usr/include/cygwin/in.h:256:0,
from /usr/include/netinet/in.h:14,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/asm/byteorder.h:26:17: note: previous declaration of ‘ntohl’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:981:38: error: conflicting types for ‘ntohs’
In file included from /usr/include/cygwin/in.h:256:0,
from /usr/include/netinet/in.h:14,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/asm/byteorder.h:27:17: note: previous declaration of ‘ntohs’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:983:34: error: conflicting types for ‘recv’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:32:11: note: previous declaration of ‘recv’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:984:34: error: conflicting types for ‘recvfrom’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:33:11: note: previous declaration of ‘recvfrom’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:986:34: error: conflicting types for ‘select’
In file included from /usr/include/cygwin/sys_time.h:13:0,
from /usr/include/sys/time.h:61,
from /usr/include/sys/_default_fcntl.h:186,
from /usr/include/sys/fcntl.h:3,
from /usr/include/fcntl.h:14,
from 3rdparty/libuv/include/uv-unix.h:27,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/select.h:31:5: note: previous declaration of ‘select’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:988:34: error: conflicting types for ‘send’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:36:11: note: previous declaration of ‘send’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:989:34: error: conflicting types for ‘sendto’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:38:11: note: previous declaration of ‘sendto’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:990:34: error: conflicting types for ‘setsockopt’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:40:7: note: previous declaration of ‘setsockopt’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:991:34: error: conflicting types for ‘shutdown’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:44:7: note: previous declaration of ‘shutdown’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:992:37: error: conflicting types for ‘socket’
In file included from 3rdparty/libuv/include/uv-unix.h:29:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/sys/socket.h:45:7: note: previous declaration of ‘socket’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:993:46: error: conflicting types for ‘gethostbyaddr’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:194:17: note: previous declaration of ‘gethostbyaddr’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:994:46: error: conflicting types for ‘gethostbyname’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:195:17: note: previous declaration of ‘gethostbyname’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:996:46: error: conflicting types for ‘getservbyport’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:205:17: note: previous declaration of ‘getservbyport’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:997:46: error: conflicting types for ‘getservbyname’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:204:17: note: previous declaration of ‘getservbyname’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:998:47: error: conflicting types for ‘getprotobynumber’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:202:18: note: previous declaration of ‘getprotobynumber’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:25:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/winsock2.h:999:47: error: conflicting types for ‘getprotobyname’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:201:18: note: previous declaration of ‘getprotobyname’ was here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:12:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/psdk_inc/_ip_mreq1.h:12:8: error: redefinition of ‘struct ip_mreq’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:127:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:14:8: error: redefinition of ‘struct ip_mreq_source’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:133:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:20:8: error: redefinition of ‘struct ip_msfilter’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:140:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:63:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2ipdef.h:18:16: error: redefinition of ‘struct ipv6_mreq’
In file included from /usr/include/cygwin/in.h:267:0,
from /usr/include/netinet/in.h:14,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in6.h:88:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:63:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2ipdef.h:36:8: error: redefinition of ‘struct sockaddr_in6’
In file included from /usr/include/cygwin/in.h:267:0,
from /usr/include/netinet/in.h:14,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in6.h:104:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:63:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2ipdef.h:59:3: error: expected identifier before numeric constant
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2ipdef.h:74:16: error: redefinition of ‘struct group_filter’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:174:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:63:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2ipdef.h:82:16: error: redefinition of ‘struct group_req’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:161:8: note: originally defined here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:63:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2ipdef.h:87:16: error: redefinition of ‘struct group_source_req’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:167:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:81:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:81:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:81:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:82:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:82:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:82:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:83:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:83:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:83:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:84:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:84:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:84:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:84:5: error: expected ‘)’ before ‘==’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:85:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:85:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:85:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:85:5: error: expected ‘)’ before ‘==’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:86:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:86:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:86:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:87:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:87:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:87:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:88:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:88:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:88:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:88:5: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:89:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:89:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:89:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:89:5: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:90:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:90:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:90:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:90:5: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:91:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:91:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:91:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:91:5: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:92:5: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:92:5: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:92:5: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:92:5: error: expected ‘)’ before ‘&&’ token
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:101:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:101:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:101:21: error: expected ‘)’ before ‘[’ token
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:102:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:102:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:102:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:103:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:103:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:103:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:104:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:104:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:104:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:104:21: error: expected ‘)’ before ‘==’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:105:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:105:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:105:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:105:21: error: expected ‘)’ before ‘==’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:106:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:106:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:106:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:107:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:107:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:107:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:108:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:108:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:108:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:108:21: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:109:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:109:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:109:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:109:21: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:110:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:110:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:110:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:110:21: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:111:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:111:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:111:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:111:21: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:112:21: error: expected identifier or ‘(’ before ‘const’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:112:21: error: expected ‘)’ before ‘(’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:112:21: error: expected ‘)’ before ‘[’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:112:21: error: expected ‘)’ before ‘&&’ token
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h: In function ‘IN6_SET_ADDR_UNSPECIFIED’:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:115:77: error: ‘struct in6_addr’ has no member named ‘s6_bytes’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h: In function ‘IN6_SET_ADDR_LOOPBACK’:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:117:11: error: ‘struct in6_addr’ has no member named ‘s6_bytes’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:118:4: error: ‘struct in6_addr’ has no member named ‘s6_bytes’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h: At top level:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:152:16: error: redefinition of ‘struct in_pktinfo’
In file included from /usr/include/netinet/in.h:14:0,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in.h:153:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:153:3: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:159:16: error: redefinition of ‘struct in6_pktinfo’
In file included from /usr/include/cygwin/in.h:267:0,
from /usr/include/netinet/in.h:14,
from 3rdparty/libuv/include/uv-unix.h:30,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/cygwin/in6.h:94:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:160:3: error: unknown type name ‘IN6_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:164:1: error: size of unnamed array is negative
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:178:16: error: redefinition of ‘struct addrinfo’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:121:8: note: originally defined here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:220:34: error: conflicting types for ‘getaddrinfo’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:219:6: note: previous declaration of ‘getaddrinfo’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:236:35: error: conflicting types for ‘freeaddrinfo’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:217:7: note: previous declaration of ‘freeaddrinfo’ was here
In file included from 3rdparty/libuv/src/win/winsock.h:28:0,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:254:34: error: conflicting types for ‘getnameinfo’
In file included from 3rdparty/libuv/include/uv-unix.h:33:0,
from 3rdparty/libuv/include/uv.h:64,
from 3rdparty/libuv/src/win/async.c:24:
/usr/include/netdb.h:221:6: note: previous declaration of ‘getnameinfo’ was here
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:287:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:101:1: error: unknown type name ‘IN6_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:102:1: error: unknown type name ‘IN6_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:104:1: error: unknown type name ‘IN6_ADDR’
In file included from /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/ws2tcpip.h:287:0,
from 3rdparty/libuv/src/win/winsock.h:28,
from 3rdparty/libuv/src/win/internal.h:30,
from 3rdparty/libuv/src/win/async.c:25:
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:105:1: error: unknown type name ‘IN6_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:108:1: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:109:1: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:112:1: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:113:1: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:116:80: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:117:82: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:120:75: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:121:76: error: unknown type name ‘IN_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:124:59: error: unknown type name ‘IN6_ADDR’
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api/mstcpip.h:125:60: error: unknown type name ‘IN6_ADDR’
In file included from 3rdparty/libuv/src/win/async.c:25:0:
3rdparty/libuv/src/win/internal.h:349:41: error: unknown type name ‘AFD_POLL_INFO’
In file included from 3rdparty/libuv/src/win/async.c:27:0:
3rdparty/libuv/src/win/handle-inl.h: In function ‘uv_want_endgame’:
3rdparty/libuv/src/win/handle-inl.h:91:11: error: ‘uv_handle_t’ has no member named ‘endgame_next’
3rdparty/libuv/src/win/handle-inl.h:91:32: error: ‘uv_loop_t’ has no member named ‘endgame_handles’
3rdparty/libuv/src/win/handle-inl.h:92:9: error: ‘uv_loop_t’ has no member named ‘endgame_handles’
3rdparty/libuv/src/win/handle-inl.h: In function ‘uv_process_endgames’:
3rdparty/libuv/src/win/handle-inl.h:100:14: error: ‘uv_loop_t’ has no member named ‘endgame_handles’
3rdparty/libuv/src/win/handle-inl.h:101:18: error: ‘uv_loop_t’ has no member named ‘endgame_handles’
3rdparty/libuv/src/win/handle-inl.h:102:9: error: ‘uv_loop_t’ has no member named ‘endgame_handles’
3rdparty/libuv/src/win/handle-inl.h:102:35: error: ‘uv_handle_t’ has no member named ‘endgame_next’
In file included from 3rdparty/libuv/src/win/async.c:28:0:
3rdparty/libuv/src/win/req-inl.h: In function ‘uv_req_init’:
3rdparty/libuv/src/win/req-inl.h:84:3: error: ‘uv_req_t’ has no member named ‘overlapped’
3rdparty/libuv/src/win/req-inl.h: In function ‘uv_overlapped_to_req’:
3rdparty/libuv/src/win/req-inl.h:89:10: error: ‘uv_req_t’ has no member named ‘overlapped’
3rdparty/libuv/src/win/req-inl.h: In function ‘uv_insert_pending_req’:
3rdparty/libuv/src/win/req-inl.h:94:6: error: ‘uv_req_t’ has no member named ‘next_req’
3rdparty/libuv/src/win/req-inl.h:95:11: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h:96:8: error: ‘uv_req_t’ has no member named ‘next_req’
3rdparty/libuv/src/win/req-inl.h:96:25: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h:97:9: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h:98:9: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h:100:8: error: ‘uv_req_t’ has no member named ‘next_req’
3rdparty/libuv/src/win/req-inl.h:101:9: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h: In function ‘uv_process_reqs’:
3rdparty/libuv/src/win/req-inl.h:138:11: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h:142:15: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h:144:7: error: ‘uv_loop_t’ has no member named ‘pending_reqs_tail’
3rdparty/libuv/src/win/req-inl.h:148:15: error: ‘uv_req_t’ has no member named ‘next_req’
3rdparty/libuv/src/win/req-inl.h:148:40: error: ‘uv_req_t’ has no member named ‘next_req’
3rdparty/libuv/src/win/req-inl.h:151:12: error: ‘UV_READ’ undeclared (first use in this function)
3rdparty/libuv/src/win/req-inl.h:151:12: note: each undeclared identifier is reported only once for each function it appears in
3rdparty/libuv/src/win/req-inl.h:159:12: error: ‘UV_ACCEPT’ undeclared (first use in this function)
3rdparty/libuv/src/win/req-inl.h:176:12: error: ‘UV_UDP_RECV’ undeclared (first use in this function)
3rdparty/libuv/src/win/req-inl.h:186:12: error: ‘UV_WAKEUP’ undeclared (first use in this function)
3rdparty/libuv/src/win/req-inl.h:190:12: error: ‘UV_SIGNAL_REQ’ undeclared (first use in this function)
3rdparty/libuv/src/win/req-inl.h:194:12: error: ‘UV_POLL_REQ’ undeclared (first use in this function)
3rdparty/libuv/src/win/req-inl.h:202:12: error: ‘UV_PROCESS_EXIT’ undeclared (first use in this function)
3rdparty/libuv/src/win/req-inl.h:214:12: error: ‘UV_FS_EVENT_REQ’ undeclared (first use in this function)
3rdparty/libuv/src/win/async.c: In function ‘uv_async_endgame’:
3rdparty/libuv/src/win/async.c:33:14: error: ‘uv_async_t’ has no member named ‘async_sent’
3rdparty/libuv/src/win/async.c: In function ‘uv_async_init’:
3rdparty/libuv/src/win/async.c:44:9: error: ‘uv_async_t’ has no member named ‘async_sent’
3rdparty/libuv/src/win/async.c:47:16: error: ‘uv_async_t’ has no member named ‘async_req’
3rdparty/libuv/src/win/async.c:49:15: error: ‘UV_WAKEUP’ undeclared (first use in this function)
3rdparty/libuv/src/win/async.c: In function ‘uv_async_close’:
3rdparty/libuv/src/win/async.c:59:29: error: ‘uv_async_t’ has no member named ‘async_sent’
3rdparty/libuv/src/win/async.c: In function ‘uv_async_send’:
3rdparty/libuv/src/win/async.c:79:39: error: ‘uv_async_t’ has no member named ‘async_sent’
3rdparty/libuv/src/win/async.c:80:5: error: ‘uv_loop_t’ has no member named ‘iocp’
3rdparty/libuv/src/win/async.c:80:5: error: ‘uv_async_t’ has no member named ‘async_req’
3rdparty/libuv/src/win/async.c: In function ‘uv_process_async_wakeup_req’:
3rdparty/libuv/src/win/async.c:90:3: error: ‘UV_WAKEUP’ undeclared (first use in this function)
3rdparty/libuv/src/win/async.c:92:9: error: ‘uv_async_t’ has no member named ‘async_sent’
Makefile:394: recipe for target `3rdparty/libuv/src/win/async.o' failed
make: *** [3rdparty/libuv/src/win/async.o] Error 1
compiling src/platform/win32/io.o
src/platform/win32/io.c:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]
src/platform/win32/io.c:8:2: error: #error "Standard and WinAPI seek modes not compatible"
src/platform/win32/io.c: In function ‘UTF8ToUnicode’:
src/platform/win32/io.c:13:50: error: ‘CP_UTF8’ undeclared (first use in this function)
src/platform/win32/io.c:13:50: note: each undeclared identifier is reported only once for each function it appears in
src/platform/win32/io.c: In function ‘lseek’:
src/platform/win32/io.c:23:5: error: unknown type name ‘HANDLE’ --wtypes.h
src/platform/win32/io.c:24:5: error: unknown type name ‘LARGE_INTEGER’ --winnt.h
src/platform/win32/io.c:26:11: error: ‘HANDLE’ undeclared (first use in this function)
src/platform/win32/io.c:26:18: error: expected ‘;’ before ‘_get_osfhandle’
src/platform/win32/io.c:27:15: error: ‘INVALID_HANDLE_VALUE’ undeclared (first use in this function)
src/platform/win32/io.c:32:7: error: request for member ‘QuadPart’ in something not a structure or union
src/platform/win32/io.c:33:7: error: request for member ‘LowPart’ in something not a structure or union
src/platform/win32/io.c:33:39: error: request for member ‘LowPart’ in something not a structure or union
src/platform/win32/io.c:33:52: error: request for member ‘HighPart’ in something not a structure or union
src/platform/win32/io.c:35:11: error: request for member ‘LowPart’ in something not a structure or union
src/platform/win32/io.c:35:23: error: ‘INVALID_SET_FILE_POINTER’ undeclared (first use in this function)
src/platform/win32/io.c:40:14: error: request for member ‘QuadPart’ in something not a structure or union
src/platform/win32/io.c: In function ‘unlink’:
src/platform/win32/io.c:50:5: error: unknown type name ‘DWORD’
src/platform/win32/io.c:53:19: error: ‘MAX_PATH’ undeclared (first use in this function)
src/platform/win32/io.c:75:18: error: ‘INVALID_FILE_ATTRIBUTES’ undeclared (first use in this function)
src/platform/win32/io.c:80:22: error: ‘FILE_ATTRIBUTE_READONLY’ undeclared (first use in this function)
src/platform/win32/io.c:93:9: error: unknown type name ‘DWORD’
src/platform/win32/io.c:96:26: error: ‘ERROR_FILE_NOT_FOUND’ undeclared (first use in this function)
src/platform/win32/io.c:100:31: error: ‘ERROR_ACCESS_DENIED’ undeclared (first use in this function)
Makefile:394: recipe for target `src/platform/win32/io.o' failed
make: *** [src/platform/win32/io.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment