[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
MinGW compile error with rev 10888
MinGW compile error read as follows:
In file included from ./util.h:17,
./compat.h:298: error: redefinition of `struct sockaddr_in6'
./compat.h:322: error: 'IN_ADDR' redeclared as different kind of symbol
c:/Gnu/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/winsock2.h:654: error: previous declaration of 'IN_ADDR' was here
./compat.h:323: error: 'IN6_ADDR' redeclared as different kind of symbol
c:/Gnu/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/ws2tcpip.h:183: error: previous declaration of 'IN6_ADDR' was here
In file included from log.c:25:
./util.h:262: error: syntax error before "sa_family_t"
make: *** [log.o] Error 1
Li-Hui Zhou <lhzhou@xxxxxxxx>