Alsa
Alsa
Хочу поставить alsa, но при этом не хочу пересобирать ядро. Возможно ли это сделать при уже собранном по дефолтным настройкам кернеле? версия 2.4.29. И какую версю alsa-driver, alsa-lib, alsa-utils, alsa-oss качать?
- fanrar
- Неотъемлемая часть форума
- Сообщения: 256
- Зарегистрирован: 16 ноя 2004, 14:01
- Откуда: minsk
- Контактная информация:
Вдогонку: скомпилил себе новое ядро 2.6.7, потом ./configure в alsa-driver-1.0.9 и получаю:
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for egrep... 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/fanrar/system/alsa/alsa-driver-1.0.9
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.7-fanrar/build
checking for directory with kernel build...
checking for kernel version... 2.6.7-fanrar
checking for GCC version... Kernel compiler: gcc 3.3.4 Used compiler: gcc (GCC) 3.3.4
checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel
насколько хватает моего крайне скудного знания буржуйского, я допёр до того, что в ядре ВАЩЕ не должо быть альсы? Я правильно догнал или зачем?
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for egrep... 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/fanrar/system/alsa/alsa-driver-1.0.9
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.7-fanrar/build
checking for directory with kernel build...
checking for kernel version... 2.6.7-fanrar
checking for GCC version... Kernel compiler: gcc 3.3.4 Used compiler: gcc (GCC) 3.3.4
checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel
насколько хватает моего крайне скудного знания буржуйского, я допёр до того, что в ядре ВАЩЕ не должо быть альсы? Я правильно догнал или зачем?
"Ubuntu" is an ancient African word, meaning "I can't configure Slackware".
Собираю альсу. Скачал дрова, осс. либы и tools версии 1.0.9. ./configure в alsa-driver проходит нормально, а mаke ругается.
make[2]: Leaving directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/pci/ymfpci'
make[1]: Leaving directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/pci'
make[1]: Entering directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/usb'
copying file alsa-kernel/usb/usbaudio.c
patching file usbaudio.c
Hunk #3 succeeded at 1882 (offset -26 lines).
Hunk #5 succeeded at 1918 (offset -26 lines).
Hunk #7 succeeded at 2519 (offset -26 lines).
Hunk #8 succeeded at 2836 (offset -1 lines).
Hunk #9 succeeded at 2881 (offset -26 lines).
Hunk #10 succeeded at 2968 (offset -1 lines).
Hunk #11 succeeded at 2961 (offset -26 lines).
Hunk #12 succeeded at 3144 (offset 18 lines).
Hunk #13 succeeded at 3192 (offset -28 lines).
Hunk #14 succeeded at 3370 (offset 24 lines).
Hunk #15 succeeded at 3349 (offset -28 lines).
Hunk #16 succeeded at 3423 (offset 24 lines).
gcc -D__KERNEL__ -DMODULE=1 -I/home/fanrar/system/alsa/alsa-driver-1.0.9/include -I/lib/modules/2.4.29/build/include -O2 -mpreferred-stack-boundary=2 -march=i486 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -I/home/fanrar/system/alsa/alsa-driver-1.0.9/alsa-kernel/usb -DKBUILD_BASENAME=usbaudio -c -o usbaudio.o usbaudio.c
copying file alsa-kernel/usb/usbmixer.c
patching file usbmixer.c
Hunk #2 succeeded at 1650 (offset 1 line).
Hunk #4 succeeded at 1720 (offset 1 line).
gcc -D__KERNEL__ -DMODULE=1 -I/home/fanrar/system/alsa/alsa-driver-1.0.9/include -I/lib/modules/2.4.29/build/include -O2 -mpreferred-stack-boundary=2 -march=i486 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -I/home/fanrar/system/alsa/alsa-driver-1.0.9/alsa-kernel/usb -DKBUILD_BASENAME=usbmixer -c -o usbmixer.o usbmixer.c
copying file alsa-kernel/usb/usbmidi.c
patching file usbmidi.c
Hunk #2 FAILED at 288.
1 out of 4 hunks FAILED -- saving rejects to file usbmidi.c.rej
make[1]: *** [usbmidi.c] Ошибка 1
make[1]: Leaving directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/usb'
make: *** [compile] Ошибка 1
kernel 2.4.29, slackware 10.1
make[2]: Leaving directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/pci/ymfpci'
make[1]: Leaving directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/pci'
make[1]: Entering directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/usb'
copying file alsa-kernel/usb/usbaudio.c
patching file usbaudio.c
Hunk #3 succeeded at 1882 (offset -26 lines).
Hunk #5 succeeded at 1918 (offset -26 lines).
Hunk #7 succeeded at 2519 (offset -26 lines).
Hunk #8 succeeded at 2836 (offset -1 lines).
Hunk #9 succeeded at 2881 (offset -26 lines).
Hunk #10 succeeded at 2968 (offset -1 lines).
Hunk #11 succeeded at 2961 (offset -26 lines).
Hunk #12 succeeded at 3144 (offset 18 lines).
Hunk #13 succeeded at 3192 (offset -28 lines).
Hunk #14 succeeded at 3370 (offset 24 lines).
Hunk #15 succeeded at 3349 (offset -28 lines).
Hunk #16 succeeded at 3423 (offset 24 lines).
gcc -D__KERNEL__ -DMODULE=1 -I/home/fanrar/system/alsa/alsa-driver-1.0.9/include -I/lib/modules/2.4.29/build/include -O2 -mpreferred-stack-boundary=2 -march=i486 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -I/home/fanrar/system/alsa/alsa-driver-1.0.9/alsa-kernel/usb -DKBUILD_BASENAME=usbaudio -c -o usbaudio.o usbaudio.c
copying file alsa-kernel/usb/usbmixer.c
patching file usbmixer.c
Hunk #2 succeeded at 1650 (offset 1 line).
Hunk #4 succeeded at 1720 (offset 1 line).
gcc -D__KERNEL__ -DMODULE=1 -I/home/fanrar/system/alsa/alsa-driver-1.0.9/include -I/lib/modules/2.4.29/build/include -O2 -mpreferred-stack-boundary=2 -march=i486 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -I/home/fanrar/system/alsa/alsa-driver-1.0.9/alsa-kernel/usb -DKBUILD_BASENAME=usbmixer -c -o usbmixer.o usbmixer.c
copying file alsa-kernel/usb/usbmidi.c
patching file usbmidi.c
Hunk #2 FAILED at 288.
1 out of 4 hunks FAILED -- saving rejects to file usbmidi.c.rej
make[1]: *** [usbmidi.c] Ошибка 1
make[1]: Leaving directory `/home/fanrar/system/alsa/alsa-driver-1.0.9/usb'
make: *** [compile] Ошибка 1
kernel 2.4.29, slackware 10.1