On Thu, 29 Nov 2001 10:14:29 +0100 Marian Grigoras <[EMAIL PROTECTED]> wrote:
> Hello, > > I have a MSI K7T 266 mainboard with on-board sound, reported as VIA AC97 > Audio Controller. > In fact the <sndconfig> program from RedHat finds it, but says it is not > supported and indicates that ALSA has a driver for this. And indeed ALSA > has a driver called via686a from version 0.5.9. I'm not sure that's the right driver... > So I tried to install the last stable version from ALSA: 0.5.12 > First the ./config did not work ok because of the different directory > structure of RH72 (it reported that version.h can not be found) but I > managed to solve this by a symbolic link, so now the config works ok. But your 'solution' caused problems later I think :) > The actual problem that I have is with the <make>. It starts compiling > and only issues a warning for the use of malloc.h (see bellow). But it > stops on error at sound.c. This is the output that I got - I hope it > helps you more than it helped me :) > > > [root@localhost alsa-driver-0.5.12]#make > make[1]: Entering directory `/misc/alex/alsa-driver-0.5.12/kernel' > gcc -DALSA_BUILD -D__KERNEL__ -O2 -mpreferred-stack-boundary=2 > -march=athlon -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer > -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c sound.c > In file included from ../include/driver.h:66, > from sound.c:23: > /usr/src/linux/include/linux/modversions.h:1:2: #error Modules should > never use kernel-headers system headers, > /usr/src/linux/include/linux/modversions.h:2:2: #error but rather > headers from an appropriate kernel-source package. The above seems to be the problem... > /usr/src/linux/include/linux/modversions.h:3:2: #error Change > -I/usr/src/linux/include (or similar) to > /usr/src/linux/include/linux/modversions.h:4:2: #error > -I/lib/modules/$(uname -r)/build/include > /usr/src/linux/include/linux/modversions.h:5:2: #error to build against > the currently-running kernel. > In file included from ../include/driver.h:84, > from sound.c:23: > /usr/src/linux/include/linux/malloc.h:3:2: warning: #warning The Use of > linux/malloc.h is deprecated, use linux/slab.h > make[1]: *** [sound.o] Error 1 > make[1]: Leaving directory `/misc/alex/alsa-driver-0.5.12/kernel' > make: *** [compile] Error 1 > [root@localhost alsa-driver-0.5.12]# > > > I looked under /lib/modules/2.4.7-10/ and there is no 'build' directory > or link. > > Is there something missing in my installation? Or how can I get past it? I think you must install the sources and headers of the kernel you're running. There are .rpm packages for that on your CD's. > Thanks, > Marian Grigoras Hope this helps, -Frans _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user