红联Linux门户
Linux帮助

编译gcc出错

发布时间:2007-11-14 19:24:41来源:红联作者:yrj007
安装版gcc-4.2-20060715.tar.bz2
编译gcc出现一下提示:
gcc: gengtype-lex.c:没有那个文件或目录
gcc: 没有输入文件
make[3]: *** [build/gengtype-lex.o] 错误 1
make[3]: Leaving directory `/root/gcc-4.2-20060715/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] 错误 2
make[2]: Leaving directory `/root/gcc-4.2-20060715'
make[1]: *** [stage1-bubble] 错误 2
make[1]: Leaving directory `/root/gcc-4.2-20060715'
make: *** [all] 错误 2
运行:make install
make[1]: Entering directory `/root/gcc-4.2-20060715'
/bin/sh ./mkinstalldirs /usr/local /usr/local
/bin/sh: line 3: cd: host-x86_64-unknown-linux-gnu/fixincludes: 没有那个文件或目录
make[1]: *** [install-fixincludes] 错误 1
make[1]: Leaving directory `/root/gcc-4.2-20060715'
make: *** [install] 错误 2
文章评论

共有 1 条评论

  1. gxf 于 2007-11-14 20:03:57发表:

    解决好依赖性问题就好了,具体哪些包请参考论坛相关文章