Hitesh Sharma

LTIB build failed QT--X11

Discussion created by Hitesh Sharma on Apr 23, 2012
Latest reply on Jul 4, 2012 by Wouter van Rooy

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/../../rootfs/usr/local/Trolltech

To reconfigure, run 'make confclean' and 'configure'.

+ make
cd src/tools/bootstrap/ && make -f Makefile
make[1]: Entering directory `/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/tools/bootstrap'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/tools/bootstrap'
cd src/tools/moc/ && make -f Makefile
make[1]: Entering directory `/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/tools/moc'
/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/bin/qmake -spec ../../../mkspecs/linux-g++ -o Makefile moc.pro
make[1]: Leaving directory `/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/tools/moc'
make[1]: Entering directory `/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/tools/moc'
g++ -c -pipe -O2 -Wall -W -DQT_MOC -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_TEXTCODEC -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/linux-g++ -I. -I. -I. -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I../../xml -o release-shared/main.o main.cpp
ld -Wl,-rpath-link,/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/lib -Wl,-O1 -Wl,-rpath,/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rootfs/usr/local/Trolltech/lib -Wl,-rpath,/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rootfs/usr/local/Trolltech/lib -o ../../../bin/moc release-shared/moc.o release-shared/preprocessor.o release-shared/generator.o release-shared/parser.o release-shared/token.o release-shared/main.o    -L/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/tools/bootstrap -lbootstrap -lgstreamer-0.10
ld: unrecognized option '-Wl,-rpath-link,/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/lib'
ld: use the --help option for usage information
make[1]: *** [../../../bin/moc] Error 1
make[1]: Leaving directory `/home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.8.1/src/tools/moc'
make: *** [sub-moc-make_default-ordered] Error 2
error: Bad exit status from /home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/tmp/rpm-tmp.648 (%build)


RPM build errors:
    Bad exit status from /home/satyam/L2.6.35_11.09.01_ER_source_bundle/L2.6.35_11.09.01_ER_source/imx53/ltib/tmp/rpm-tmp.648 (%build)
Build time for qt-embedded: 500 seconds

Failed building qt-embedded


f_buildrpms() returned an error, exiting
traceback:
 main:560


Started: Fri Apr 20 14:45:17 2012
Ended:   Fri Apr 20 14:53:43 2012
Elapsed: 506 seconds

These packages failed to build:
qt-embedded

Build Failed

Exiting on error or interrupt

Outcomes