Thread overview
[dmd-internals] Phobos/wine
Aug 05, 2010
Walter Bright
Aug 05, 2010
Trass3r
August 05, 2010
I'm seeing a new error when unittesting Phobos on wine:

Testing generated/win32wine/debug/unittest/std/c/windows/com.exe
OPTLINK (R) for Win32  Release 8.00.2
Copyright (C) Digital Mars 1989-2009  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
generated\win32wine\debug\unittest\std\c\windows\com.obj(com)
  Error 42: Symbol Undefined _IID_IUnknown
--- errorlevel 1
make: *** [generated/win32wine/debug/unittest/std/c/windows/com.exe] Error 1

Is this due to some recent changes? I've been building Phobos on wine for a while now without ever seeing such an issue.


Thanks,

Andrei
August 05, 2010

Andrei Alexandrescu wrote:
> I'm seeing a new error when unittesting Phobos on wine:
>
> Testing generated/win32wine/debug/unittest/std/c/windows/com.exe
> OPTLINK (R) for Win32  Release 8.00.2
> Copyright (C) Digital Mars 1989-2009  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> generated\win32wine\debug\unittest\std\c\windows\com.obj(com)
>  Error 42: Symbol Undefined _IID_IUnknown
> --- errorlevel 1
> make: *** [generated/win32wine/debug/unittest/std/c/windows/com.exe] Error 1
>
> Is this due to some recent changes? I've been building Phobos on wine for a while now without ever seeing such an issue.
>

Nothing I changed. But I recommend using grep to see where _IID_IUnknown is supposed to be defined, and make sure that module winds up in the makefile and phobos.lib.
August 05, 2010
> Is this due to some recent changes? I've been building Phobos on wine for a while now without ever seeing such an issue.

http://d.puremagic.com/issues/show_bug.cgi?id=4295
August 08, 2010
Thanks! I've added pragma(lib, "uuid") and that makes things work on wine. I'll wait for Walter or you guys to confirm that that doesn't cause trouble on Windows.

Andrei

On 08/05/2010 04:32 PM, Trass3r wrote:
>> Is this due to some recent changes? I've been building Phobos on wine for a while now without ever seeing such an issue.
>
> http://d.puremagic.com/issues/show_bug.cgi?id=4295
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals