I have noticed I can't compile the crosstests, how can I make it compile?
-------------------------
cc1: warning: -fPIC ignored for target (all code is position independent) ../../../tools/make_ctests capture.c dsound.c propset.c >testlist.c || rm -f testlist.c i586-mingw32msvc-gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o testlist.cross.o testlist.c cc1: warning: -fPIC ignored for target (all code is position independent) i586-mingw32msvc-gcc capture.cross.o dsound.cross.o propset.cross.o testlist.cross.o -o dsound_crosstest.exe -ldsound -luser32 -lkernel32 -ldxguid -luuid -lm propset.cross.o(.text+0xc40): In function `propset_private_tests': /home/jakov/src/wine/dlls/dsound/tests/propset.c:100: undefined reference to `CLSID_DirectSound8' propset.cross.o(.text+0xda0):/home/jakov/src/wine/dlls/dsound/tests/propset.c:120: undefined reference to `CLSID_DirectSoundCapture8' propset.cross.o(.text+0xe50):/home/jakov/src/wine/dlls/dsound/tests/propset.c:130: undefined reference to `CLSID_DirectSoundFullDuplex' propset.cross.o(.text+0xf00):/home/jakov/src/wine/dlls/dsound/tests/propset.c:140: undefined reference to `CLSID_DirectSoundPrivate' propset.cross.o(.text+0xfba):/home/jakov/src/wine/dlls/dsound/tests/propset.c:151: undefined reference to `DSPROPSETID_DirectSoundDevice' propset.cross.o(.text+0x1076):/home/jakov/src/wine/dlls/dsound/tests/propset.c:159: undefined reference to `DSPROPSETID_DirectSoundDevice' propset.cross.o(.text+0x1132):/home/jakov/src/wine/dlls/dsound/tests/propset.c:167: undefined reference to `DSPROPSETID_DirectSoundDevice' propset.cross.o(.text+0x123b):/home/jakov/src/wine/dlls/dsound/tests/propset.c:183: undefined reference to `DSPROPSETID_DirectSoundDevice' make[3]: *** [dsound_crosstest.exe] Error 1 make[3]: Leaving directory `/home/jakov/src/wine/dlls/dsound/tests' make[2]: *** [tests/__crosstest__] Error 2 make[2]: Leaving directory `/home/jakov/src/wine/dlls/dsound' make[1]: *** [dsound/__crosstest__] Error 2 make[1]: Leaving directory `/home/jakov/src/wine/dlls' make: *** [dlls/__crosstest__] Error 2 jakov@dmlive:~/src/wine$
On Wednesday 18 February 2004 20:48, Jakob Eriksson wrote:
I have noticed I can't compile the crosstests, how can I make it compile?
/home/jakov/src/wine/dlls/dsound/tests/propset.c:100: undefined reference to `CLSID_DirectSound8'
It's because MinGW misses some guids. I've sent a patch (attached) to MinGW some time ago but it wasn't accepted because of a pending full update of MinGW DirectX by Filip Navara. However, that hasn't occured yet.
-Hans