Hi
I am trying to compile Qt 4.4.0 source on Windows using MinGW 5.1.4.
However, I am getting an error after running make.
I followed the guidelines in the INSTALL file and did a "configure" before
trying to do make.
The error I got was as attached.
Please let me know what could have gone wrong.
Thanks,
Debnath
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,c:\debnath\QT\qt-win-opensource-src-4.
4.0\qt-win-opensource-src-4.4.0\lib\libQtCored4.a -o ..\..\lib\QtCored4.dll obje
ct_script.QtCored.Debug -L"c:\debnath\QT\qt-win-opensource-src-4.4.0\qt-win-ope
nsource-src-4.4.0\lib" -L"c:\Program Files\SQLXML 4.0\bin\" -L"c:\debnath\QT\qt-
win-opensource-src-4.4.0\qt-win-opensource-src-4.4.0\lib" -lkernel32 -luser32 -l
shell32 -luuid -lole32 -ladvapi32 -lws2_32 tmp\obj\debug_shared\QtCored_resource
_res.o
./tmp\obj\debug_shared\qfsfileengine_win.o: In function `Z8readLinkRK7QString':
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoUninitialize@0'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoUninitialize@0'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoUninitialize@0'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1448: undefined reference to `CoUninitialize@0'
./tmp\obj\debug_shared\qfsfileengine_win.o: In function `ZN13QFSFileEngine4linkE
RK7QString':
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoUninitialize@0'
C:/debnath/QT/qt-win-opensouCreating library file: c:\debnath\QT\qt-win-opensour
ce-src-4.4.0\qt-win-opensource-src-4.4.0\lib\libQtCored4.a
rce-src-4.4.0/qt-win-opensource-src-4.4.0/src/corelib/io/qfsfileengine_win.cpp:1
555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoUninitialize@0'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoUninitialize@0'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoInitialize@4'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoCreateInstance@20'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `IID_IPersistFile'
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/io/qfsfileengine_win.cpp:1555: undefined reference to `CoUninitialize@0'
./tmp\obj\debug_shared\quuid.o: In function `ZN5QUuid10createUuidEv':
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/plugin/quuid.cpp:421: undefined reference to `CoCreateGuid@4'
./tmp\obj\debug_shared\qeventdispatcher_win.o: In function `ZN28QEventDispatcher
Win32Private16doWsaAsyncSelectEi':
C:/debnath/QT/qt-win-opensource-src-4.4.0/qt-win-opensource-src-4.4.0/src/coreli
b/kernel/qeventdispatcher_win.cpp:625: undefined reference to `WSAAsyncSelect@16
'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\lib\QtCored4.dll] Error 1
mingw32-make[2]: Leaving directory `C:/debnath/QT/qt-win-opensource-src-4.4.0/qt
-win-opensource-src-4.4.0/src/corelib'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/debnath/QT/qt-win-opensource-src-4.4.0/qt
-win-opensource-src-4.4.0/src/corelib'
mingw32-make: *** [sub-corelib-make_default-ordered] Error 2
Bookmarks