Bugs item #2751445, was opened at 2009-04-11 04:13 Message generated for change (Comment added) made by dannybackx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2751445&group_id=173455
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: MinGW32CE (arm-wince-mingw32ce Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Remy (remyah) >Assigned to: Danny Backx (dannybackx) Summary: Build failure generating mingwm10.dll Initial Comment: I was compiling SVN rev1230 using cegcc/src/scripts/build-mingw32ce.sh (GCC version 4.3.2-1ubuntu12), and the build process fails when trying to link mingwm10.dll: <snip> arm-mingw32ce-ranlib libmingwex.a make[1]: Leaving directory `/home/remy/CeGCC/build/mingw/mingwex' arm-mingw32ce-dlltool --as arm-mingw32ce-as --output-def mingwthrd.def mthr.o mthr_init.o arm-mingw32ce-gcc -B./ -shared -Wl,--image-base,0x6FBC0000 -Wl,--entry,DllMainCRTStartup mthr.o mthr_init.o mingwthrd.def -Lmingwex -o mingwm10.dll mthr.o: In function `GetCurrentProcess': /home/remy/CeGCC/cegcc/src/mingw/../w32api/include/kfuncs.h:28: multiple definition of `GetCurrentProcess' ./dllcrt3.o:/home/remy/CeGCC/cegcc/src/mingw/../w32api/include/kfuncs.h:28: first defined here mthr.o: In function `GetCurrentThread': /home/remy/CeGCC/cegcc/src/mingw/../w32api/include/kfuncs.h:33: multiple definition of `GetCurrentThread' ./dllcrt3.o:/home/remy/CeGCC/cegcc/src/mingw/../w32api/include/kfuncs.h:33: first defined here <snip> Tried changing all functions in 32api/include/kfuncs.h from `inline` to `static inline` and commented out PulseEvent/SetEvent/ResetEvent - this seems to allow the build to continue, so i'm guessing the problem is a multiple includes one.. ---------------------------------------------------------------------- >Comment By: Danny Backx (dannybackx) Date: 2009-04-11 08:23 Message: The functions needed to be static, and removed from windefs.h . ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2751445&group_id=173455 ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel