On Fri, 20 Jul 2007 09:02:40 +0800 Li-Hui Zhou <[EMAIL PROTECTED]> wrote:
> > MinGW compile error read as follows: > > In file included from ./util.h:17, > from log.c:25: > ./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[3]: *** [log.o] Error 1 > The latest svn v.10940 still cannot compile because of the same errors. Please fix it. -- Li-Hui Zhou <[EMAIL PROTECTED]>

