QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 816|回复: 5

内核编译的问题

[复制链接]
发表于 2003-7-11 20:42:49 | 显示全部楼层 |阅读模式
我在配置完内核后,使用make dep时,屏幕上出现了:
27: linux/limits.h: NO such file or directory 这么一句。
这是怎么回事?

我编译的内核版本是:2.4.10
发表于 2003-7-11 22:02:49 | 显示全部楼层
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?
回复

使用道具 举报

 楼主| 发表于 2003-7-12 11:25:22 | 显示全部楼层
limit.h这个文件是存在的,我用find命令查过,也确在/usr/include/linux下。
至于gcc的版本,我没看过。不过我用的是Redhat6.0,默认内核为2.2.14-5.0。
回复

使用道具 举报

发表于 2003-7-12 11:57:41 | 显示全部楼层
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.

o  Gnu C                  2.95.3                  # gcc --version
o  Gnu make               3.77                    # make --version
o  binutils               2.9.1.0.25              # ld -v
o  util-linux             2.10o                   # fdformat --version
o  modutils               2.4.2                   # insmod -V
o  e2fsprogs              1.19                    # tune2fs
o  reiserfsprogs          3.x.0j                  # reiserfsck 2>&1|grep reiserfsprogs
o  pcmcia-cs              3.1.21                  # cardmgr -V
o  PPP                    2.4.0                   # pppd --version
o  isdn4k-utils           3.1pre1                 # isdnctrl 2>&1|grep version
回复

使用道具 举报

 楼主| 发表于 2003-7-12 12:31:27 | 显示全部楼层
thank you! I will try again.
回复

使用道具 举报

发表于 2003-7-12 13:34:09 | 显示全部楼层
good luck
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-18 15:46 , Processed in 0.065467 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表