When I try your patch from cegcc svn I have the following message : make AS="arm-mingw32ce-as" CC="gcc" CFLAGS="-O2 -g " CXXFLAGS="@CXXFLAGS@ " CPPFLAGS=" " AR="arm-mingw32ce-ar" RANLIB="arm-mingw32ce-ranlib" LD="arm-mingw32ce-ld" DLLTOOL="arm-mingw32ce-dlltool" exec_prefix="/opt/mingw32ce-4.4.0" bindir="/opt/mingw32ce-4.4.0/bin" libdir="/opt/mingw32ce-4.4.0/lib" tooldir="/opt/mingw32ce-4.4.0/arm-mingw32ce" datadir="/opt/mingw32ce-4.4.0/share" infodir="/opt/mingw32ce-4.4.0/info" includedir="/opt/mingw32ce-4.4.0/include" inst_bindir="" inst_includedir="" inst_libdir="" inst_docdir="" prefix="/opt/mingw32ce-4.4.0" build="i686-pc-linux-gnu" build_alias="" host="arm-unknown-mingw32ce" host_alias="arm-mingw32ce" target="arm-unknown-mingw32ce" target_alias="" TAR="tar" TARFLAGS="z" TARFILEEXT=".tar.gz" WINDRES="arm-mingw32ce-windres" -C libce make[1]: entrant dans le répertoire « /home/vincent/projects/cegcc/src/scripts/build-mingw32ce-4.4.0/w32api/libce » gcc -c -O2 -g -I/home/vincent/projects/cegcc/src/w32api/libce/../include -o largeint.o /home/vincent/projects/cegcc/src/w32api/libce/largeint.c In file included from /usr/include/sys/select.h:46, from /usr/include/sys/types.h:220, from /usr/include/stdlib.h:320, from /home/vincent/projects/cegcc/src/w32api/libce/../include/objbase.h:12, from /home/vincent/projects/cegcc/src/w32api/libce/../include/ole2.h:9, from /home/vincent/projects/cegcc/src/w32api/libce/../include/windows.h:116, from /home/vincent/projects/cegcc/src/w32api/libce/../include/largeint.h:13, from /home/vincent/projects/cegcc/src/w32api/libce/largeint.c:18: /usr/include/bits/time.h:70: erreur: redefinition of ‘struct timeval’ In file included from /usr/include/sys/types.h:220, from /usr/include/stdlib.h:320, from /home/vincent/projects/cegcc/src/w32api/libce/../include/objbase.h:12, from /home/vincent/projects/cegcc/src/w32api/libce/../include/ole2.h:9, from /home/vincent/projects/cegcc/src/w32api/libce/../include/windows.h:116, from /home/vincent/projects/cegcc/src/w32api/libce/../include/largeint.h:13, from /home/vincent/projects/cegcc/src/w32api/libce/largeint.c:18: /usr/include/sys/select.h:78: erreur: conflicting types for ‘fd_set’ /home/vincent/projects/cegcc/src/w32api/libce/../include/winsock2.h:68: erreur: previous declaration of ‘fd_set’ was here /usr/include/sys/select.h:109: erreur: conflicting types for ‘select’ /home/vincent/projects/cegcc/src/w32api/libce/../include/winsock2.h:649: erreur: previous declaration of ‘select’ was here make[1]: *** [largeint.o] Erreur 1 make[1]: quittant le répertoire « /home/vincent/projects/cegcc/src/scripts/build-mingw32ce-4.4.0/w32api/libce » make: *** [libce] Erreur 2
Don't understand where does it come from ... It was working fine before, so maybe a distro update or something like that. The problem seems to be related to winsock.h and system includes. Damn it, I am doomed ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel