各位高手帮帮忙吧~~小妹初学QT,而且老师要求是在Linux下的
我在用tmake编译后,执行make命令总是出错,不知道是不是设置哪里有问题
因为是初学~~还请各位多多指点
错误提示如下:
[root@localhost root]# cd qt
[root@localhost qt]# make
g++ -c -pipe -Wall -W -O2 -DNO_DEBUG -I/usr/lib/qt-3.1/include -o main.o main.cp p
g++ -c -pipe -Wall -W -O2 -DNO_DEBUG -I/usr/lib/qt-3.1/include -o form1.o form1. cpp
g++ -c -pipe -Wall -W -O2 -DNO_DEBUG -I/usr/lib/qt-3.1/include -o moc_form1.o mo c_form1.cpp
arm-linux-g++ -o exit main.o form1.o moc_form1.o -L/usr/local/arm/3.3.2/arm-li nux/lib -L/usr/lib/qt-3.1/lib -lm -lqte
/usr/local/arm/3.3.2/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: m ain.o: Relocations in generic ELF (EM: 3)
main.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [exit] Error 1
[root@localhost qt]#
我已经改了很久,总是这个错误~~急啊~~~希望各位能帮帮我,不甚感谢啊~~
[ 此贴被婷婷titi在2006-07-30 15:34重新编辑 ]