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.

[OMAP3530] fail to configure and compile qt for beaglebaord

 

hi ,
please could you take a look at this http://processors.wiki.ti.com/index.php/Building_Qt#QMAKE_CC%20=%20arm-none-linux-gnueabi-gcc , i think it should be QMAKE_CC = arm-none-eabi-gcc  because the toolchain is arm2008-q1/bin/arm-none-eabi- (they ask me to choose target :EABI and host: A32 GNU/Linux http://www.codesourcery.com/sgpp/lite/arm/releases/2009q1 , i think the arm-none-linux-gnueabi is when we choose for target : ARM GNU/Linux 
1/ when i use the qmake.conf with arm-none-linux-gnueabi-   i get when i "configure":
Precompiled-headers support disabled.
/home/bahri/Desktop/qt-everywhere-opensource-src-4.6.2/config.tests/unix/fvisibility.test: 45: arm-none-linux-gnueabi-g++: not found
Symbol visibility control disabled.
2/ when i use the qmake.conf with arm-none-eabi-   i get when i "make" :
.......c/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -x c++-header -c global/qt_pch.h -o .pch/release-shared-emb-arm/QtCore.gch/c++
In file included from ../../include/QtCore/qglobal.h:1,
                 from global/qt_pch.h:52:
../../include/QtCore/../../src/corelib/global/qglobal.h:261:4: error: #error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
make[1]: *** [.pch/release-shared-emb-arm/QtCore.gch/c++] Error 1
make[1]: Leaving directory `/home/bahri/Desktop/qt-everywhere-opensource-src-4.6.2/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2








but the problem that when i work with QMAKE_CC = arm-none-eabi-gcc  the make give me this ERROR http://pastebin.com/ugcv2JvA


regards
houssem bahri
  • Houssem Bahri said:

    because the toolchain is arm2008-q1/bin/arm-none-eabi- (they ask me to choose target :EABI and host: A32 GNU/Linux

     

    This is a wrong toolchain. The target should be arm linux for beagle board.

    Houssem Bahri said:

    1/ when i use the qmake.conf with arm-none-linux-gnueabi-   i get when i "configure":

    Precompiled-headers support disabled.
    /home/bahri/Desktop/qt-everywhere-opensource-src-4.6.2/config.tests/unix/fvisibility.test: 45: arm-none-linux-gnueabi-g++: not found

    I guess you did not add the path of arm-none-linux-gnueabi-g++ into your $PATH.