Results 1 to 3 of 3

Thread: QT X11 cross compile failed on Fedora 4 for arm

  1. #1

    Default QT X11 cross compile failed on Fedora 4 for arm

    Dear All

    This gmake error created after i run configure successful.Do you have any idea or solution for me?

    build environment:Fedora4 on i386 machine
    object develope board:arm s3c2440

    ./configure -little-endian -embedded arm -release -xplatform qws/limux-arm-g++ -depths 4,8,12,16 -qt-sql-sqlite -plugin-sql-sqlite -no-qt3support

    gmake
    ...
    arm-linux-g++ -c -pip -O2 -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I../3rdparty/zlib -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qglobal.o global/qglobal.cpp
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h: In function `QString qt_error_string(int)':
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:70: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:82: error: constraint impossible in `asm'
    gmake[2]: *** [.obj/release-shared/qglobal.o] Error 1
    gmake[2]: Leaving directory `/home/qt-x11-opensource-src-4.2.2/src/corelib'
    gmake[1]: *** [sub-corelib-make_default] Error 2
    gmake[1]: Leaving directory `/home/qt-x11-opensource-src-4.2.2/src'
    gmake: *** [sub-src-make_default-ordered] Error 2

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT X11 cross compile failed on Fedora 4 for arm

    Quote Originally Posted by Jessica026 View Post
    ./configure -little-endian -embedded arm -release -xplatform qws/limux-arm-g++ -depths 4,8,12,16 -qt-sql-sqlite -plugin-sql-sqlite -no-qt3support
    Shouldn't it be "qws/linux-arm-g++"?

  3. #3

    Default Re: QT X11 cross compile failed on Fedora 4 for arm

    ./configure -little-endian -embedded arm -release -xplatform qws/linux-arm-g++ -depths 4,8,12,16 -qt-sql-sqlite -plugin-sql-sqlite -no-qt3support

    yes,it's my typo.

Similar Threads

  1. Qtopia core 4.2.2 cross compile make error
    By smiyai18 in forum Installation and Deployment
    Replies: 2
    Last Post: 28th August 2007, 17:04
  2. Qtopia 4 installation on Fedora core 6 failed
    By lines2005 in forum Installation and Deployment
    Replies: 0
    Last Post: 8th April 2007, 14:50
  3. Cross compile QT/X11 for platform xscale-elf
    By nmkarvekar in forum Installation and Deployment
    Replies: 0
    Last Post: 19th May 2006, 07:20

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.