Correctly importing uuid

Anton Romanov theli.ua at gmail.com
Fri Feb 16 00:35:12 CST 2018


Hi all,

I'm working on dlls/wmp and I have added code that now requires GUID_NULL.
Instead of duplicating its definition I was trying to add "uuid" to
IMPORTS section of Makefile.
When I do that I get get multiple definitions of various GUIDs.
To fix that I have removed
#include "initguid.h"
from wmp_main.c . That fixes multiple definitions however this brings
undefined references such as:

wine/dlls/wmp/oleobj.c:255: undefined reference to `IID_IWMPCore'
x86_64-pc-linux-gnu/bin/ld: oleobj.o: relocation R_386_GOTOFF against
undefined hidden symbol `IID_IWMPCore' can not be used when making a
shared object

now.
It is unclear to me what is the right way to fix this issue. Can
someone shed some light on a proper way to do that?
(I can solve that by duplicating GUID_NULL definition but I was said
that its not needed)


Thanks!



More information about the wine-devel mailing list