现在使用的是testing源,apt安装了alsa-souce并解压后运行./configure的时候到这里就会终止, checking for directory with kernel top-level makefile... /lib/modules/2.6.32-5-amd64/source checking for directory with kernel headers... failed 已经安装了headers了,不知道是什么原因导致这个问题。 如果是下载alsa官网上的来编译的话可以make但是会出现这个错误,
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. WARNING: Symbol version dump /usr/src/linux-headers-2.6.32-5-common/Module.symvers is missing; modules will have no dependencies and modversions. find: “/usr/src/linux-headers-2.6.32-5-common/alsa-kernel/”: 没有那个文件或目录 的确是没有alsa-kernel这个目录,这个是什么时候产生的?