LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 776|回复: 3

why there is a redhat directory?

[复制链接]
发表于 2005-3-21 11:06:27 | 显示全部楼层 |阅读模式
after install redhat 8.0 , into /usr/src

[root@autofei src]# ls
linux-2.4  linux-2.4.18-14  redhat

[root@autofei redhat]# ls
BUILD  RPMS  SOURCES  SPECS  SRPMS

what is the function of redhat directory?

thanks!
 楼主| 发表于 2005-3-21 12:19:25 | 显示全部楼层
[root@autofei linux]# make xconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
In file included from /usr/include/linux/errno.h:4,
                 from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from scripts/basic/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[1]: *** [scripts/basic/split-include] Error 1
make: *** [scripts_basic] Error 2
[root@autofei linux]# make menuconfig
  HOSTCC  scripts/basic/split-include
In file included from /usr/include/linux/errno.h:4,
                 from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from scripts/basic/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[1]: *** [scripts/basic/split-include] Error 1
make: *** [scripts_basic] Error 2

show error info, maybe link wrong, but i did

# cd /usr/include/
# rm -r asm linux scsi
# ln -s /usr/src/linux/include/asm-i386 asm
# ln -s /usr/src/linux/include/linux linux
# ln -s /usr/src/linux/include/scsi scsi

how to fix this problem?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-27 16:50:11 | 显示全部楼层
下载了2.6的内核,还是提示如下错误,请版主大人指教了!实在是想不出来什么问题了,谢谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-27 16:52:00 | 显示全部楼层
[root@autofei linux]# make xconfig
make[1]: `scripts/fixdep' is up to date.
  HOSTCC  scripts/kconfig/mconf.o
In file included from /usr/include/linux/errno.h:4,
                 from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from scripts/kconfig/mconf.c:12:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
scripts/kconfig/mconf.c: In function `exec_conf':
scripts/kconfig/mconf.c:243: `EINTR' undeclared (first use in this function)
scripts/kconfig/mconf.c:243: (Each undeclared identifier is reported only once
scripts/kconfig/mconf.c:243: for each function it appears in.)
scripts/kconfig/mconf.c:243: `EAGAIN' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [xconfig] Error 2
回复 支持 反对

使用道具 举报

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

本版积分规则

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