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.
---------------------------------------------------------
专注移动开发
Android, Windows Mobile, iPhone, J2ME, BlackBerry, Symbian
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
相关文章推荐
- [zz]64bit Linux下error: gnu/stubs-32.h: No such file or directory错误解决办法
- error: gnu/stubs-32.h: No such file or directory错误解决办法
- 32位ubuntu 12.04 下 error: gnu/stubs-32.h: No such file or directory错误解决办法
- /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h:No such file or directory的解决办法
- /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h:No such file or directory的解决办法
- /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h:No such file or directory的解决办法
- 解决 error: gnu/stubs-32.h: No such file or directory
- 64位linux提示gnu/stubs-32.h:No such file or directory的解决方法
- 64位linux下编译32位程序的错误“error: gnu/stubs-32.h: No such file or directory”
- 编译GCC-4.8出现的错误 —— Linux gnu/stubs-32.h: No such file or directory
- 升级gcc4.8 遇到 fatal error: gnu/stubs-32.h: No such file or directory 问题的解决方法
- gcc编译报错,fatal error: gnu/stubs-soft.h: No such file or directory问题解决!!
- 64位linux提示gnu/stubs-32.h:No such file or directory
- Linux中编译文件时提示:arm-elf-gcc: leds.o : No such file or directory 错误的解决办法
- Cacti安装nginx状态监控时出现No such file or directory错误的解决办法
- bad interpreter: No such file or directory异常错误解决办法
- python3.5连接MySQL出现Cannot open include file: 'config-win.h': No such file or directory 错误解决办法
- error: gnu/stubs-32.h: No such file or directory
- Android之eclipse错误 error opening trace file: No such file or directory (2)解决办法总结
- 在Linux下生成GUID的程序,及编译错误 “uuid/uuid.h: No such file or directory” 的解决办法。