当前位置: 技术问答>linux和unix
64位机调用gcc -m32时出错
来源: 互联网 发布时间:2017-01-08
本文导语: 调用时出现下面的错误信息,该如何解决? /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o' is incompatible with i386 output /usr/lib64/gcc/x86...
调用时出现下面的错误信息,该如何解决?
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o' is incompatible with i386 output
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o' is incompatible with i386 output
collect2: ld returned 1 exit status
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o' is incompatible with i386 output
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o' is incompatible with i386 output
collect2: ld returned 1 exit status
|
is incompatible
这个是不兼容, 可能是用不同编译器编的. 比如不同平台的编译器.
这个是不兼容, 可能是用不同编译器编的. 比如不同平台的编译器.
|
你没有安装32位库
|
自己解决了?
|
对不起,发错了,删不了!