$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/rlk120/Desktop/alsa-driver-1.0.21
checking cross compile...
checking for directory with kernel source... ./configure: line 5050: cd: /usr/src/linux: No such file or directory
/usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
1$ make
make all-deps
make[1]: Wejście do katalogu `/home/rlk120/Desktop/alsa-driver-1.0.21'
make[1]: Nie ma nic do zrobienia w `all-deps'.
make[1]: Opuszczenie katalogu `/home/rlk120/Desktop/alsa-driver-1.0.21'
Please, run the configure script as first...
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.30-1-common'
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-headers-2.6.30-1-common/Module.symvers
is missing; modules will have no dependencies and modversions.
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
Building modules, stage 2.
/usr/src/linux-headers-2.6.30-1-common/scripts/Makefile.modpost:43: include/config/auto.conf: Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
make[2]: *** Brak reguł do wykonania obiektu `include/config/auto.conf'. Stop.
make[1]: *** [modules] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.30-1-common'
make: *** [compile] Błąd 2
Kernel z repozytorium Debiana sid. Na kernelu z siduxa kompilacja działa bezproblemowo.
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.30-1-common'
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-headers-2.6.30-1-common/Module.symvers
is missing; modules will have no dependencies and modversions.
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
Building modules, stage 2.
/usr/src/linux-headers-2.6.30-1-common/scripts/Makefile.modpost:43: include/config/auto.conf: Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': Nie ma takiego pliku ani katalogu
make[2]: *** Brak reguł do wykonania obiektu `include/config/auto.conf'. Stop.
make[1]: *** [modules] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.30-1-common'
make: *** [compile] Błąd 2
To nie cały kod, tylko najważniejszy jego fragment.
Ten problem występuje u mnie od kernela w wersji 2.6.28 i niestety nic na razie nie udało się zrobić. Na wersji 2.6.26 nie było tego problemu. chyba będzie trzeba poczekać na paczki deb z nową wersją alsy, albo kompilować samemu kernel.