LinuxSir.cn,穿越时空的Linuxsir!

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

How to restore the host System's toolchain due to lfs

[复制链接]
发表于 2007-1-26 13:17:15 | 显示全部楼层 |阅读模式
I use RED AS4 to compiler the lfs. But after I finish lfs , suddently I find I can't use my host system's gcc, lots of errors can be found.

/tools//include/stdio.h:302: error: parse error before "size_t"
/tools//include/stdio.h:309: error: parse error before "size_t"
/tools//include/stdio.h:351: error: parse error before "size_t"
/tools//include/stdio.h:355: error: parse error before "size_t"
/tools//include/stdio.h:603: error: parse error before "fread"
/tools//include/stdio.h:603: error: parse error before "size_t"
/tools//include/stdio.h:609: error: parse error before "fwrite"
/tools//include/stdio.h:609: error: parse error before "size_t"
/tools//include/stdio.h:631: error: parse error before "fread_unlocked"
/tools//include/stdio.h:631: error: parse error before "size_t"
/tools//include/stdio.h:633: error: parse error before "fwrite_unlocked"
/tools//include/stdio.h:633: error: parse error before "size_t"

So it means I can't complier anything including FCITX, that's why I use English.
Can someone help me!!!!
发表于 2007-1-26 20:46:22 | 显示全部楼层
It looks to me your system is still using the complier in the /tools directory.  Are you sure your LFS system is finished?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-29 09:49:35 | 显示全部楼层
Sorry , I made a mistake, Now ,it seems OK. Thanks
回复 支持 反对

使用道具 举报

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

本版积分规则

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