LinuxSir.cn,穿越时空的Linuxsir!

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

我跑lfs5.0 第一次编译glibc时出错.各位帮帮忙啊

[复制链接]
发表于 2005-5-12 00:06:16 | 显示全部楼层 |阅读模式
scanf.c:31: warning: conflicting types for built-in function `sscanf'
sscanf.c: In function `sscanf':
sscanf.c:37: error: `va_start' used in function with fixed args
../stdio-common/_itoa.h: At top level:
../stdio-common/_itoa.h:40: warning: inlining failed in call to `_itoa_word'
../stdio-common/_itoa.h:76: warning: called from here
make[2]: *** [/mnt/lfs/glibc-build/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.2'
make: *** [all] Error 2


这是最后一段截取.
各位大哥哥大姐姐帮忙看看吧.
发表于 2005-5-12 00:25:13 | 显示全部楼层
make 的时候?
换6.0试试吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-12 00:28:29 | 显示全部楼层
为什么我的redhat9.0 在跑lfs5.0的时候有错误呢?
gcc版本不对?
我是全部按照文档上说得去做的啊.
怪了.
还有,如果要跑lfs6.0的话,各位推荐一下我该用什么系统跑最合适呢?fedora core3 行吗?
回复 支持 反对

使用道具 举报

发表于 2005-5-12 08:32:27 | 显示全部楼层
我用的就是FC3,至少跑到了最后!
回复 支持 反对

使用道具 举报

发表于 2005-5-12 09:56:49 | 显示全部楼层
新一点的系统就行,debian缺省的版本比较老,升级了以后也行。不少LFS-devel上的人也是用debian的。
FC 3 肯定没有问题的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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