日期:2014-05-16  浏览次数:20532 次

ubuntu 11.04 编译 gcc 问题
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make[3]: *** [_muldi3.o] Error 1
make[3]: Leaving directory `/home/jianjun-w/gcc-4.7.1/i686-pc-linux-gnu bgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home/jianjun-w/gcc-4.7.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/jianjun-w/gcc-4.7.1'
make: *** [all] Error 2


大家在编译 gcc4.7.1 的时候,能没有遇到过这个问题?

请求可用的命令。解决问题(先前百度过一段时间,大部分方法都已经试了, 但没有解决问题。。)
ubuntu 11.04 gcc 编译 问题

------解决方案--------------------
他不是说有个头文件不存在么!
------解决方案--------------------
yum install glibc-devel
------解决方案--------------------
apt-get install glibc-devel