您的位置:首页 > 运维架构 > Linux

64bit Linux下error: gnu/stubs-32.h: No such file or directory错误解决办法

2012-11-24 10:22 603 查看
http://www.blogjava.net/TiGERTiAN/archive/2011/01/22/343370.html

Q. I'm getting the following error while compiling application under CentOS /
RHEL / Fedora Linux 64 bit edition:

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h:

No such file or directory

How do I fix this error?

A. You need to install the glibc-devel package. It contains the object files necessary
for developing programs which use the standard C libraries (which are used by nearly all programs). If you are developing programs which will use the standard C libraries, your system needs to have these standard object files available in order to create the
executables.

Install glibc-devel if you are going to develop programs which will use the standard C libraries.

# apt-get
install g++-multilib


---------------------------------------------------------

专注移动开发

Android, Windows Mobile, iPhone, J2ME, BlackBerry, Symbian
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐