KIO, gpgme

Ralf Habacker ralf.habacker at freenet.de
Fri Mar 2 18:39:53 CET 2007


Christian Ehrlicher schrieb:
> Stromek schrieb:
>> On Fri, Mar 02, 2007 at 02:56:40PM +0100, Christian Ehrlicher wrote:
>>> Stromek schrieb:
>>>> On Fri, Mar 02, 2007 at 01:16:19PM +0100, Ralf Habacker wrote:
>>>>> Stromek schrieb:
>>>>>> Hi folks,
>>>>>>
>>>>>> I would like to ask two questions, about file browsing and about 
>>>>>> gpgme
>>>>>> in regards to korganizer compilation.
>>>>>>
>>>>>> First, I wonder if file browsing works for someone. I have never 
>>>>>> see it working
>>>>>> in my compilation but it seemed to me that it works for others. 
>>>>>> What I
>>>>>> mean is, for example, if I run dolphin and when it should show 
>>>>>> directory
>>>>>> listing it writes that kio died unexpectedly, or if I want to 
>>>>>> open file
>>>>>> for editing in kate, the open dialog does not show me directory 
>>>>>> listing
>>>>>> and writes that kio died unexpectedly.
>>>>>>  
>>>>> I got kio_file running with mingw a few month ago and kio_http 
>>>>> partial
>>>>> without ssl. I was able to open files with kate and browse 
>>>>> directories
>>>>> with konqueror. For this purpose a win32 implementation of 
>>>>> klauncher was
>>>>> written.
>>>> wow, nice. I knew that someone got it running. I'm using msvc and I'm
>>>> just realizing that with msvc there are lot of problems comparing to
>>>> mingw. Btw. thnx for reply, I was just wondering.
>>>>
>>>> Someone has also written that kdegames are compilable. Today, I 
>>>> tried to
>>>> compile libkdegames and there appeared problems with non-existing 
>>>> iovec
>>>> (readv, writev) which seems to be no problem using mingw.
>>>> Unfortunatelly, I am not so
>>>> pro (yet:) to be able to find a workaround for such issues by myself.
>>>>
>>> kdegames is fully compilable with msvc (I had to comment out some 
>>> subdirs, but it's checked in)
>>
>> Below are the errors I'm encoutering when compiling libkdegames.
>>
>> Microsoft (R) Development Environment  Version 7.10.3077.
>> Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
>> ------ Build started: Project: kggzmod, Configuration: Release Win32 
>> ------
>>
>> Generating module_private.moc
>> Generating module.moc
>> Compiling...
>> statistics.cpp
>> request.cpp
>> player.cpp
>> module.cpp
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(42) 
>> : er
>> ror C2133: 'iov' : unknown size
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(42) 
>> : er
>> ror C2512: 'iovec' : no appropriate default constructor available
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(42) 
>> : er
>> ror C2262: 'iov' : cannot be destroyed
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(47) 
>> : er
>> ror C2079: 'KGGZMod::readfiledescriptor::__unnamed::cm' uses 
>> undefined struct 'K
>> GGZMod::cmsghdr'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(48) 
>> : er
>> ror C3861: 'CMSG_SPACE': identifier not found, even with 
>> argument-dependent look
>> up
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(52) 
>> : er
>> ror C2039: 'msg_control' : is not a member of 'msghdr'
>>         C:\Program Files\kdewin32\include\msvc\sys\socket.h(37) : see 
>> declaratio
>> n of 'msghdr'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(53) 
>> : er
>> ror C2039: 'msg_controllen' : is not a member of 'msghdr'
>>         C:\Program Files\kdewin32\include\msvc\sys\socket.h(37) : see 
>> declaratio
>> n of 'msghdr'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(59) 
>> : er
>> ror C2036: 'iovec *' : unknown size
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(59) 
>> : er
>> ror C2027: use of undefined type 'iovec'
>>         C:\Program Files\kdewin32\include\msvc\sys\socket.h(40) : see 
>> declaratio
>> n of 'iovec'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(59) 
>> : er
>> ror C2228: left of '.iov_base' must have class/struct/union type
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(59) 
>> : er
>> ror C3861: 'iov': identifier not found, even with argument-dependent 
>> lookup
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(60) 
>> : er
>> ror C2036: 'iovec *' : unknown size
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(60) 
>> : er
>> ror C2027: use of undefined type 'iovec'
>>         C:\Program Files\kdewin32\include\msvc\sys\socket.h(40) : see 
>> declaratio
>> n of 'iovec'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(60) 
>> : er
>> ror C2228: left of '.iov_len' must have class/struct/union type
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(60) 
>> : er
>> ror C3861: 'iov': identifier not found, even with argument-dependent 
>> lookup
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(62) 
>> : er
>> ror C2440: '=' : cannot convert from 'iovec [1]' to 'iovec *'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(62) 
>> : er
>> ror C3861: 'iov': identifier not found, even with argument-dependent 
>> lookup
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(65) 
>> : er
>> ror C3861: 'recvmsg': identifier not found, even with 
>> argument-dependent lookup
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(76) 
>> : er
>> ror C2027: use of undefined type 'KGGZMod::cmsghdr'
>>         
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(
>> 47) : see declaration of 'KGGZMod::cmsghdr'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(76) 
>> : er
>> ror C2227: left of '->cmsg_len' must point to class/struct/union
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(75) 
>> : er
>> ror C3861: 'CMSG_FIRSTHDR': identifier not found, even with 
>> argument-dependent l
>> ookup
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(76) 
>> : er
>> ror C3861: 'CMSG_LEN': identifier not found, even with 
>> argument-dependent lookup
>>
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(81) 
>> : er
>> ror C2027: use of undefined type 'KGGZMod::cmsghdr'
>>         
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(
>> 47) : see declaration of 'KGGZMod::cmsghdr'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(81) 
>> : er
>> ror C2227: left of '->cmsg_level' must point to class/struct/union
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(86) 
>> : er
>> ror C2027: use of undefined type 'KGGZMod::cmsghdr'
>>         
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(
>> 47) : see declaration of 'KGGZMod::cmsghdr'
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(86) 
>> : er
>> ror C2227: left of '->cmsg_type' must point to class/struct/union
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(86) 
>> : er
>> ror C2065: 'SCM_RIGHTS' : undeclared identifier
>> n:\incoming\kde\kdelibs\KDE\kdegames\libkdegames\kggzmod\misc_private.h(92) 
>> : er
>> ror C3861: 'CMSG_DATA': identifier not found, even with 
>> argument-dependent looku
>> p
>> event.cpp
>> Generating Code...
>>
>> Build log was saved at 
>> "file://n:\incoming\kde\kdelibs\Kde\kdegames-build\libkde
>> games\kggzmod\kggzmod.dir\Release\BuildLog.htm"
>> kggzmod - 28 error(s), 0 warning(s)
>>
> I've commented the specific subdirs out -> svn up
> Sad that they introduced a new win32-incompatible lib :(
a similar problem is with strigi, which is only compilable static 
because of missing decoration and it requires additional libraries 
(clusence), for which no prebuild binary packages are available. :-(

Ralf




More information about the Kde-windows mailing list