D-Bus problem

Ralf Habacker ralf.habacker at freenet.de
Thu May 17 14:50:27 CEST 2007

Andreas Pakulat schrieb:
> On 17.05.07 13:01:05, Ralf Habacker wrote:
>> Andreas Pakulat schrieb:
>>> On 17.05.07 11:59:15, Ralf Habacker wrote:
>>> On Unix and KDE3 one could attach a gdb if you're fast enough. First you
>>> had to restart kded with an env var set then it would always produce the
>>> pid of the kioslave on stderr when a new kioslave is created. I guess
>>> this doesn't work on Windows.
>> Which var is it ? I added pid printing to kdebug unconditional to be 
>> able to see the pid of any process so the kioslave pid is printed by the 
>> klauncher console windows.
> Uhm, I don't know :) Its (IIRC) in kdelibs/kio in a file called DEBUG*,
> but thats only true for kde3 as it seems (can't find it now in KDE4 and
> am on the way out).
>> Additional the last kDebug patch should output stderr to the parent 
>> console windows too.
> That doesn't compile for me on WinXP, the AttachConsole and
> CreateConsole calls are unkown - I'm using mingw32 here. I already send
> a reply to the commit mail.
Die Funktionen sind auf XP vorhanden 

und die Symbole sind bei Mingw auch dabei

F:\daten\kdepimlibs-build>nm f:\Mingw\lib\libkernel32.a | grep AttachConsole
00000000 I __imp__AttachConsole at 4
00000000 T _AttachConsole at 4

Wird Mingw\lib\libkernel32.a zu kdecore gelinkt ? Wenn nicht ist das 
wohl der Grund. Ich hatte das auf w2kserver 2003 ohne Probleme und ohne 
weitere Einstellungne linken können.

Das kann man mit
mingw32-make kdecore/fast VERBOSE=1



> Andreas

More information about the Kde-windows mailing list