免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1043 | 回复: 2
打印 上一主题 下一主题

第一遍編譯完成的GCC編譯程序出現問題! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-24 23:19 |只看该作者 |倒序浏览
按照LFS幫助文檔的提示http://lfs.linuxsir.org/doc/lfs6 ... 成了LFS的第一邊編譯. 所有的步驟全部按照幫助文檔的步驟嚴格執行. 黨我用第一遍的GCC編譯Tcl-8.4.9的時候出現了大規模的頭文件錯誤信息. 我用宿主系統的GCC編譯沒有出現任何問題. 各位誰能幫我看看

In file included from /mnt/hda6/lfs-temptools/include/_G_config.h:44,
from /mnt/hda6/lfs-temptools/include/libio.h:32,
from /mnt/hda6/lfs-temptools/include/stdio.h:72,
from ./../generic/tcl.h:158,
from ./../generic/tclInt.h:32,
from ./../generic/regcustom.h:30,
from ./../generic/regguts.h:38,
from ./../generic/regcomp.c:33:
/mnt/hda6/lfs-temptools/include/gconv.h:72: error: parse error before "size_t"
/mnt/hda6/lfs-temptools/include/gconv.h:88: error: parse error before "size_t"
/mnt/hda6/lfs-temptools/include/gconv.h:97: error: parse error before "size_t"
/mnt/hda6/lfs-temptools/include/gconv.h:174: error: parse error before "size_t"
/mnt/hda6/lfs-temptools/include/gconv.h:177: error: parse error before '}' token
In file included from /mnt/hda6/lfs-temptools/include/libio.h:32,
from /mnt/hda6/lfs-temptools/include/stdio.h:72,
from ./../generic/tcl.h:158,
from ./../generic/tclInt.h:32,
from ./../generic/regcustom.h:30,
from ./../generic/regguts.h:38,
from ./../generic/regcomp.c:33:
/mnt/hda6/lfs-temptools/include/_G_config.h:47: error: field `__cd' has incomplete type
/mnt/hda6/lfs-temptools/include/_G_config.h:50: error: field `__cd' has incomplete type
In file included from /mnt/hda6/lfs-temptools/include/stdio.h:72,
from ./../generic/tcl.h:158,
from ./../generic/tclInt.h:32,
from ./../generic/regcustom.h:30,
from ./../generic/regguts.h:38,
from ./../generic/regcomp.c:33:
/mnt/hda6/lfs-temptools/include/libio.h:354: error: parse error before "size_t"
/mnt/hda6/lfs-temptools/include/libio.h:363: error: parse error before "size_t"
/mnt/hda6/lfs-temptools/include/libio.h:479: error: parse error before "_IO_sgetn"
/mnt/hda6/lfs-temptools/include/libio.h:479: error: parse error before "size_t"

......

论坛徽章:
0
2 [报告]
发表于 2006-04-25 07:20 |只看该作者
你用的环境是什么?是LiveCD吗?还是某个发行版。
如果是LiveCD,建议重头再来,小心一点。
如果是发行版,建议用LiveCD,我用LiveCD安装n次,n-1次都成功了,能避免许多不必要的错误

论坛徽章:
0
3 [报告]
发表于 2006-04-25 10:05 |只看该作者
你的lfs是在什么系统下做的 ?

第一遍gcc遍不过去,好像是和你的版本有关系
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP