Trivial compile patch for dlls/winmm/winealsa/midi.c

Stefan Leichter Stefan.Leichter at
Tue Sep 16 15:24:34 CDT 2003

On Tuesday 16 September 2003 07:16, Pavel Roskin wrote:
> ChangeLog:
> 	* dlls/winmm/winealsa/midi.c: Set WINE_DEFAULT_DEBUG_CHANNEL
> 	unconditionally.
> There are TRACE calls below corresponding #endif.


your patch is fine for me. It fixes the first compile error for me, but did 
you fix also this one?

make[2]: Entering directory `/usr/src/wine/wine-build/dlls/winmm/winealsa'
gcc -shared  -Wl,-Bsymbolic,-z,defs winealsa.drv.spec.o    audio.o audio_05.o 
alsa.o midi.o  winealsa.drv.dbg.o -o -L../../../dlls  
-L../../../libs/wine -lwine -L../../../libs/uuid -lwine_uuid -lasound 
-L../../../libs/port -lwine_port  -lm  -lc
alsa.o: In function `ALSA_DriverProc':
undefined reference to `ALSA_MidiInit'
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory `/usr/src/wine/wine-build/dlls/winmm/winealsa'
make[1]: *** [winmm/winealsa] Error 2
make[1]: Leaving directory `/usr/src/wine/wine-build/dlls'
make: *** [dlls] Error 2

The attached patch fixes the problem for me but i am not sure if it is the 
right fix. My system has only alsa 0.5 installed. Comments please.

Bye Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa.diff
Type: text/x-diff
Size: 419 bytes
Desc: not available
Url :

More information about the wine-devel mailing list