Hi all, I ran into problems when compiling alsa 0.9.4 for my Ensoniq ES1869. I did the following:
./configure --with-cards=es18xx --with-sequencer=yes configure stopped with a message that it couldn't find any kernel sources. So I added --with-kernel=/usr This worked, at least ./configure finished. Dring the configure, it warned about a difference between compiler versions from the RedHat kernel and alsa. so, I typed make, and it started to make, but with lots of warning, and finally an error: from mulaw.c:2: /usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory In file included from /usr/include/linux/highmem.h:5, from /usr/include/linux/pagemap.h:16, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:224, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/mulaw.c:24, from mulaw.c:2: /usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory In file included from /usr/include/linux/fs.h:23, from /usr/include/linux/capability.h:17, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:9, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:120, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/route.c:22, from route.c:2: /usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland! In file included from /usr/include/linux/bitops.h:69, from /usr/include/asm/system.h:7, from /usr/include/linux/sched.h:16, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:120, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/route.c:22, from route.c:2: /usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures. /usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed In file included from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:191, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/route.c:22, from route.c:2: /usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory /usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory In file included from /usr/include/linux/pagemap.h:15, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:224, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/route.c:22, from route.c:2: /usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory In file included from /usr/include/linux/highmem.h:5, from /usr/include/linux/pagemap.h:16, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:224, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/route.c:22, from route.c:2: /usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory In file included from /usr/include/linux/fs.h:23, from /usr/include/linux/capability.h:17, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:9, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:120, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/rate.c:22, from rate.c:2: /usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland! In file included from /usr/include/linux/bitops.h:69, from /usr/include/asm/system.h:7, from /usr/include/linux/sched.h:16, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:120, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/rate.c:22, from rate.c:2: /usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures. /usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed In file included from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:191, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/rate.c:22, from rate.c:2: /usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory /usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory In file included from /usr/include/linux/pagemap.h:15, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:224, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/rate.c:22, from rate.c:2: /usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory In file included from /usr/include/linux/highmem.h:5, from /usr/include/linux/pagemap.h:16, from /usr/include/linux/locks.h:8, from /usr/include/linux/devfs_fs_kernel.h:6, from /usr/src/alsa/alsa-driver-0.9.4/include/adriver.h:224, from /usr/src/alsa/alsa-driver-0.9.4/include/sound/driver.h:42, from /usr/src/alsa/alsa-driver-0.9.4/alsa-kernel/core/oss/rate.c:22, from rate.c:2: /usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory make[3]: *** [fastdep] Error 1 make[3]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.4/acore/oss' make[2]: *** [_sfdep_oss] Error 2 make[2]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.4/acore' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.4' make: *** [include/sndversions.h] Error 2 Can anybody tell me hwhat to do ? Thanks, Andy Kannberg