./configure 里面有可疑信息:
代码: 全选
checking for kernel version... 2.6.24-4-generic
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 4.2.3 20080114 (prerelease) (Ubuntu 4.2.2-7ubuntu1)
*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.
*** Please make sure that the same compiler version was used for building kernel
代码: 全选
make -C /lib/modules/2.6.24-4-generic/build SUBDIRS=/home/jichuan/alsa-driver-1.0.15 CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-4-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/jichuan/alsa-driver-1.0.15/acore/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[2]: *** [/home/jichuan/alsa-driver-1.0.15/acore] Error 2
make[1]: *** [_module_/home/jichuan/alsa-driver-1.0.15] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-4-generic'
make: *** [compile] Error 2
代码: 全选