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

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