3_3 branch link problem with mingw

Mickael Marchand mikmak at freenux.org
Sat Nov 6 19:38:39 CET 2004


I am trying to compile Qt 3.3-win32 from cvs using mingw (tried borland 
and cygwin too ;) but it did not work.

Link fails with this error :

g++ -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import 
-reloc -mthreads -Wl,-s -Wl,-subsystem,windows -shared 
-Wl,--out-implib,d:\cygwin\home\Mikmak\qt-3\lib\libqt-mt.a -o 
mak\qt-3\lib\qt-mt333.dll object_ld_script objmoc_ld_script 
kmak\qt-3\lib" -lopengl32 -lglu32 -lkernel32 -luser32 -lgdi32 -lcomdlg32 
i32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm -lwsock32 -lwinspool
Creating library file: d:\cygwin\home\Mikmak\qt-3\lib\libqt-mt.a
undefined reference to `GetGlyphIndicesW at 20'
undefined reference to `GetGlyphIndicesW at 20'
mingw32-make[2]: *** [d:\cygwin\home\Mikmak\qt-3\lib\qt-mt333.dll] Error 1
mingw32-make[2]: Leaving directory `D:/cygwin/home/Mikmak/qt-3/src'
mingw32-make[1]: *** [sub-src] Error 2
mingw32-make[1]: Leaving directory `D:/cygwin/home/Mikmak/qt-3'
mingw32-make: *** [init] Error 2

I don't think I've done something wrong, but maybe ...
any ideas on how to fix it ?
(it's on windows XP sp2, GetGlyphIndicesW/A are defined in gdi32 as it 
is expected so I don't understand why it fails ...)


Please CC me in answers.

More information about the kde-cygwin mailing list