|
楼主 |
发表于 2002-10-13 00:02:39
|
显示全部楼层
不可能吧
我看了所有的.h文件都在/usr/include/linux里呀,在config时error info如下:
Checking OS
Checking machine type
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
... in /usr/src/linux: nope
... in /usr/src/kernel-headers-2.4.18-6mdk: nope
... in /usr/src/linux-2.4.18: nope
... in /usr/src/linux-2.4.18-6mdk: nope
... in /lib/modules/2.4.18-6mdk/build: nope
ERROR: No kernel headers found.
If you have kernel headers installed but configure did not
find them, please try --with-kernel=dir, otherwise please
install the kernel headers from your distribution.
Two other common problems are unreadable kernel sources
(SuSE - build as root) or unconfigured kernel sources
(configure kernel sources and execute make dep in the
kernel source tree).
我不明白这句化:try --with-kernel=dir
应该怎么用。请再指教
多谢 |
|