kdelibs compiling error

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri May 30 17:20:44 CEST 2008


Steven Scott schrieb:
> Hey, I'm rather new to KDE on Windows (Been trying to get it running for 
> a few days) and have come across a problem emerging kdelibs. When I try 
> to emerge it, it will get down to kio_ghelp, then gives me this error
> 
> Scanning dependencies of target kio_ghelp
> [ 58%] Building CXX object 
> kdoctools/CMakeFiles/kio_ghelp.dir/kio_ghelp_automoc.obj
> [ 58%] Building CXX object kdoctools/CMakeFiles/kio_ghelp.dir/kio_help.obj
> [ 58%] Building CXX object kdoctools/CMakeFiles/kio_ghelp.dir/main_ghelp.obj
> [ 58%] Building CXX object kdoctools/CMakeFiles/kio_ghelp.dir/xslt.obj
> Linking CXX shared module ..\bin\kio_ghelp.dll
> Cannot export ⌂libxslt_NULL_THUNK_DATA: symbol not found
> collect2: ld returned 1 exit status
> mingw32-make[2]: *** [bin/kio_ghelp.dll] Error 1
> mingw32-make[1]: *** [kdoctools/CMakeFiles/kio_ghelp.dir/all] Error 2
> mingw32-make: *** [all] Error 2
> emerge fatal error: while Make'ing. cmd: mingw32-make
> emerge fatal error: running python 
> d:\kderoot\emerge\portage\kde\kdelibs\kdelibs-20080202.py compile
> emerge error: fatal error: package kde/kdelibs-20080202 all failed
> 
> I managed to get around this by a hacked up method of compiling 
> libxml/libxslt myself and renaming the libxml files (kdelibs was linking 
> against libxml.dll.a instead of libxml.lib, making a copy of libxml.lib 
> and renaming it to libxml.dll.a helped resolve some errors that the 
> linker was giving me), but this doesn't seem like the best method to 
> solve the problem. Does anybody have a better solution to this problem?

I don't know what you did but it compiled fine for me. It's correct that 
we link agains libxml2.dll.a and not libxml2.lib. That it worked for you 
was luck.


Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20080530/6d2b066e/attachment.pgp 


More information about the Kde-windows mailing list