天嵌 ARM开发社区

 找回密码
 注册
查看: 1329|回复: 1

想在X86下仿真qt4.5 按照管理员说的 但是链接错误 怎么办?

[复制链接]
changxy 发表于 2011-9-11 21:57:24 | 显示全部楼层 |阅读模式
root@changxy hello_cn]# chmod 777 Makefile
[root@changxy hello_cn]# rm hello_cn
rm: remove regular file `hello_cn'? y
[root@changxy hello_cn]# make
g++  -o hello_cn hello_cn.o main.o moc_hello_cn.o     -lQtGui -lQtCore -lpthread
/usr/bin/ld: hello_cn.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: hello_cn.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: hello_cn.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: hello_cn.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: hello_cn.o: Relocations in generic ELF (EM: 40)
hello_cn.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [hello_cn] Error 1
[root@changxy hello_cn]# ls
 楼主| changxy 发表于 2011-9-12 10:35:22 | 显示全部楼层
解决了  先make clean  然后make 就好了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-28 05:24 , Processed in 1.026407 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表