Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/AM1808: Got error arm-linux-gnueabi-strip: Syntax error: Unterminated quoted string during cross compile for arm

$
0
0

Part Number:AM1808

Tool/software: Linux

Hello,

As per the suggestion given in my previous query of Qt5 installation, I install qt-everywhere-opensource-src-5.7.1 from qt and also a tool chain of arm-8.2-2018.08 for my custom board. I configure Qt5 with following configure command 

./configure -prefix /usr/local/Qt-5.7-new-arm -release -pkg-config -continue -no-openssl -nomake examples -nomake tools -no-opengl -skip virtualkeyboard -skip webengine -no-cups -no-xkb -no-sm -no-separate-debug-info -xplatform linux-arm-gnueabi-g++ -qreal float

and successfully make install the Qt5 that will generate Qt-5.7-new-arm at /usr/local. 

Then I create a Test project in Qt creator and run in my Linux PC within the creator. This Test project run successfully in Qt creator.

Then I clean the project and build using qmake through terminal and generate binary using make command,

But when I cross compile the Test binary file with arm-linux-gnueabi-strip Test(my binary) then it will show the following error 

"/opt/arm-8.2-2018.08/bin/arm-linux-gnueabi-strip: Syntax error: Unterminated quoted string"

I did the same process that works fine with Qt4, but with qt5 and new tool chain, I got this error. Also I get the Test binary and try to run into my custom board using ./Test, then it will give error 

./Test syntax error : unexpected "(" . 

Is there any issue related to installation of above things or I install some wrong qt compiler with incompatible tool chain ?


Viewing all articles
Browse latest Browse all 17527

Trending Articles