LinuxSir.cn,穿越时空的Linuxsir!

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

第一次装lfs在bash就挂了,望版主指点

[复制链接]
发表于 2003-6-18 10:54:09 | 显示全部楼层 |阅读模式
下面是错误,不懂什么意思


        ***********************************************************
          *                                                         *
          * GNU bash, version 2.05a.0(1)-release (i686-pc-linux-gnu)
          *                                                         *
          ***********************************************************

rm -f shell.o
gcc -s  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib -g -O2 -c shell.c
In file included from shell.h:41,
                 from shell.c:48:
externs.h:163: conflicting types for `gethostname'
/usr/include/unistd.h:752: previous declaration of `gethostname'
externs.h:196: conflicting types for `strncasecmp'
/usr/include/string.h:292: previous declaration of `strncasecmp'
make: *** [shell.o] Error 1
发表于 2003-6-18 13:18:37 | 显示全部楼层
hostname设置有问题,可以设置成sample或者sample.xxxx.com或者设置成xxx.xxx.xxx.xxx这样的IP的形式也可以。
发表于 2003-6-18 13:45:40 | 显示全部楼层
我觉得是少头文件。glibc-devel或glibc-static-devel
发表于 2003-6-18 13:50:34 | 显示全部楼层
肯定是少头文件。我第一次在mandrake9下安装就碰到这个问题。
http://www.linuxsir.net/bbs/show ... amp;highlight=kj501
 楼主| 发表于 2003-6-18 23:50:52 | 显示全部楼层

忘说了,我就是在MDK9.1下装的

后来换了rh9安装,就没有任何问题了,非常顺利,不到一天就装好了,看来lfs对于MDK9的支持不是很好
发表于 2003-6-19 00:10:21 | 显示全部楼层
不是支持不好,最基本的包都一样,只不过稍作修改

而是Zhao IC没有装上相应的东东

还有那浏览器崩溃,其实大部分只是因为中文导致的各种问题,并非macromedia flash plugin太差或者浏览器不好

还有以前那sf.net事件,不是被中国电信封,是人家封了咱

这样不负责任的错误,该少些吧~?
发表于 2003-6-19 00:10:56 | 显示全部楼层
不是。就是少头文件,装上就好了。mdk9里面叫glibc-static-devel。kj兄有很好的总结,关于mdk上装lfs,看看就明白了。
发表于 2003-6-22 23:42:28 | 显示全部楼层

装装这个包就好了

glibc-static-devel.rpm
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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