In file included from memalloc.c:1:
/lib/modules/2.4.19-16mdk/build/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /lib/modules/2.4.19-16mdk/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.19-16mdk/build/include/linux/list.h:6,
                 from /lib/modules/2.4.19-16mdk/build/include/linux/module.h:12,
                 from /home/pvr/Documents/installed/alsarls/alsa-driver-0.9.0rc8a/include/adriver.h:49,
                 from memalloc.c:11:
/lib/modules/2.4.19-16mdk/build/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/asm/processor.h:56: requested alignment is not a constant
In file included from /lib/modules/2.4.19-16mdk/build/include/linux/module.h:21,
                 from /home/pvr/Documents/installed/alsarls/alsa-driver-0.9.0rc8a/include/adriver.h:49,
                 from memalloc.c:11:
/usr/include/linux/modversions.h:1:2: #error "======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/modversions.h:34:2: #error "======================================================="
In file included from /lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:45,
                 from /home/pvr/Documents/installed/alsarls/alsa-driver-0.9.0rc8a/include/adriver.h:162,
                 from memalloc.c:11:
/lib/modules/2.4.19-16mdk/build/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/linux/irq.h:65: requested alignment is not a constant
In file included from /lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:45,
                 from /home/pvr/Documents/installed/alsarls/alsa-driver-0.9.0rc8a/include/adriver.h:162,
                 from memalloc.c:11:
/lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from /home/pvr/Documents/installed/alsarls/alsa-driver-0.9.0rc8a/include/adriver.h:162,
                 from memalloc.c:11:
/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:128: requested alignment is not a constant
In file included from memalloc.c:13:
../alsa-kernel/core/memalloc.c: In function `snd_mem_init':
../alsa-kernel/core/memalloc.c:738: `snd_mem_proc_read' undeclared (first use in this function)
../alsa-kernel/core/memalloc.c:738: (Each undeclared identifier is reported only once
../alsa-kernel/core/memalloc.c:738: for each function it appears in.)
In file included from memalloc.c:13:
../alsa-kernel/core/memalloc.c: At top level:
../alsa-kernel/core/memalloc.c:759: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:759: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:759: warning: data definition has no type or storage class
../alsa-kernel/core/memalloc.c:760: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:760: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:760: warning: data definition has no type or storage class
../alsa-kernel/core/memalloc.c:761: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:761: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:761: warning: data definition has no type or storage class
../alsa-kernel/core/memalloc.c:762: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:762: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:762: warning: data definition has no type or storage class
../alsa-kernel/core/memalloc.c:763: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:763: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:763: warning: data definition has no type or storage class
../alsa-kernel/core/memalloc.c:765: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:765: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:765: warning: data definition has no type or storage class
../alsa-kernel/core/memalloc.c:766: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:766: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:766: warning: data definition has no type or storage class
../alsa-kernel/core/memalloc.c:767: parse error before "config_must_be_included_before_module"
../alsa-kernel/core/memalloc.c:767: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
../alsa-kernel/core/memalloc.c:767: warning: data definition has no type or storage class
make[1]: *** [memalloc.o] Error 1
make: *** [compile] Error 1
