Results 1 to 2 of 2

Thread: Help!!!Problems in building Qt4.7.3 for Vxworks.. cross compile

  1. #1
    Join Date
    Oct 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Lightbulb Help!!!Problems in building Qt4.7.3 for Vxworks.. cross compile

    1.configure :
    ./configure*-static*-xplatform*unsupported/vxworks-simpentium-g++*-embedded*-exceptions*-no-gfx-linuxfb*-no-mouse-linuxtp*-no-mouse-pc*-no-kbd-tty


    console outputs:
    chmod: /qt473vxw/src/corelib/global/qconfig.cpp:new mod is r-xrwxrwx,not r-xr-xr-x
    Creating qmake. Please wait...
    ln: creating “unsupported/vxworks-simpentium-g++” links to “mkspecs/default”: protocol error



    2. using vxworks (workbench 3.1 vxworks6.7 on Linux) make
    make CPU=PENTIUM




    3.problems Come

    .....

    c++pentium -c -fno-builtin -I/windriver/WindRiver/vxworks-6.7/target/h -I/windriver/WindRiver/vxworks-6.7/target/h/wrn/coreip -DCPU=SIMLINUX -DVX_CPU_FAMILY=simlinux -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D_VSB_CONFIG_FILE='<../lib/h/config/vsbConfig.h>' -O2 -Wall -W -D_REENTRANT -DQT_SHARED -DVXWORKS -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 -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/unsupported/vxworks-simpentium-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-auto -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-auto -o .obj/release-shared-emb-auto/qglobal.o global/qglobal.cpp
    ../../include/QtCore/../../src/corelib/tools/qstringbuilder.h:74: error: expected ';' before '.' token
    ../../include/QtCore/../../src/corelib/tools/qstringbuilder.h: In member function 'const char* QLatin1Literal::data() const':
    ../../include/QtCore/../../src/corelib/tools/qstringbuilder.h:66: error: 'mBlkHdr' was not declared in this scope
    ../../include/QtCore/../../src/corelib/tools/qstringbuilder.h: In constructor 'QLatin1Literal::QLatin1Literal(const char (&)[N])':
    ../../include/QtCore/../../src/corelib/tools/qstringbuilder.h:70: error: class 'QLatin1Literal' does not have any field named 'mBlkHdr'
    ../../include/QtCore/../../src/corelib/tools/qstringbuilder.h:70: error: expected `(' before '.' token
    ../../include/QtCore/../../src/corelib/tools/qstringbuilder.h:70: error: expected `{' before '.' token
    make[1]: *** [.obj/release-shared-emb-auto/qglobal.o] Error 1
    make[1]: Leaving directory `/qt473vxw/src/corelib'

  2. #2
    Join Date
    Sep 2012
    Posts
    1
    Qt products
    Qt4 Qt/Embedded

    Default Re: Help!!!Problems in building Qt4.7.3 for Vxworks.. cross compile

    Hi
    To resolve this just replace variable m_data to some other name say u_data in qstringbuilder.h This will resolve ur issue
    The peoblem is coming as in vxworks mbuf.h m_data is already defined as
    #define m_data mBlkHdr.mdata in So its taking this defination and trying to look out for mBlkHdr.

    Regards
    NJ

Similar Threads

  1. Can't cross compile with dbus
    By nrabara in forum Installation and Deployment
    Replies: 3
    Last Post: 19th March 2012, 12:28
  2. cross compile qt 4.5 can not find opengl
    By lzpmail in forum Qt Programming
    Replies: 0
    Last Post: 13th April 2011, 08:49
  3. Cant cross compile onto Windows CE 5
    By Willybood in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 26th October 2010, 23:38
  4. Cross-Compile to QT/X11 ARM
    By shiranraviv in forum Installation and Deployment
    Replies: 6
    Last Post: 18th December 2009, 11:22
  5. Qtopia cross-compile for arm
    By Bitz in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 12th June 2006, 12:11

Tags for this Thread

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.