ld: i386 architecture of input file `exit.o' is incompatible with i386:x86-64 output
来源:互联网 发布:公司域名注册 编辑:程序博客网 时间:2024/05/22 00:51
编译一个简单的汇编文件,然后链接出现的时候这个问题。
情景再现:
$nasm -f elf exit.asm
$ld exit.o -o exit
出现下面的结果:
在网上搜了一下解决方案:
之后再执行链接就不会报错了。。。。
0 0
- ld: i386 architecture of input file `exit.o' is incompatible with i386:x86-64 output
- ld: i386 architecture of input file `eatsyscall.o' is incompatible with i386:x86-64 output
- usr/bin/ld: i386 architecture of input file XXX.a( xxx.o) is incompatible with i386:x86-64 output
- /usr/bin/ld: i386 architecture of input file `regcomp.o' is incompatible with i386:x86-64 output
- linux下出现architecture of input file `*.o' is incompatible with i386:x86-64 output的解决方法
- is incompatible with i386:x86-64 output
- ubuntu 64位使用nasm汇编出现问题incompatible-with-i386-x86-64-output
- ld: 1 duplicate symbol for architecture i386 clang: error: linker command failed with exit code 1
- ld: 16 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1
- ld: 7 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1 (
- ld: 2 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1
- ld: i386 architecture&…
- ld: 18 duplicate symbols for architecture i386
- ld: 207 duplicate symbols for architecture i386
- ld: 8 duplicate symbols for architecture i386
- Xcode编译异常 Apple Mach-o Linker Error ld: symbol(s) not found for architecture i386
- AlipayRsaLib.a(base64.o) ld: 2 duplicate symbols for architecture i386
- I386 X86
- Crazy android书中Fragment与Activity交互案例分析
- 蓝牙核心技术概述(三): 蓝牙协议规范(射频、基带链路控制、链路管理)
- 用EasyUI的一些感受
- chrome浏览器新发现
- Swift开发 函数的初探
- ld: i386 architecture of input file `exit.o' is incompatible with i386:x86-64 output
- python登录网页的两种方式
- Java开发环境配置
- 产品级敏捷案例: 企业云存储
- ubuntu 各个目录含义
- Unity3D笔记第十二天——鼠标事件、物理类、射线
- 自定义下拉选择框
- javascript数组操作
- NYOJ-28 大数阶乘