This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

xxx.o: file not recognized。编译过程的错误?



我在qt下面编写的一个程序,QT creater在win7平台下运行正常。但是当我想把它搞到liunx上面,用arm交叉编译器的时候,出现了下面的问题: 
arm-linux-g++ -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib -o matrix aaa.o bbb.o ccc.o ddd.o  
aaa.o: file not recognized: File format not recognized 
collect2: ld returned 1 exit status 
make: *** [matrix] 错误 1 
  
  
这个是用qmake生成的Makefile。然后编译的。 
  
下面这个东西是Makefile里面的。我这样试多,把哪一个.o文件放在第一位,就报哪一个的错误。 
OBJECTS       = aaa.o \ 
                 bbb.o \ 
                 ccc.o \ 
                 ddd.o \ 
  
还需要我提供什么信息,大家只管说。先谢谢了哈