Posted to tcl by apw at Sat Nov 10 09:41:34 GMT 2007view pretty

make AS="/home/arnulf/mingw/bin/as" CC="/home/arnulf/mingw/bin/gcc" CPPFLAGS=""
CFLAGS="-O2 -g" CXXFLAGS="" AR="/home/arnulf/mingw/bin/ar" RANLIB="/home/arnulf/
mingw/bin/ranlib" LD="/home/arnulf/mingw/bin/ld" DLLTOOL="dlltool" TAR="tar" TAR
FLAGS="z" TARFILEEXT=".tar.gz" WINDRES="/home/arnulf/mingw/bin/windres" -C lib
make[1]: Entering directory `/home/arnulf/SOURCES/MINGW/mingw2/w32api-3.7/lib'
/home/arnulf/mingw/bin/gcc -c -O2 -g -I./../include  -o ws2_32.o ws2_32.c
In file included from ws2_32.c:1:
./../include/winsock2.h:64: error: conflicting types for 'fd_set'
/usr/include/sys/select.h:78: error: previous declaration of 'fd_set' was here
./../include/winsock2.h:109: error: redefinition of `struct timeval'
./../include/winsock2.h:632: error: conflicting types for 'select'
/usr/include/sys/select.h:112: error: previous declaration of 'select' was here
./../include/winsock2.h:632: error: conflicting types for 'select'
/usr/include/sys/select.h:112: error: previous declaration of 'select' was here
make[1]: *** [ws2_32.o] Error 1
make[1]: Leaving directory `/home/arnulf/SOURCES/MINGW/mingw2/w32api-3.7/lib'
make: *** [lib] Error 2