On Mon, 2003-03-31 at 12:05, Adrian Bunk wrote: > On Mon, Mar 31, 2003 at 02:04:04AM +0200, Peter Waechtler wrote: > > > > There's a problem when compiling the GUS driver into the kernel > > instead of as a module. I renamed the global "lock" to "gus_lock" > > and made sure that it's used (shared by gus_midi, gus_wave, ics2101) > > > > [snippet of sound/oss/Makefile] > > obj-$(CONFIG_SOUND_GUS) += gus.o ad1848.o > > gus-objs := gus_card.o gus_midi.o gus_vol.o gus_wave.o ics2101.o > > > > > > Adrian: Do you have a GUS and can test this? > > Unfortunately not, I noticed this problem while doing compile-only tests > with a .config that has as much as possible enabled. > > BTW: > The sound/oss/mad16.c part of your patch doesn't belong to this problem? > No. But there are more compile errors I've fixed while at it: