Hello, On Wed, Jan 28, 2004 at 11:11:51PM +0300, Dmitry Baryshkov wrote: > Hello, > I tried to compile latest alsa-driver-1.0.2 with vanilla 2.6.2-rc2 frm > kernel.org on Debian sid. > > ./configure --with-kernel=/usr/src/linux-2.6.1 --with-moddir=/lib/modules/2.6.2-rc2 > --with-oss --with-sequencer && make > said that 'ALSA modules were successfully compiled.', but no modules were compiled.
[skipped] I managed to fix problem by applying attached patch. -- With best wishes Dmitry Baryshkov
diff -ur alsa-driver-1.0.2.orig/Makefile alsa-driver-1.0.2/Makefile --- alsa-driver-1.0.2.orig/Makefile 2004-01-16 21:12:15.000000000 +0300 +++ alsa-driver-1.0.2/Makefile 2004-01-31 17:59:09.000000000 +0300 @@ -99,7 +99,7 @@ .PHONY: compile compile: include/sound/version.h include/sndversions.h ifdef NEW_KBUILD - $(MAKE) -C $(CONFIG_SND_KERNELDIR) SUBDIRS=$(MAINSRCDIR)/kbuild modules + @for d in $(SUBDIRS); do if ! $(MAKE) -C $(CONFIG_SND_KERNELDIR) SUBDIRS=$(MAINSRCDIR)/$$d modules; then exit 1; fi; done else @for d in $(SUBDIRS); do if ! $(MAKE) -C $$d; then exit 1; fi; done endif