Salut. J'ai essaye de mettre en oeuvre le tuto sur une Debian Sid, mais ca bloque assez vite. Detaillons :
Je decide donc de compiler.
Un apt-get install alsa-source me telecharge alsa-driver.tar.bz2 dans /usr/src/
Je le decompresse et j'obtiens un repertoire modules contenant lui-meme un repertoire alsa-driver. Je m'y place avec un cd /usr/src/modules/alsa-driver
J'attaque la compilation :
Et donc la ca bloque. Pourtant tous paquets en rapport avec les headers de mon noyau sont bien installes :
Comment dois-je faire dans ce cas?
# modinfo snd-aloop ERROR: modinfo: could not find module snd-aloop
Je decide donc de compiler.
Un apt-get install alsa-source me telecharge alsa-driver.tar.bz2 dans /usr/src/
Je le decompresse et j'obtiens un repertoire modules contenant lui-meme un repertoire alsa-driver. Je m'y place avec un cd /usr/src/modules/alsa-driver
J'attaque la compilation :
# ./configure --with-cards=loopback checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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... /usr/src/modules/alsa-driver checking cross compile... checking for directory with ALSA kernel sources... ../alsa-kmirror checking for directory with kernel top-level makefile... /lib/modules/2.6.31.12-rt21-1-amd64/source checking for directory with kernel headers... failed
Et donc la ca bloque. Pourtant tous paquets en rapport avec les headers de mon noyau sont bien installes :
# aptitude search linux-headers-2.6.31.12-rt21-1 i linux-headers-2.6.31.12-rt21-1-all - All header files for Linux 2.6.31.12-rt21 i linux-headers-2.6.31.12-rt21-1-all-amd64 - All header files for Linux 2.6.31.12-rt21 i linux-headers-2.6.31.12-rt21-1-amd64 - Header files for Linux 2.6.31.12-rt21-1-amd64 i A linux-headers-2.6.31.12-rt21-1-common - Common header files for Linux 2.6.31.12-rt21-1
Comment dois-je faire dans ce cas?