kernel/built-in.o: In function `.text.lock.mutex'
make[1]: 正在进入目录 `/usr/src/linux-2.6.18'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o: In function `.text.lock.mutex':
mutex.c:(.sched.text+0x17a7): undefined reference to `__mutex_lock_slowpath'
mutex.c:(.sched.text+0x17b1): undefined reference to `__mutex_unlock_slowpath'
make[1]: *** [.tmp_vmlinux1] 错误 1
make[1]:正在离开目录 `/usr/src/linux-2.6.18'
make: *** [debian/stamp/build/kernel] 错误 2
CONFIG_DEBUG_MUTEXES
CONFIG_DEBUG_LOCK_ALLOC
这两个宏使能了没?