2010年10月5日 星期二

linux/bounds.h No such file or directory

make clean後,會刪除一些檔案,除了.ko之外,也會刪除一些include檔

linux/bounds.h並不是一開始就在kernel source內,而是透過Kbuild產生

~$ make prepare

CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.h

linux/bounds.h就產生了。

沒有留言:

張貼留言