alsa 驱动程序编译时出现错误 12.04.02 LTS

alsa 驱动程序编译时出现错误 12.04.02 LTS

我在安装 alsa 驱动程序时遇到问题。

以下是编译日志:

In file included from /home/aleks/alsa-driver-1.0.25/firewire/speakers.c:5:0:
/home/aleks/alsa-driver-1.0.25/firewire/../alsa-kernel/firewire/speakers.c: В функции «fwspk_card_free»:
/home/aleks/alsa-driver-1.0.25/firewire/../alsa-kernel/firewire/speakers.c:664:2: ошибка: неявная декларация функции «fw_device_put» [-Werror=implicit-function-declaration]
/home/aleks/alsa-driver-1.0.25/firewire/../alsa-kernel/firewire/speakers.c: В функции «fwspk_probe»:
/home/aleks/alsa-driver-1.0.25/firewire/../alsa-kernel/firewire/speakers.c:721:2: ошибка: неявная декларация функции «fw_device_get» [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/home/aleks/alsa-driver-1.0.25/firewire/speakers.o] Ошибка 1
make[2]: *** [/home/aleks/alsa-driver-1.0.25/firewire] Ошибка 2
make[1]: *** [_module_/home/aleks/alsa-driver-1.0.25] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.5.0-25-generic'
make: *** [compile] Ошибка 2`

答案1

1.0.25 驱动程序包已过时。

驱动程序是内核的一部分;要更新驱动程序,只需更新内核

相关内容