内核编译的问题
我在配置完内核后,使用make dep时,屏幕上出现了:27: linux/limits.h: NO such file or directory 这么一句。
这是怎么回事?
我编译的内核版本是:2.4.10 :shock: do u install the user space header succ?
can u check if u have /usr/include/linux/limit.h?
what is u currentlt linux version and gcc version? limit.h这个文件是存在的,我用find命令查过,也确在/usr/include/linux下。
至于gcc的版本,我没看过。不过我用的是Redhat6.0,默认内核为2.2.14-5.0。 sorry, u need /usr/include/linux/limits.h
can u check?
and for gcc version, u can use gcc -v to check.
for 2.4.10 u need
------------------------
Upgrade to at *least* these software revisions before thinking you've
encountered a bug!If you're unsure what version you're currently
running, the suggested command should tell you.
Again, keep in mind that this list assumes you are already
functionally running a Linux 2.2 kernel.Also, not all tools are
necessary on all systems; obviously, if you don't have any PCMCIA (PC
Card) hardware, for example, you probably needn't concern yourself
with pcmcia-cs.
oGnu C 2.95.3 # gcc --version
oGnu make 3.77 # make --version
obinutils 2.9.1.0.25 # ld -v
outil-linux 2.10o # fdformat --version
omodutils 2.4.2 # insmod -V
oe2fsprogs 1.19 # tune2fs
oreiserfsprogs 3.x.0j # reiserfsck 2>&1|grep reiserfsprogs
opcmcia-cs 3.1.21 # cardmgr -V
oPPP 2.4.0 # pppd --version
oisdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version thank you! I will try again. good luck
页:
[1]