IID_IUnknown not defined?

Willie Sippel willie at zeitgeistmedia.net
Sun Jul 16 17:06:11 CDT 2006


Am Samstag, 15. Juli 2006 05:33 schrieb Mike McCormack:
> Christoph Frick wrote:
> > i build wine nearly every day from cvs. for the last to days i was not
> > able to do so as the first occurences of IID_IUnknown and
> > IID_IClassFactory the compiler thinks they are missing. i can also not
> > find them via tags-file nor grep **/*.h; is there something wrong on my
> > end (as i would expect, because no one else is complaining)? anybody any
> > ideas?
>
> They're defined in libuuid.  Try "make depend && make".  You should post
> the exact error that you're seeing, not just your interpretation of it.
>
I have exactly the same problem for a few days now, this is the output after 
"make distclean", reconfigure and "make depend && make":

../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./amstream.spec    
amstream.o main.o mediastream.o regsvr.o  version.res   -Wl,--rpath,
\$ORIGIN/`../../tools/relpath /usr/lib32/wine /usr/lib32` -o amstream.dll.so 
-lole32 -luser32 -ladvapi32 -lkernel32  -lstrmiids 
-luuid ../../libs/port/libwine_port.a -m32 -L/emul/linux/x86/usr/lib 
-L/usr/lib32 -L/emul/linux/x86/lib
amstream.o: In function `IAMMultiMediaStreamImpl_QueryInterface':
/store/Download/wine/wine/dlls/amstream/amstream.c:77: undefined reference to 
`IID_IUnknown'
main.o: In function `DllGetClassObject':
/store/Download/wine/wine/dlls/amstream/main.c:176: undefined reference to 
`IID_IClassFactory'
/store/Download/wine/wine/dlls/amstream/main.c:176: undefined reference to 
`IID_IUnknown'
main.o: In function `AMCF_QueryInterface':
/store/Download/wine/wine/dlls/amstream/main.c:87: undefined reference to 
`IID_IUnknown'
/store/Download/wine/wine/dlls/amstream/main.c:87: undefined reference to 
`IID_IClassFactory'
mediastream.o: In function `IMediaStreamImpl_QueryInterface':
/store/Download/wine/wine/dlls/amstream/mediastream.c:74: undefined reference 
to `IID_IUnknown'
collect2: ld returned 1 exit status
winegcc: gcc32 failed.
make[2]: *** [amstream.dll.so] Error 2
make[2]: Leaving directory `/store/Download/wine/wine/dlls/amstream'
make[1]: *** [amstream] Error 2
make[1]: Leaving directory `/store/Download/wine/wine/dlls'
make: *** [dlls] Error 2

I use the exact same configure options for about a year now, and I've never 
seen this error before. 

Ciao,
Willie

-- 
Willie Sippel

  ////////  |  Tritium Studios
 //         |  ______________________________
//// ///    |  http://www.tritium-studios.com

<willie at froq.net>



More information about the wine-devel mailing list