hiho
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?
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.
Mike
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
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.
On 17/07/06, Christoph Frick frick@sc-networks.de wrote:
On Mon, Jul 17, 2006 at 12:06:11AM +0200, Willie Sippel wrote:
../../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
-L adds library paths to the beginning of the library search path. You've probably got a libuuid in one of those directories, which now takes precedence over the one in wine.
"H. Verbeet" hverbeet@gmail.com writes:
-L adds library paths to the beginning of the library search path. You've probably got a libuuid in one of those directories, which now takes precedence over the one in wine.
This should be fixed now.
On Mon, Jul 17, 2006 at 03:15:35PM +0200, Alexandre Julliard wrote:
-L adds library paths to the beginning of the library search path. You've probably got a libuuid in one of those directories, which now takes precedence over the one in wine.
This should be fixed now.
it is! thank you.
On 14/07/06, Christoph Frick frick@sc-networks.de 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?
It might be usefull to know how you run configure, and if you've got another libuuid on your system by any chance.