PDA

View Full Version : Error: make qt-everywhere-opensource-src-4.7.4 for NXP’s LPC3250 266MHz ARM926EJ-S



Rudren
26th October 2011, 05:32
Hello, all

I am confused in the correct configuration qt4.7.4 and install it on my computer. I've followed all the instructions that I know but it always fails.



qmake.conf:


include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

# modifications to g++.conf
QMAKE_CC = arm-vfp-linux-gnu-gcc
QMAKE_CXX = arm-vfp-linux-gnu-g++
QMAKE_LINK = arm-vfp-linux-gnu-g++
QMAKE_LINK_SHLIB = arm-vfp-linux-gnu-g++

# modifications to linux.conf
QMAKE_AR = arm-vfp-linux-gnu-ar cqs
QMAKE_OBJCOPY = arm-vfp-linux-gnu-objcopy
QMAKE_STRIP = arm-vfp-linux-gnu-strip
QMAKE_INCDIR += /home/xadmin/apps/tslib-arm/tslib-1.0/src
QMAKE_LIBDIR += /home/xadmin/apps/tslib-arm/tslib-1.0/src

load(qt_config)


Here's an example configuration that I have done but still found error when run the command 'make':

./configure -embedded arm -xplatform qws/arm-vfp-linux-gnu-g++ -prefix /home/xadmin/armgcc/qt-everywhere-opensource-src-4.7.4 -nomake examples -nomake demos -no-webkit -no-exceptions -debug -qt-zlib -no-largefile -no-accessibility -no-stl -no-qt3support -no-xmlpatterns -no-phonon -no-phonon-backend -no-multimedia -no-javascript-jit -no-openssl -nomake docs -nomake translations -nomake tools -no-nis -no-pch -no-libtiff -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-xkb -no-sm -no-xinerama -no-xshape -optimized-qmake -no-opengl -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -no-kbd-qvfb -opensource -confirm-license -no-scripttools -no-cups -no-mouse-qvfb


Error:


.....
arm-vfp-linux-gnu-g++ -c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DHB_EXPORT=Q_CORE_EXPORT -I../../mkspecs/qws/arm-vfp-linux-gnu-g++ -I. -I../../include -I../../include/QtCore -I.rcc/debug-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/debug-shared-emb-arm -I/home/xadmin/apps/tslib-arm/tslib-1.0/src -o .obj/debug-shared-emb-arm/qabstractanimation.o animation/qabstractanimation.cpp
make[1]: arm-vfp-linux-gnu-g++: Command not found
make[1]: *** [.obj/debug-shared-emb-arm/qabstractanimation.o] Error 127
make[1]: Leaving directory `/home/xadmin/armgcc/qt-everywhere-opensource-src-4.7.4/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
xadmin@xadmin-desktop:~/armgcc/qt-everywhere-opensource-src-4.7.4$

I have read the thread:
http://www.qtcentre.org/threads/36952-segment-fault-with-any-QT-GUI-program?
:confused:
can anyone help me?
Thanks..

balasaravanan
9th November 2011, 09:24
You to add the toolchain binaries path to your PATH variable. ie ( add the PATH variable to the directory that holds the binary arm-vfp-linux-gnu-g++ )