我遇到了一个问题。我必须在内核上启用 ALSA,从内置改为模块,因为我需要为 ALC260 安装 Realtek Linux 驱动程序。如果我在内核配置中更改它并运行 make 命令,我会收到以下错误:
drivers/built-in.o: In function `mxc_hdmi_register_audio':
clkdev.c:(.text+0x6cc44): undefined reference to `snd_pcm_link_rwlock'
drivers/built-in.o: In function `mxc_hdmi_abort_stream':
clkdev.c:(.text+0x6ccfc): undefined reference to `snd_pcm_link_rwlock'
drivers/built-in.o: In function `asrc_init':
clkdev.c:(.init.text+0x7b34): undefined reference to `asrc_p2p_hook'
drivers/built-in.o: In function `asrc_exit':
clkdev.c:(.exit.text+0xe74): undefined reference to `asrc_p2p_hook'
make: *** [.tmp_vmlinux1] Errore 1
有人能帮助我吗?
答案1
先运行make distclean
。然后输入make menuconfig
,进行修改。再输入make
。就可以编译了,不会出错。