Компилляция alsa-driver
Проблема с установкой драйверов для звуковухи. Система отказывается компиллировать alsa-driver, конечный лог такой:
make[1]: Entering directory `/usr/src/linux-2.6.21-gentoo-r4'
CC [M] /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore/memalloc.o
In file included from /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore/memalloc.inc:13,
from /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore/memalloc.c:1:
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h: In function 'snd_pci_orig_save_state':
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state'
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h: In function 'snd_pci_orig_restore_state':
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'
make[4]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore/memalloc.o] Error 1
make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore] Error 2
make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21-gentoo-r4'
make: *** [compile] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.14_rc2-r1 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
alsa-driver-1.0.14_rc2-r1.ebuild, line 129: Called die
!!! Make Failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/temp/build.log'.
В ядре включил поддержку звука
- Для комментирования войдите или зарегистрируйтесь
Проблема
Проблема оказалась в несовместимости media-sound/alsa-driver-1.0.14_rc2-r1 и младше с linux-2.6.21-gentoo-r4.
Размаскировав =media-sound/alsa-driver-1.0.14, фокус удался.
Спасибо за
Спасибо за подсказку.