I've got a problems trying to compile 1.0.16 drivers with kernel 2.6.25. I would to add, that on kernel 2.6.23 (same machine, same OS, same environment) there's no problem - so it must be some incompatibility between drivers and kernel. Below fragment of an output, starting from the error-reporting lines: -------------------------------------------------------- [..] make -C /lib/modules/2.6.25-pentium-ii/build SUBDIRS=/usr/src/alsa-driver-1.0.16 CPP="gcc -E" CC="gcc" modules make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.25-pentium-ii' CC [M] /usr/src/alsa-driver-1.0.16/acore/hwdep.o In file included from include/linux/posix_types.h:47, from include/linux/types.h:11, from include/linux/prefetch.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from /usr/src/alsa-driver-1.0.16/include/adriver.h:26, from /usr/src/alsa-driver-1.0.16/acore/hwdep.c:1: /usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:13:22: error: features.h: Nie ma takiego pliku ani katalogu /usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:14:35: error: no include path in which to search for asm/posix_types.h In file included from include/linux/prefetch.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from /usr/src/alsa-driver-1.0.16/include/adriver.h:26, from /usr/src/alsa-driver-1.0.16/acore/hwdep.c:1: include/linux/types.h:12:23: error: asm/types.h: Nie ma takiego pliku ani katalogu In file included from include/linux/prefetch.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from /usr/src/alsa-driver-1.0.16/include/adriver.h:26, from /usr/src/alsa-driver-1.0.16/acore/hwdep.c:1: include/linux/types.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t' include/linux/types.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t' include/linux/types.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t' [..] ...a real lot of errors [..] /usr/src/alsa-driver-1.0.16/acore/hwdep.c:380: warning: assignment makes pointer from integer without a cast /usr/src/alsa-driver-1.0.16/acore/hwdep.c:383: error: 'ENOMEM' undeclared (first use in this function) /usr/src/alsa-driver-1.0.16/acore/hwdep.c: In function 'snd_hwdep_dev_register': /usr/src/alsa-driver-1.0.16/acore/hwdep.c:426: error: 'EBUSY' undeclared (first use in this function) /usr/src/alsa-driver-1.0.16/acore/hwdep.c: In function 'snd_hwdep_dev_disconnect': /usr/src/alsa-driver-1.0.16/acore/hwdep.c:468: error: 'EINVAL' undeclared (first use in this function) /usr/src/alsa-driver-1.0.16/acore/hwdep.c: In function 'snd_hwdep_proc_init': /usr/src/alsa-driver-1.0.16/acore/hwdep.c:504: error: 'struct snd_info_entry' has no member named 'c' make[3]: *** [/usr/src/alsa-driver-1.0.16/acore/hwdep.o] Błąd 1 make[2]: *** [/usr/src/alsa-driver-1.0.16/acore] Błąd 2 make[1]: *** [_module_/usr/src/alsa-driver-1.0.16] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.25-pentium-ii' make: *** [compile] Błąd 2 -------------------------------------------------------- Pay attention at the lines: /usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:13:22: error: features.h: Nie ma takiego pliku ani katalogu /usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:14:35: error: no include path in which to search for asm/posix_types.h It was suggesting to me, that there was a problem with $PATH to /usr/include Although I can't see any reason - I made a try setting C_INCLUDE_PATH before - but it didn't help much: -------------------------------------------------------- root@sarge/usr/src/alsa-driver-1.0.16# export C_INCLUDE_PATH=/usr/include root@sarge/usr/src/alsa-driver-1.0.16# make >alsa2 2>&1 make dep make[1]: Wejście do katalogu `/usr/src/alsa-driver-1.0.16' [..] make[1]: Opuszczenie katalogu `/usr/src/alsa-driver-1.0.16' make -C /lib/modules/2.6.25-pentium-ii/build SUBDIRS=/usr/src/alsa-driver-1.0.16 CPP="gcc -E" CC="gcc" modules make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.25-pentium-ii' CC [M] /usr/src/alsa-driver-1.0.16/acore/hwdep.o In file included from include/linux/kernel.h:16, from /usr/include/asm-i486/system.h:4, from /usr/include/asm/system.h:8, from /usr/include/asm-i486/processor.h:18, from /usr/include/asm/processor.h:8, from include/linux/prefetch.h:14, from include/linux/list.h:8, from include/linux/module.h:9, from /usr/src/alsa-driver-1.0.16/include/adriver.h:26, from /usr/src/alsa-driver-1.0.16/acore/hwdep.c:1: include/linux/log2.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_power_of_2' In file included from /usr/include/asm-i486/system.h:4, from /usr/include/asm/system.h:8, from /usr/include/asm-i486/processor.h:18, from /usr/include/asm/processor.h:8, from include/linux/prefetch.h:14, from include/linux/list.h:8, from include/linux/module.h:9, from /usr/src/alsa-driver-1.0.16/include/adriver.h:26, from /usr/src/alsa-driver-1.0.16/acore/hwdep.c:1: include/linux/kernel.h:152: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:153: error: format string argument not a string type include/linux/kernel.h:154: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:156: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:157: error: format string argument not a string type [..] ...a real lot of errors [..] /usr/src/alsa-driver-1.0.16/acore/hwdep.c:350: warning: (near initialization for 'snd_hwdep_f_ops') /usr/src/alsa-driver-1.0.16/acore/hwdep.c: In function 'snd_hwdep_new': /usr/src/alsa-driver-1.0.16/acore/hwdep.c:380: warning: assignment makes pointer from integer without a cast /usr/src/alsa-driver-1.0.16/acore/hwdep.c: In function 'snd_hwdep_proc_init': /usr/src/alsa-driver-1.0.16/acore/hwdep.c:504: error: 'struct snd_info_entry' has no member named 'c' make[3]: *** [/usr/src/alsa-driver-1.0.16/acore/hwdep.o] Błąd 1 make[2]: *** [/usr/src/alsa-driver-1.0.16/acore] Błąd 2 make[1]: *** [_module_/usr/src/alsa-driver-1.0.16] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.25-pentium-ii' make: *** [compile] Błąd 2 ------------------------------------------------------- Does there exist any cure? -- pozdrawiam / regards Zbigniew Baniewski ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user