Results 1 to 5 of 5

Thread: Installation Problem

  1. #1
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Installation Problem

    Hi.
    I am having a problem installing (compiling) QT. I don't understand because just last week the install was working, now I get a compiling error. I just run ./configure, with no other options on/off.
    - Red Hat GCC version 4.1.2
    I appreciate your help, thanks in advance.

    gmake[1]: Entering directory `/home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.0-rc1/src/corelib'
    arm-linux-g++ -c -pipe -I/usr/local/Trolltech/Qt-4.4.0/include/ -fno-exceptions -O2 -fvisibility=hidden -fvisibility-in
    P -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COM
    CE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iconcurr
    b-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qatomic_arm.o arch/arm/qatomic_arm.cpp
    arm-linux-g++ -c -pipe -I/usr/local/Trolltech/Qt-4.4.0/include/ -fno-exceptions -O2 -fvisibility=hidden -fvisibility-in
    P -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COM
    CE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iconcurr
    b-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qfuture.o concurrent/qfuture.cpp
    arm-linux-g++ -c -pipe -I/usr/local/Trolltech/Qt-4.4.0/include/ -fno-exceptions -O2 -fvisibility=hidden -fvisibility-in
    P -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COM
    CE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iconcurr
    b-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qfutureinterface.o concurrent/qfutureinterface.cpp
    /usr/local/Trolltech/Qt-4.4.0/include/QtCore/qatomic_i386.h: In copy constructor 'QFutureInterfaceBase::QFutureInterfac
    /usr/local/Trolltech/Qt-4.4.0/include/QtCore/qatomic_i386.h:100: error: impossible constraint in 'asm'
    gmake[1]: *** [.obj/release-shared-emb-arm/qfutureinterface.o] ?? 1
    gmake[1]: Leaving directory `/home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.0-rc1/src/corelib'

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    460
    Thanked 64 Times in 60 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installation Problem

    Since you've a commercial edition I suggest asking tt support for help. For me it looks like you've passed a wrong mkspec to ./configure - atomic_i386.h isn't usable for arm afaik.

  3. #3
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Installation Problem

    Thanks for the reply. However Qt support was unable to help me, they tried a few things and it still doesn't work. I managed to get past the first error, but now I have another error.
    Here is my configuration::
    This target is using the GNU C++ compiler (qws/linux-x86-g++).
    Building on: qws/linux-x86-g++
    Building for: /qws/linux-arm-g++
    Architecture: arm
    Host architecture: i386
    Build ............... libs examples demos docs translations
    Configuration ....... cross_compile release shared dll embedded largefile stl precompile_header accessibility minimal-config small-config medium-config large-config full-config embedded reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify png gif freetype zlib xmlpatterns svg webkit release
    Debug ............... no
    Qt 3 compatibility .. no
    QtDBus module ....... no
    QtXmlPatterns module yes
    Phonon module ....... no
    SVG module .......... yes
    WebKit module ....... yes
    WebKit in Assistant no
    STL support ......... yes
    PCH support ......... yes
    MMX/3DNOW/SSE/SSE2.. no/no/no/no
    iWMMXt support ...... no
    IPv6 support ........ yes
    IPv6 ifname support . yes
    getaddrinfo support . yes
    getifaddrs support .. yes
    Accessibility ....... yes
    NIS support ......... no
    CUPS support ........ no
    Iconv support ....... no
    Glib support ........ no
    GStreamer support ... no
    Large File support .. yes
    GIF support ......... yes
    TIFF support ........ plugin (qt)
    JPEG support ........ plugin (qt)
    PNG support ......... yes (qt)
    MNG support ......... plugin (no)
    zlib support ........ yes
    Embedded support .... arm
    Freetype2 support ... yes
    Graphics (qt) ....... linuxfb multiscreen
    Graphics (plugin) ...
    Decorations (qt) .... styled windows default
    Decorations (plugin)
    Keyboard driver (qt). tty
    Keyboard driver (plugin)
    Mouse driver (qt) ... pc linuxtp linuxtp
    Mouse driver (plugin) tslib
    OpenGL support ...... no
    SQLite support ...... plugin (qt)
    OpenSSL support ..... no
    Here is the error now:
    make[1]: Entering directory `/home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/src/gui'
    /home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/bin/uic dialogs/qprintsettingsoutput.ui -o .uic/release-shared-emb-arm/ui_qprintsettingsoutput.h
    /home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/bin/uic dialogs/qprintwidget.ui -o .uic/release-shared-emb-arm/ui_qprintwidget.h
    /home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/bin/uic dialogs/qpagesetupwidget.ui -o .uic/release-shared-emb-arm/ui_qpagesetupwidget.h
    /home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/bin/uic dialogs/qprintpropertieswidget.ui -o .uic/release-shared-emb-arm/ui_qprintpropertieswidget.h
    /home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/bin/uic dialogs/qfiledialog.ui -o .uic/release-shared-emb-arm/ui_qfiledialog.h
    /home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/bin/moc -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-arm -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm embedded/qsoundqss_qws.cpp -o .moc/release-shared-emb-arm/qsoundqss_qws.moc
    arm-linux-g++ -c -pipe -I/usr/local/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-arm -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qsoundqss_qws.o embedded/qsoundqss_qws.cpp
    /home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/bin/moc -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-arm -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm embedded/qcopchannel_qws.cpp -o .moc/release-shared-emb-arm/qcopchannel_qws.moc
    embedded/qcopchannel_qws.cpp:0: Warning: No relevant classes found. No output generated.
    arm-linux-g++ -c -pipe -I/usr/local/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-arm -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qcopchannel_qws.o embedded/qcopchannel_qws.cpp
    arm-linux-g++ -c -pipe -I/usr/local/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-arm -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/qdecoration_qws.o embedded/qdecoration_qws.cpp
    ../../include/QtGui/../../src/gui/kernel/qwidget.h: In static member function 'static void QDecoration::startMove(QWidget*)':
    ../../include/QtGui/../../src/gui/kernel/qwidget.h:123: error: 'QWidgetPrivate* QWidget::d_func()' is private
    embedded/qdecoration_qws.cpp:358: error: within this context
    embedded/qdecoration_qws.cpp:358: error: 'struct QTLWExtra' has no member named 'qwsManager'
    ../../include/QtGui/../../src/gui/kernel/qwidget.h: In static member function 'static void QDecoration::startResize(QWidget*)':
    ../../include/QtGui/../../src/gui/kernel/qwidget.h:123: error: 'QWidgetPrivate* QWidget::d_func()' is private
    embedded/qdecoration_qws.cpp:375: error: within this context
    embedded/qdecoration_qws.cpp:375: error: 'struct QTLWExtra' has no member named 'qwsManager'
    make[1]: *** [.obj/release-shared-emb-arm/qdecoration_qws.o] Error 1
    make[1]: Leaving directory `/home/ggg/QTOPIA/qt-embedded-linux-commercial-src-4.4.1/src/gui'
    make: *** [sub-gui-make_default-ordered] Error 2

  4. #4
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Installation Problem

    Hi,
    I fixed the problem. I suspected there was a problem with the linux server platform tools. I put in my Centos 5 CD and selected "upgrade current Centos 5 version" (not new installation). After the installation I then recompiled Qt-embedded 4.4.1 and there are no errors!

  5. #5
    Join Date
    Apr 2010
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Installation Problem

    I guess this is a dead thread..but why not give it a try...

    I have the same issue:

    d src/tools/uic/ && make -f Makefile
    make[1]: Entering directory `/home/lt/qtsdk-2010.02_EMB/qt/src/tools/uic'
    make[1]: Nothing to be done for `first'.
    make[1]: Leaving directory `/home/lt/qtsdk-2010.02_EMB/qt/src/tools/uic'
    cd src/corelib/ && make -f Makefile
    make[1]: Entering directory `/home/lt/qtsdk-2010.02_EMB/qt/src/corelib'
    arm-none-linux-gnueabi-g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe -fno-exceptions -O2 -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 -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++-imx -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -I/home/lt/ltib/rootfs/usr/include -o .obj/release-shared-emb-arm/qabstractanimation.o animation/qabstractanimation.cpp
    ../../include/QtCore/qatomic_i386.h: In destructor 'QList<T>::~QList() [with T = QAbstractAnimation*]':
    ../../include/QtCore/qatomic_i386.h:132: error: impossible constraint in 'asm'
    make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 1
    make[1]: Leaving directory `/home/lt/qtsdk-2010.02_EMB/qt/src/corelib'
    make: *** [sub-corelib-make_default-ordered] Error 2
    lt@ubuntu:~/qtsdk-2010.02_EMB/qt$

    Anyone found any solution to this?

Similar Threads

  1. Replies: 6
    Last Post: 15th July 2008, 11:43
  2. Qt 4.3.4 installation problem.
    By abrou in forum Installation and Deployment
    Replies: 4
    Last Post: 1st May 2008, 22:41
  3. Unsolved ubuntu installation of qt problem
    By sincnarf in forum Installation and Deployment
    Replies: 1
    Last Post: 30th September 2007, 10:41
  4. Qt4: Problem after installation
    By naccchii in forum Installation and Deployment
    Replies: 2
    Last Post: 5th July 2007, 12:15
  5. painter problem in new Qt-4.2.3 installation
    By impeteperry in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd May 2007, 06:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.