Hi, Don't know if this'll work, but it might be worth a shot: did you try changing the path mentioned in the error message? I don't know C, but it looks to me like your final error could be caused by the first error.
HTH, Ben On Thu, Nov 29, 2001 at 10:14:29AM +0100, Marian Grigoras wrote: > [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. > /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? > > Thanks, > Marian Grigoras > > -- > \\\|/// > \\ ~ ~ // > ( @ @ ) > -------------oOOo-(_)-oOOo------------ > Marian Grigoras > Email :[EMAIL PROTECTED] > -----------------------Oooo.---------- > .oooO ( ) > ( ) ) / > \ ( (_/ > \_) \_) > > > _______________________________________________ > Alsa-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-user > -- Ben Logan: ben at wblogan dot net OpenPGP Key KeyID: A1ADD1F0 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user