At Sat, 31 Jan 2004 17:59:50 +0300,
Dmitry Baryshkov wrote:
> 
> [1  <text/plain; koi8-r (7bit)>]
> 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
> 
> [2 alsa-driver-1.0.2.patch <text/plain; koi8-r (7bit)>]
> 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

this was the first version, but it is the problem when you have built
the ALSA modules already in the kernel with module version.
the compilation looks fine, but the module versions conflict and it
results in mysterious unresolved symbols at loading.

so, this is not the correct fix, unfortunately.


Takashi


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to