Qt5.3 webkit build fail



  • Build Qt5.3 from sources, follow all steps from build 5.3 doc.
    Qt5.3 build success.

    Switch to qtwebkit and trying build webkit2

    Tools/Scripts/build-webkit —qt —qmakearg=“CONFIG+=webkit2” —no-webkit1

    Build fails for JavaScriptCore library link :

    g++ Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-as-needed -fdebug-types-section -Wl,-O1 -Wl,-rpath,/home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib -o ../../bin/jsc .obj/jsc.o -L/home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib -lJavaScriptCore -lWTF -licui18n -licuuc -licudata -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lQt5Core -lpthread

    undefined reference to llint_op_create_activation’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_put_scoped_var’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_typeof’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_resolve_scoped_var’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_end’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_is_boolean’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_get_by_id_getter_chain’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_resolve_base_to_scope_with_top_scope_check’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_begin’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_put_by_id_transition_normal’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_mod’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_lesseq’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_is_undefined’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_resolve_scoped_var_on_top_scope’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_nstricteq’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_create_this’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_debug’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_is_string’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_switch_string’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_resolve_with_this’
    /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference to llint_op_new_array’ /home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so: undefined reference tollint_op_/home/genisim/Sources/QT5/qt5/qtwebkit/WebKitBuild/Release/lib/libJavaScriptCore.so:
    …………………………

    Files :

    Source/JavaScriptCore/llint/LowLevelInterpreter.asm
    Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
    Source/JavaScriptCore/llint/LowLevelInterpreter64.asm

    exists

    And ruby used to generate :
    WebKitBuild/Release/Source/JavaScriptCore/generated/LLIntAssembly.h

    Build machine is Ubuntu 14.04 / 64bit

    What is wrong ?



  • Hi:
    Can you please guide me;

    I am also trying to build qt-5.3 along with qtwebkit. I'm using the ICU cross compiled libraries to build the webkit. Now after enabling -ICU in the configuration parameter I can successfully run the configuration for qt-5.3. Which will generate the make file. After running the make; it generates the various qt libraries.

    Now I am trying to write small qt application. I am using QT =+webkit in *.pro file and trying to generate the make file with the use of qmake. It says on webkit support. It means webkit is not compiled and build automatically with the make file.

    Is there any other approach to build the qtwebkit?

    Regards


Log in to reply
 

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