On Thu, 14 Dec 2000 11:46:20 -0800 (PST) Andrew Perrin <[EMAIL PROTECTED]> wrote:
> Greetings. I'm trying to compile (from source) alsa-driver and the other > components of alsa, and running into this (rather opaque) problem: > > make[1]: Entering directory `/usr/src/alsa-driver-0.5.10/kernel' > gcc -DALSA_BUILD -D__KERNEL__ -O2 -m386 -DCPU=386 -DLINUX -Wall > -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. > -DEXPORT_SYMTAB -c sound.c > In file included from sound.c:23: > ../include/driver.h:66: linux/modversions.h: No such file or directory > make[1]: *** [sound.o] Error 1 > make[1]: Leaving directory `/usr/src/alsa-driver-0.5.10/kernel' > make: *** [compile] Error 1 > > it's quite true, there is no modversions.h. I can create one by linking > to .../kernel-headers-2.2.17/include/linux/modversions.h, but that just > spits out a long list of errors too. Has anyone managed to figure this > out? It seems that kernels and the alsa driver like to live in certain directories. I assume here, you do have the kernel sources comiled and installed (BTW, why aren't you using the latest?). The kernel sources should be in "/usr/src/linux-<version>"; then, there should be a link "/usr/src/linux" just to that directory. Next, if you unpack the alsa sources, they should be in "/usr/src/modules/alsa-driver/". There you should run "./configure". If you still have problems, maybe you should run ./configure with "--help" to see, if there are some directories you could set explicitly, but actually, this should not be necessary. HTH -- Christoph Simon [EMAIL PROTECTED] --- ^X^C q quit :q ^C end x exit ZZ ^D ? help shit .