QtWebkit linkage error: Again!



  • Hi

    this is pretty crazy. I've changed my -prefix option in my Qt 5.0.0 configure and make again. Source is in a new directory, But the environment, python-perl-ruby, mingw and all other things are exactly same as before. The only difference is -prefix

    I have had problems with Webkit before, though applying these patches helped:

    https://qt.gitorious.org/qt/qtwebkit/commit/a65d837c40c5a6f19cf983e6614b10030d81dc67?format=patch
    https://qt.gitorious.org/qt/qtwebkit/commit/3651ffe993a9243a89fe965fedee9315f3ab68f4?format=patch
    https://qt.gitorious.org/qt/qtwebkit/commit/5e594b14d4b0295ad562211a43fdc996437bac17?format=patch

    Now I'm getting this error:

    @
    ./libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x157): undefined reference to WebCore::HTMLMediaElement::platformMedia() const' ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x1b7): undefined reference toWebCore::HTMLMediaElement::platformMedia() const'
    ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x267): undefined reference to WebCore::HTMLMediaElement::platformMedia() const' ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x2ce): undefined reference toWebCore::HTMLMediaElement::platformMedia() const'
    ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x393): undefined reference to WebCore::HTMLMediaElement::platformMedia() const' ../libWebKit1d.a(FullScreenVideoQt.o):FullScreenVideoQt.cpp:(.text+0x352): undefined reference toWebCore::HTMLMediaElement::exitFullscreen()'
    c:/mingw-x64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld.exe: ../libWebKit1d.a(FullScreenVideoQt.o): bad reloc address 0x0 in section `.pdata'
    collect2.exe: error: ld returned 1 exit status
    Makefile.api.Debug:81: recipe for target '..\lib\Qt5WebKitd.dll' failed
    @

    This makes no sense. I have compiled Qt on Jan 12th successfully. Now What is this linkage error after changing prefix?


Log in to reply
 

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