- 积分
- 7
贡献44
飞刀7 FD
注册时间2020-12-8
在线时间1 小时
|
楼主 |
发表于 2021-1-11 15:52:46
|
显示全部楼层
是的 但是现在生成可执行文件时出现了错误
root@ubuntu:~/work/qt5.6/ping# make
g++ -m64 -Wl,-O1 -o ping main.o mainwindow.o moc_mainwindow.o -L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: mainwindow.o: Relocations in generic ELF (EM: 40)
mainwindow.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [ping] Error 1
|
|