Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved]How to build qt-everywhere-opensource-src-4.8.0 with webkit?

[Solved]How to build qt-everywhere-opensource-src-4.8.0 with webkit?

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 5.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Weilly
    wrote on 16 Feb 2012, 06:54 last edited by
    #1

    Dear all,

    I use following configure line to configure and make. I got got error message in JavascriptCore.

    ./configure -prefix /usr/local/Trolltech/QtEmbedded-4.8.0-arm-vnc -embedded arm -make tools -xplatform qws/linux-arm-g++ -v -qt-mouse-tslib -I/home/tslib/include -L/home/tslib/lib -qt-gfx-vnc -confirm-license

    =============================================================
    In file included from runtime/JSValue.h:32,
    from runtime/CachedTranscendentalFunction.h:29,
    from runtime/JSGlobalData.h:32,
    from interpreter/CallFrame.h:26,
    from runtime/ArgList.h:25,
    from runtime/JSObject.h:26,
    from wtf/DateMath.cpp:79:
    ./wtf/MathExtras.h:252: error: 'std::isfinite' has not been declared
    ./wtf/MathExtras.h:253: error: 'std::isinf' has not been declared
    ./wtf/MathExtras.h:254: error: 'std::isnan' has not been declared
    ./wtf/MathExtras.h:255: error: 'std::signbit' has not been declared
    In file included from runtime/JSObject.h:31,
    from wtf/DateMath.cpp:79:
    runtime/JSCell.h: In member function 'void* JSC::MarkedBlock::allocate()':
    runtime/JSCell.h:354: warning: cast from 'char ()[8]' to 'JSC::JSCell' increases required alignment of target type
    runtime/WriteBarrier.h: In member function 'T* JSC::WriteBarrierBase<T>::get() const [with T = JSC::Structure]':
    runtime/JSCell.h:174: instantiated from here
    runtime/WriteBarrier.h:70: warning: cast from 'JSC::JSCell*' to 'JSC::Structure*' increases required alignment of target type
    /usr/local/toolchain/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/bits/basic_string.h: In member function 'std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_M_rep() const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
    /usr/local/toolchain/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/bits/basic_string.h:483: instantiated from 'std::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
    ../../../../../include/QtCore/../../src/corelib/tools/qstring.h:1045: instantiated from here
    /usr/local/toolchain/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/bits/basic_string.h:288: warning: cast from 'char*' to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep*' increases required alignment of target type
    heap/Handle.h: In static member function 'static T* JSC::HandleTypes<T>::getFromSlot(JSC::JSValue*) [with T = JSC::Structure]':
    heap/Handle.h:155: instantiated from 'typename JSC::HandleTypes<T>::ExternalType JSC::Handle<T>::get() const [with T = JSC::Structure]'
    runtime/ScopeChain.h:40: instantiated from here
    heap/Handle.h:82: warning: cast from 'JSC::JSCell*' to 'JSC::Structure*' increases required alignment of target type
    make[2]: *** [.obj/release-static-emb-arm/DateMath.o] Error 1
    make[2]: Leaving directory /home/tiger4/Downloads/qt4.8.0-arm-shared/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/JavaScriptCore' make[1]: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2 make[1]: Leaving directory /home/tiger4/Downloads/qt4.8.0-arm-shared/qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source'
    make: *** [sub-webkit-make_default-ordered] Error 2

    How do I fix it?

    Thank you all.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Weilly
      wrote on 21 Feb 2012, 06:02 last edited by
      #2

      [Solved] Thank you

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mlong
        wrote on 22 Feb 2012, 02:35 last edited by
        #3

        Please consider posting a summary of what the problem was, in case someone else runs into something similar.

        Also, be sure and edit the thread title to add [Solved] at the beginning.

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Weilly
          wrote on 22 Feb 2012, 08:39 last edited by
          #4

          The problem was using old arm-none-linux-gnueabi-gcc version such as v4.2. At least arm-none-linux-gnueabi-gcc v4.5.2 can avoid this problem.

          Thank you.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Top_da
            wrote on 23 Jan 2014, 03:35 last edited by
            #5

            I also met the same problem. My crosstool is arm-none-linux-gnueabi-gcc v4.2.0

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved