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. Qt Script Error in Qt.OpenSource 4.8.1
Forum Updated to NodeBB v4.3 + New Features

Qt Script Error in Qt.OpenSource 4.8.1

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.3k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    post4pavan
    wrote on last edited by
    #1

    Hi I am using Ubuntu Linux 2.6.32-40-generic x86_64 GNU/Linux

    Have anyone come across this error.

    I am using a toolchain *arm-2011.09-70-arm-none-linux-gnueabi-i686-pc-linux-gnu *

    @obj/release/JSClassRef.o: In function OpaqueJSClassContextData::~OpaqueJSClassContextData()': JSClassRef.cpp:(.text+0x618): undefined reference to __sync_fetch_and_add_4'
    obj/release/JSClassRef.o: In function OpaqueJSClassContextData::OpaqueJSClassContextData(OpaqueJSClass*)': JSClassRef.cpp:(.text+0x77c): undefined reference to __sync_fetch_and_add_4'
    obj/release/JSClassRef.o: In function OpaqueJSClass::create(JSClassDefinition const*)': JSClassRef.cpp:(.text+0x214c): undefined reference to __sync_fetch_and_add_4'
    obj/release/JSClassRef.o: In function QTWTF::ThreadSafeShared<OpaqueJSString>::deref()': JSClassRef.cpp:(.text._ZN5QTWTF16ThreadSafeSharedI14OpaqueJSStringE5derefEv[_ZN5QTWTF16ThreadSafeSharedI14OpaqueJSStringE5derefEv]+0xc): undefined reference to __sync_fetch_and_add_4'
    obj/release/JSClassRef.o: In function QTJSC::JSCallbackObject<QTJSC::JSObject>::callbackGetter(QTJSC::ExecState*, QTJSC::Identifier const&, QTJSC::PropertySlot const&)': JSClassRef.cpp:(.text._ZN5QTJSC16JSCallbackObjectINS_8JSObjectEE14callbackGetterEPNS_9ExecStateERKNS_10IdentifierERKNS_12PropertySlotE[_ZN5QTJSC16JSCallbackObjectINS_8JSObjectEE14callbackGetterEPNS_9ExecStateERKNS_10IdentifierERKNS_12PropertySlotE]+0x188): undefined reference to __sync_fetch_and_add_4'
    obj/release/JSClassRef.o:JSClassRef.cpp:(.text._ZN5QTJSC16JSCallbackObjectINS_8JSObjectEE18getOwnPropertySlotEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE[_ZN5QTJSC16JSCallbackObjectINS_8JSObjectEE18getOwnPropertySlotEPNS_9ExecStateERKNS_10IdentifierERNS_12PropertySlotE]+0x550): more undefined references to __sync_fetch_and_add_4' follow collect2: ld returned 1 exit status make[1]: *** [../../lib/libQtScript.so.4.8.1] Error 1 make[1]: Leaving directory /home/post4pavan/qt-target-new/src/script'
    make: *** [sub-script-make_default-ordered] Error 2
    @

    Please Suggest, What I should do, to get rid of this error?

    Qt for Embedded! INTERESTING!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thealse
      wrote on last edited by
      #2

      I have got the exact same issue? How did you proceed?
      BR

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thealse
        wrote on last edited by
        #3

        Did you manage to solve this issue?

        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