At Fri, 20 Sep 2002 15:45:56 -0500,
Zinx Verituse wrote:
> 
> I was getting NULL pointer derefs with ALSA 0.9.0rc3 and CVS, and my
> Thinkpad 600E..
> 
> After much trying of different versions, and a bit of poking in to
> the source, I figured out it was because ALSA is not including
> linux/autoconf.h at all, so it's not getting the CONFIG_PM define,
> and thus not filling in some _much needed_ function pointers.
> 
> Simple [verified] solution is to #include "linux/autoconf.h"

i think your kernel tree is broken.
usually, linux/autoconf.h is included from linux/config.h, which is
included by many other header files.
please check whether it's a real kernel tree.

> 
> I should note that I'm using Linux 2.4.x, and compiling ALSA
> separately (is there any way to patch 2.4.x with ALSA?)
> 
>  -and now for something completely different-
> 
> I also noticed that ALSA requires the kernel's soundcore.o in
> this setup, which does not create proper devfs devices (on my
> desktop, with two sound cards, it tries to create lots and lots
> of devices with the same name -- bad mojo.)
> 
> Editing alsa-kernel/core/oss/Makefile,
> alsa-kernel/core/oss/sound_oss.c, and soft linking a few files
> provides a workaround by using ALSA's soundcore.o, but it's
> far from elegant..
> 
> Is there a reason I shouldn't be using ALSA's soundcore.o with
> 2.4.x?  and are there patches for Linux 2.4.x's soundcore.o to
> make it create proper devfs names with ALSA?

you can replace soundcore.c with the one found in alsa-kernel.
this fixes the bug you mentioned.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to