Hello,
I try to build qt 4.8.0 with using CodeSourcery and dvsdk_dm365-evm_4_02_00_06_setuplinux.
my qmake.conf is:
#
# qmake configuration for building with arm-linux-g++
#
include(../../common/gcc-base.conf)
include(../../common/g++-base.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)
# modifications to g++.conf
#Toolchain
#TSLIB_INCDIR = /directory/path/to/tslib/include
#TSLIB_LIBDIR = /directory/path/to/tslib
#Compiler Flags to take advantage of the ARM architecture
#QMAKE_CFLAGS_RELEASE = -O3 -march=armv5te
#QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv5te
QMAKE_CC = /root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/gcc
QMAKE_CXX = /root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/g++
QMAKE_LINK = /root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/g++
QMAKE_LINK_SHLIB = /root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/g++
# modifications to linux.conf
QMAKE_AR = /root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ar cqs
QMAKE_OBJCOPY = /root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/objcopy
QMAKE_STRIP = /root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/strip
#QMAKE_INCDIR += $$TSLIB_INCDIR
#QMAKE_LIBDIR += $$TSLIB_LIBDIR
#QMAKE_LIBS += -lts
load(qt_config)
my configure is:
./configure -prefix /opt/qt-embedded-dm365-480 -platform /qws/linux-x86-g++ -xplatform /qws/linux-dm365-g++ -embedded arm -shared -release -no-largefile -no-qt3support -no-phonon -no-svg -no-scripttools -nomake demo -nomake examples -nomake tools -qt-decoration-default -no-opengl -qt-gfx-linuxfb -depths 16,24,32 -no-cups -no-accessibility -no-openssl -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -qt-kbd-tty -qt-kbd-qvfb -qt-kbd-linuxinput -fast -little-endian -opensource -host-little-endian -nomake docs
-no-webkit -no-largefile -no-qt3support -no-3dnow -no-script -no-javascript-jit -no-svg -no-declarative -no-gif -no-openssl -qt-libpng -depths 16,24,32 -no-mmx -no-sse -no-sse2 -no-glib -no-cups -no-accessibility -no-gtkstyle -nomake demo -nomake examples -nomake tools -nomake docs -fast -little-endian
At the end of configure I get
Building on: /qws/linux-x86-g++
Building for: /qws/linux-dm365-g++
Architecture: arm
Host architecture: i386
Build .................. libss translations
Configuration .......... cross_compile release shared dll embedded exceptions_off minimal-config small-config medium-config large-config full-config no-pkg-config embedded png freetype zlib multimedia audio-backend script declarative release
Debug .................. no
Qt 3 compatibility ..... no
QtDBus module .......... no
QtConcurrent code ...... yes
QtGui module ........... yes
QtScript module ........ yes
QtScriptTools module ... no
QtXmlPatterns module ... no
Phonon module .......... no
Multimedia module ...... auto
SVG module ............. no
WebKit module .......... no
JavaScriptCore JIT ..... no
Declarative module ..... yes
Declarative debugging ...yes
Support for S60 ........ no
Symbian DEF files ...... no
STL support ............ no
PCH support ............ no
MMX/3DNOW/SSE/SSE2/SSE3. no/no/no/no/no
SSSE3/SSE4.1/SSE4.2..... no/no/no
AVX..................... no
iWMMXt support ......... no
NEON support ........... no
IPv6 support ........... no
IPv6 ifname support .... no
getaddrinfo support .... no
getifaddrs support ..... no
Accessibility .......... no
NIS support ............ no
CUPS support ........... no
Iconv support .......... no
Glib support ........... no
GStreamer support ...... no
PulseAudio support ..... no
Large File support ..... no
GIF support ............ plugin
TIFF support ........... plugin (qt)
JPEG support ........... plugin (qt)
PNG support ............ yes (qt)
MNG support ............ plugin (qt)
zlib support ........... yes
Session management ..... no
Embedded support ....... arm
Freetype2 support ...... auto (yes)
Graphics (qt) .......... linuxfb multiscreen linuxfb
Graphics (plugin) ......
Decorations (qt) ....... styled windows default default
Decorations (plugin) ...
Keyboard driver (qt) ... tty tty qvfb linuxinput
Keyboard driver (plugin) ..
Mouse driver (qt) ...... linuxinput
Mouse driver (plugin) .. linuxtp pc
OpenGL support ......... no
OpenVG support ......... no
SQLite support ......... plugin (qt)
OpenSSL support ........ no
Alsa support ........... no
ICD support ............ no
libICU support ......... no
Finding project files. Please wait...
Project MESSAGE: Unknown PROJECT: libss
Reading /home/guyulmaz/Downloads/qt-everywhere-opensource-src-4.8.0/tools/linguist/lrelease/lrelease.pro
Reading /home/guyulmaz/Downloads/qt-everywhere-opensource-src-4.8.0/translations/translations.pro
Project MESSAGE: Unknown PROJECT: libss
1085 projects found.
Creating makefiles. Please wait...
NOTE: This platform does not support runtime library paths, using -no-rpath.
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /opt/qt-embedded-dm365-480
To reconfigure, run 'make confclean' and 'configure'.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!NOW I make make:
g++ -fno-exceptions -Wl,-O1 -o ../../../bin/lrelease .obj/release-shared-emb-arm/main.o .obj/release-shared-emb-arm/numerus.o .obj/release-shared-emb-arm/translator.o .obj/release-shared-emb-arm/translatormessage.o .obj/release-shared-emb-arm/qm.o .obj/release-shared-emb-arm/qph.o .obj/release-shared-emb-arm/po.o .obj/release-shared-emb-arm/ts.o .obj/release-shared-emb-arm/xliff.o .obj/release-shared-emb-arm/ioutils.o .obj/release-shared-emb-arm/proitems.o .obj/release-shared-emb-arm/profileparser.o .obj/release-shared-emb-arm/profileevaluator.o -L/home/guyulmaz/Downloads/qt-everywhere-opensource-src-4.8.0/src/tools/bootstrap -lbootstrap
/usr/bin/ld: cannot find -lbootstrap
collect2: ld returned 1 exit status
make[1]: *** [../../../bin/lrelease] Error 1
make[1]: Leaving directory `/home/guyulmaz/Downloads/qt-everywhere-opensource-src-4.8.0/tools/linguist/lrelease'
make: *** [sub-tools-linguist-lrelease-make_default-ordered] Error 2
g++ --version
g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
uname -a
Linux ubuntu 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux
root@ubuntu:~/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin# ./g++ --version
g++ (Sourcery G++ Lite 2009q1-203) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.