IID_IUnknown not defined?

Christoph Frick frick at sc-networks.de
Mon Jul 17 02:06:37 CDT 2006


On Mon, Jul 17, 2006 at 12:06:11AM +0200, Willie Sippel wrote:

> > 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 do seperate build and i just removed my ./wine_build dir and started
from scratch; also helped not (error see below - undef ref.

> ../../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 build the same way - i assume gentoo? on my end it is also gcc32 with
some handcrafted -L/emul/... statements on a otherwise 64bit linux. the
gcc in question btw 3.4.6.

-- 
cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060717/3f711860/attachment.pgp


More information about the wine-devel mailing list