kde-4.8 & mingw64, emerge qt fails at linking stage

Pedro Lopez-Cabanillas pedro.lopez.cabanillas at gmail.com
Sat Feb 25 12:20:56 UTC 2012


Hi,

Working with kde-4.8 on Windows7 64 bit, mingw64 compiler, emerge qt
fails at linking stage:

g++ -mthreads -shared
-Wl,--out-implib,c:\kderoot\build\libs\qt-4.7.1.20101224\work\mingw4-RelWithDebInfo-4.7.4\lib\libQtNetwork4.a
-o ..\
..\lib\QtNetwork4.dll object_script.QtNetwork.Release
-L"c:\kderoot\build\libs\qt-4.7.1.20101224\work\mingw4-RelWithDebInfo-4.7.4\lib"
-L
"c:\kderoot\build\libs\qt-4.7.1.20101224\work\mingw4-RelWithDebInfo-4.7.4\lib"
-lws2_32 tmp\obj\release_shared\QtNetwork_resource_res.o -L
c:\kderoot\build\win32libs-bin\dbus-1.4.16\image\lib
-Lc:\kderoot\build\win32libs-bin\openssl-1.0.0d\image\lib
-Lc:\kderoot\build\testing\
mysql-pkg-5.1.56\image-mingw4-RelWithDebInfo-5.1.56\lib -llibmysql
-lQtCore4 -lssleay32 -llibeay32
c:/kderoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/bin/ld.exe:
skipping incompatible c:\kderoot\bui
ld\win32libs-bin\openssl-1.0.0d\image\lib/ssleay32.dll.a when
searching for -lssleay32
c:/kderoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/bin/ld.exe:
skipping incompatible c:\kderoot\bui
ld\win32libs-bin\openssl-1.0.0d\image\lib/ssleay32.dll.a when
searching for -lssleay32
c:/kderoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/bin/ld.exe:
cannot find -lssleay32
c:/kderoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/bin/ld.exe:
skipping incompatible c:\kderoot\bui
ld\win32libs-bin\openssl-1.0.0d\image\lib/libeay32.dll.a when
searching for -llibeay32
c:/kderoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/bin/ld.exe:
skipping incompatible c:\kderoot\bui
ld\win32libs-bin\openssl-1.0.0d\image\lib/libeay32.dll.a when
searching for -llibeay32
c:/kderoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/bin/ld.exe:
cannot find -llibeay32
collect2: ld returned 1 exit status
gmake[4]: *** [..\..\lib\QtNetwork4.dll] Error 1
gmake[4]: Leaving directory
`c:/kderoot/build/libs/qt-4.7.1.20101224/work/mingw4-RelWithDebInfo-4.7.4/src/network'
gmake[3]: *** [release] Error 2
gmake[3]: Leaving directory
`c:/kderoot/build/libs/qt-4.7.1.20101224/work/mingw4-RelWithDebInfo-4.7.4/src/network'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`c:/kderoot/build/libs/qt-4.7.1.20101224/work/mingw4-RelWithDebInfo-4.7.4/src/network'
gmake[1]: *** [sub-network-make_default-ordered] Error 2
gmake[1]: Leaving directory
`c:/kderoot/build/libs/qt-4.7.1.20101224/work/mingw4-RelWithDebInfo-4.7.4'
gmake: *** [all] Error 2
emerge fatal error: while running make cmd: gmake
emerge fatal error: running python
c:\kderoot\emerge\portage\libs\qt\qt-4.7.1.20101224.py compile
emerge debug: Task: Emerge stopped after: 0:37:00.327000

C:\kderoot>emerge  --print-installed
Category                 Package                  Version
--------                 -------                  -------
dev-util                 7zip                     9.20
dev-util                 astyle                   1.22
dev-util                 bjam                     3.1.18-1
dev-util                 cmake                    2.8.4.2011622
dev-util                 git                      1.7.4
dev-util                 jom                      108-20120122
dev-util                 mingw-w64                20111031
dev-util                 perl                     5.12.4.1205
dev-util                 pexports                 0.44
dev-util                 putty                    0.60
dev-util                 subversion               1.6.5.20091115
dev-util                 uactools                 20101219
gnuwin32                 patch                    2.5.9-8
gnuwin32                 sed                      4.1.5
gnuwin32                 wget                     1.13.1
testing                  mysql-pkg                5.1.56
virtual                  base                     0.2
virtual                  bin-base                 0.2
win32libs-bin            dbus                     1.4.16
win32libs-bin            expat                    2.0.1
win32libs-bin            openssl                  1.0.0d
win32libs-bin            zlib                     1.2.5-1

Regards,
Pedro


More information about the Kde-windows mailing list