小弟為了一張無線網的driver 要重新編譯核心(adm1111)
安裝了kernel-package 8.124後捉了2.6.10的kernel要編譯,但一make config ,出現了一堆error 是不是有什麼該裝的沒裝? (註目前環境:testing kernel 2.6.8 )
error如下:
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:105:23: sys/types.h:沒有檔案或目錄
scripts/basic/fixdep.c:106:22: sys/stat.h:沒有檔案或目錄
scripts/basic/fixdep.c:107:22: sys/mman.h:沒有檔案或目錄
scripts/basic/fixdep.c:108:20: unistd.h:沒有檔案或目錄
scripts/basic/fixdep.c:109:19: fcntl.h:沒有檔案或目錄
scripts/basic/fixdep.c:110:20: string.h:沒有檔案或目錄
scripts/basic/fixdep.c:111:20: stdlib.h:沒有檔案或目錄
scripts/basic/fixdep.c:112:19: stdio.h:沒有檔案或目錄In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from scripts/basic/fixdep.c:113:
…………略
scripts/basic/fixdep.c:334: error: storage size of `st' isn't known
scripts/basic/fixdep.c:338: error: `O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:340: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:350: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:350: error: `PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:350: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:350: warning: assignment makes pointer from integer without a cast
scripts/basic/fixdep.c:334: warning: unused variable `st'
scripts/basic/fixdep.c: In function `traps':
scripts/basic/fixdep.c:369: error: `stderr' undeclared (first use in this function)
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
有沒有人可以指導一下,謝謝!