当前位置: 技术问答>linux和unix
关于g++编译的出错问题,非常急,请高手帮忙解答一下,谢谢
来源: 互联网 发布时间:2016-03-29
本文导语: 我虚拟机安装了 arm-linux-tools.tar eldk 我把这两个压缩包放在虚拟机根目录,然后解压。 但是我用g++编译,却出现了问题通知: [root@localhost Opserver]# arm-linux-g++ -mbig-endian comm.c list.c opCom.c opUdp.c opserver.c -l...
我虚拟机安装了 arm-linux-tools.tar eldk 我把这两个压缩包放在虚拟机根目录,然后解压。
但是我用g++编译,却出现了问题通知:
[root@localhost Opserver]# arm-linux-g++ -mbig-endian comm.c list.c opCom.c opUdp.c opserver.c -lpthread -o opserver
/usr/local/bin/../lib/gcc-lib/arm-linux/3.2.3/../../../../arm-linux/bin/ld: cannot find /opt/xscale/gcc/arm-linux/lib/libc.so.6
collect2: ld returned 1 exit status
这个是什么问题啊,请高手赐教,非常感谢
但是我用g++编译,却出现了问题通知:
[root@localhost Opserver]# arm-linux-g++ -mbig-endian comm.c list.c opCom.c opUdp.c opserver.c -lpthread -o opserver
/usr/local/bin/../lib/gcc-lib/arm-linux/3.2.3/../../../../arm-linux/bin/ld: cannot find /opt/xscale/gcc/arm-linux/lib/libc.so.6
collect2: ld returned 1 exit status
这个是什么问题啊,请高手赐教,非常感谢
|
cannot find /opt/xscale/gcc/arm-linux/lib/libc.so.6
意思是:在你的LINUX中,找不到与arm-linux-g++相关的LIBRARY...libc.so.6...
在你的OS中装一个这个LIBRARY就可以了吧...
意思是:在你的LINUX中,找不到与arm-linux-g++相关的LIBRARY...libc.so.6...
在你的OS中装一个这个LIBRARY就可以了吧...