PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme beim installieren von Alsa



PhobosUT
29.11.02, 15:58
Ich hab' SuSE Linux 7.3. In der Anleitung steht, dass die Kernel-Quellen nach der Installation des Paktes kernel-source aus der Serie D im Verzeichnis /usr/src/linux liegen. Das scheint auch der Fall zu sein:

/usr/src sieht so aus:

drwxr-xr-x 4 root root 136 Nov 17 10:16 .
drwxr-xr-x 18 root root 544 Nov 7 15:57 ..
lrwxrwxrwx 1 root root 17 Nov 17 10:16 linux -> linux-2.4.10.SuSE
drwxr-xr-x 15 root root 616 Nov 17 10:16 linux-2.4.10.SuSE
drwxr-xr-x 7 root root 168 Sep 9 19:54 packages


und /usr/src/linux sieht so aus:

drwxr-xr-x 15 root root 616 Nov 17 10:16 .
drwxr-xr-x 4 root root 136 Nov 17 10:16 ..
-rw-r--r-- 1 root root 38187 Okt 25 2001 .config
-rw-r--r-- 1 root root 11 Okt 25 2001 .kversion
-rw-r--r-- 1 root root 18633 Sep 8 2000 COPYING
-rw-r--r-- 1 root root 77424 Okt 25 2001 CREDITS
drwxr-xr-x 30 root root 3416 Nov 17 10:16 Documentation
-rw-r--r-- 1 root root 38104 Okt 25 2001 MAINTAINERS
-rw-r--r-- 1 root root 18338 Okt 25 2001 Makefile
-rw-r--r-- 1 root root 14491 Mär 26 2001 README
-rw-r--r-- 1 root root 2815 Apr 6 2001 REPORTING-BUGS
-rw-r--r-- 1 root root 8884 Okt 25 2001 Rules.make
drwxr-xr-x 10 root root 296 Nov 17 10:16 abi
drwxr-xr-x 18 root root 432 Nov 17 10:16 arch
drwxr-xr-x 40 root root 1008 Nov 17 10:16 drivers
drwxr-xr-x 44 root root 2160 Nov 17 10:16 fs
drwxr-xr-x 27 root root 728 Nov 17 10:16 include
drwxr-xr-x 2 root root 104 Nov 17 10:16 init
drwxr-xr-x 2 root root 192 Nov 17 10:16 ipc
drwxr-xr-x 2 root root 736 Nov 17 10:16 kernel
drwxr-xr-x 2 root root 376 Nov 17 10:16 lib
drwxr-xr-x 2 root root 608 Nov 17 10:16 mm
drwxr-xr-x 28 root root 888 Nov 17 10:16 net
drwxr-xr-x 5 root root 944 Nov 17 10:16 scripts

Das müsste ja soweit alles stimmen.
Wenn ich allerdings nun in das Verzeichnis wechsel, in dem die Quellen des Alsa Treiber liegen (Version 0.9.0rc5) und dort ./configure eintippe bricht das configureSCript mit folgender Fehlermeldung ab:

checking for directory with kernel source... /lib/modules/2.4.10-4GB/build
checking for kernel version... The file /lib/modules/2.4.10-4GB/build/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).

Scheinbar findet der die Kernelquellen nicht, obwohl er in /usr/src/linux nach ihnen sucht, wo sie ja auch liegen. Woran liegt das?

Powerful3D
29.11.02, 17:06
Also du musst noch die version.h installieren bzw. ausm Boot bereich rauskopieren. also in der konsole das eingeben: cp /boot/vmlinuz.version.h /lib/modules/2.4.10-4GB/build/include/linux/version.h. Danach ./configure etc. weitere infos findest du bei dem Typen: Klick (http://mitglied.lycos.de/bforum/forum/)

MfG Powerful3d

PhobosUT
30.11.02, 09:29
Danke, hat geklappt! :D