dear all, i have follow http://www.sereno-online.com/site/2010/05/01/qt-4-6-2-installation-proce... on my ubuntu 9.10 everything is going good, but when run any QT Application on my device mini2440 it give me error. ./hello -qws is my command to run the QT application error: ./hello: line 1: syntax error: "(" unexpected (expecting ")" ) please please help i am stuck....... ............:( :( :( .............
QT Application Error
Hi Silent Warrior, I too faced this problem the error is due to some incorrect flag settings, there is another tutorial to install Qt on linux http://www.qtforum.org/article/27787/tuto-how-to-install-qt-embedded-lin... I have developed using this on ARM board using ubuntu 10.04 Qt 4.6.3....working fine for me.
@Silent Warrior Are you sure that `hello` is compiled with arm-* compilers. When i tried the execute a binary compiled in regular gcc, it gave me the same error as you wrote. I have a question also. I built Qt 4.6.2. as in http://www.sereno-online.com/site/2010/05/01/qt-4-6-2-installation-proce... My problem is, even when i try to execute binaries in /demos, my mini gives error: [root@FriendlyARM /home]# ./books -qws Illegal instruction [root@FriendlyARM /home]# ./books Illegal instruction Anyone knows how to solve? Thanks...
http://wiki.linuxmce.org/index.php/Mini2440_Orbiter_setup_and_FAQ#What_c... I found this link. Here it says; If you're staring at "illegal instruction error" problems, and using arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2008q3-72) 4.3.2, you need this: "-msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t" But i couldnt figure where to put it in makefile? I put it as CFLAG, but error didn't change.