AnsweredAssumed Answered

Problems making QT

Question asked by Moises Dominguez on Feb 11, 2010
Latest reply on Jun 17, 2010 by Mohan Bhakri

Hi everybody,


I have just started to work with an ADS5121 Rev 4.1.  I downloaded and installed ltib succesfully on my Ubuntu 9.10.  I tried to compile QT in these two ways, both unsuccesfully:


OPTION 1) Using ltib, I added Qtopia 4 package.  Compile process starts but after a minutes my virtual maching gets freezed.

OPTION2 ) I downloaded qt-everywhere-opensource-src-4.6.1. To crosscompile it, I followed this steps:


./configure \
-embedded powerpc -xplatform qws/linux-powerpc-g++ \
-prefix /home/user/Trolltech/Qt_4.6.1_powerpc -big-endian -depths 24 \
-qt-zlib -qt-freetype -qt-libjpeg  -qt-libpng -no-gif -no-libtiff \
-no-qt3support -no-glib -nomake demos -nomake examples -no-webkit \
-L/media/ltib/ltib-mpc5121ads-20090602/rootfs/usr/lib -I/media/ltib/ltib-mpc5121ads-20090602/rootfs/usr/include 

Edit qmake.conf


QMAKE_CC                       =powerpc-e300c3-linux-gnu-gcc
QMAKE_CXX                     =powerpc-e300c3-linux-gnu-c++ 
QMAKE_LINK                   = powerpc-e300c3-linux-gnu-c++ 
QMAKE_LINK_SHLIB      =powerpc-e300c3-linux-gnu-c++

QMAKE_AR                = powerpc-e300c3-linux-gnu-ar cqs
QMAKE_OBJCOPY     = powerpc-e300c3-linux-gnu-objcopy
QMAKE_STRIP           = powerpc-e300c3-linux-gnu-strip


I changed path to point to toolchain:



Compile process starts, but after a minutes a have this problem:


riptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/generated -I. -Iparser -I.moc/release-shared-emb-powerpc -o obj/release/Interpreter.o ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp
{standard input}: Assembler messages:
{standard input}:7782: Warning: end of file not at end of a line; newline inserted
{standard input}:8613: Error: syntax error; found `
powerpc-e300c3-linux-gnu-c++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:> for instructions.
make[1]: *** [obj/release/Interpreter.o] Error 1


Anybody who has succesfully crosscompile QT maybe could help me?


Regards, mdm.