Target: x86_64-linux-gnu下实现gcc -m32
2017-12-19 21:17
393 查看
暗装的Ubuntu是64位的想实现32位编译链接需要安装X86的库,为安装前执行gcc -m32 -o x x.c会提示
In file included from /usr/include/stdio.h:27:0,
from push_test.c:12:
/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
可以执行sudo apt-get install libc6-dev-i386语句安装库文件,需要注意ubnutu要联网。
In file included from /usr/include/stdio.h:27:0,
from push_test.c:12:
/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
可以执行sudo apt-get install libc6-dev-i386语句安装库文件,需要注意ubnutu要联网。
相关文章推荐
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- “error: command 'x86_64-linux-gnu-gcc' failed with
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ubuntu下安装cryptography报错 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ubuntu上使用python3安装第三方库显示x86_64-linux-gnu-gcc 不存在
- "error: command 'x86_64-linux-gnu-gcc' failed with
- linux安装scrapy出错'x86_64-Linux-gnu-gcc' failed with exit status 1
- ubuntu 一个常见的错误 error: ommand ‘x86_64-linux-gnu-gcc’ failed
- 报错?!-20170213-command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- “error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- [Ubuntu] 解决 pip 安装 lxml 出现 x86_64-linux-gnu-gcc 异常
- ubuntu16.04安装cx_oracle报错:error: command 'x86_64-linux-gnu-gcc' failed with exit status 1