Qt Script Error in Qt.OpenSource 4.8.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?



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



  • Did you manage to solve this issue?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.