From: cat fa <boo...@gm...> - 2011-12-02 08:35:31
|
I decided to build qt with mingw on my own. But I encounterd an error while building libQtGuid4.a information is as follow: g++ -mthreads -shared -Wl,--out-implib,f:\qt-everywhere-opensource-src-4.7.4\qt- everywhere-opensource-src-4.7.4\lib\libQtGuid4.a -o ..\..\lib\QtGuid4.dll object _script.QtGuid.Debug -L"f:\qt-everywhere-opensource-src-4.7.4\qt-everywhere-ope nsource-src-4.7.4\lib" -L" f:\qt-everywhere-opensource-src-4.7.4\qt-everywhere-op ensource-src-4.7.4\lib" -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32 tmp\obj\debug_shared\QtGuid_resourc e_res.o -lmsimg32 -lshell32 -lQtCored4 c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: out of mem ory allocating 125660256 bytes collect2: ld returned 1 exit status mingw32-make[2]: *** [..\..\lib\QtGuid4.dll] Error 1 mingw32-make[2]: Leaving directory `F:/qt-everywhere-opensource-src-4.7.4/qt-eve rywhere-opensource-src-4.7.4/src/gui' mingw32-make[1]: *** [debug-all] Error 2 mingw32-make[1]: Leaving directory `F:/qt-everywhere-opensource-src-4.7.4/qt-eve rywhere-opensource-src-4.7.4/src/gui' mingw32-make: *** [sub-gui-make_default-ordered] Error 2 I have 4G ram and closed as many applications as possible. Is this a bug? My mingw included gcc 4.6.1. I’m using windows7 64bit |