Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Qt5-Webkit fails to build

Qt5-Webkit fails to build

Scheduled Pinned Locked Moved Qt WebKit
15 Posts 5 Posters 9.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.
  • P Offline
    P Offline
    Pisi Linux
    wrote on last edited by
    #1

    Hi to all
    My Name is groni i'm a Member of the Pisi Linux Team.
    I try since 3 Days to build Qt5-Webkit, but after a build Time from 1 ¹ / ² hours the compilation stops with the following error.

    @/usr/bin/ld.gold: /var/pisi/qt5-webkit-5.4.1-1/work/qtwebkit-opensource-src-5.4.1/Source/WebCore//libWebCore.a(/var/pisi/qt5-webkit-5.4.1-1/work/qtwebkit-opensource-src-5.4.1/Source/WebCore//.obj/platform/graphics/Font.o): previous definition here
    collect2: error: ld returned 1 exit status
    Makefile.api:115: recipe for target '../lib/libQt5WebKit.so.5.4.1' failed
    make[2]: *** [../lib/libQt5WebKit.so.5.4.1] Error 1
    make[2]: Leaving directory '/var/pisi/qt5-webkit-5.4.1-1/work/qtwebkit-opensource-src-5.4.1/Source'
    Makefile.QtWebKit:45: recipe for target 'sub-api-pri-make_first-ordered' failed
    make[1]: *** [sub-api-pri-make_first-ordered] Error 2
    make[1]: Leaving directory '/var/pisi/qt5-webkit-5.4.1-1/work/qtwebkit-opensource-src-5.4.1/Source'
    Makefile:351: recipe for target 'sub-Source-QtWebKit-pro-make_first-ordered' failed
    make: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2@

    I have search at the Web in many Linux Distributions but found no solutions for the Problem.
    I hope you can help me further, all other Qt5 stuff is ready and works. I need Qt5-Webkit for the building from KDE 5.

    Thanks in Advanced for your Answer

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should post a more complete error log. Currently it's not possible to know what is being redefined in Font

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pisi Linux
        wrote on last edited by
        #3

        here the complete build log from the Terminal, it is to much to write it here so
        you can download it from my File Hoster

        "Qt5-Webkit Build Log":http://www.mediafire.com/download/u6sqqxm7pf5ao3x/Qt5-Webkit_build.txt

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Looks like it's a custom patched version of webkit, can you try with a vanilla version ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Abin
            wrote on last edited by
            #5

            @Pisi-Linux : Is the issue resolved?

            I too get same error.

            I am trying to build Qt on raspbian jessie OS for building Qt application on raspberry board itself. I followed steps in Native Build of Qt 5.4.1 on a Raspberry Pi , but build on sd card itself without using external usb HDD as mentioned in post.

            I got error E: Unable to locate package libxcb-sync0 when I tried to do the step Configure and compile Qt source code ->
            Installing dependencies.

            I continue to build and while building Qt Webkit I got error

            make[3]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/ANGLE'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/ANGLE'
            make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/ANGLE'
            cd Source/ThirdParty/leveldb/ && ( test -e Makefile.leveldb || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/leveldb/leveldb.pro -o Makefile.leveldb ) && make -f Makefile.leveldb
            make[2]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/leveldb'
            ( test -e Makefile.Target || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/leveldb/Target.pri -o Makefile.Target ) && make -f Makefile.Target
            make[3]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/leveldb'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/leveldb'
            make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/leveldb'
            cd Source/WebCore/ && ( test -e Makefile.WebCore || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore/WebCore.pro -o Makefile.WebCore ) && make -f Makefile.WebCore
            make[2]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore'
            ( test -e Makefile.WebCore.DerivedSources || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore/DerivedSources.pri -o Makefile.WebCore.DerivedSources ) && make -f Makefile.WebCore.DerivedSources
            make[3]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore'
            ( test -e Makefile.WebCore.Target || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore/Target.pri -o Makefile.WebCore.Target ) && make -f Makefile.WebCore.Target
            make[3]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore'
            make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore'
            cd Source/WebKit/ && ( test -e Makefile.WebKit1 || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit/WebKit1.pro -o Makefile.WebKit1 ) && make -f Makefile.WebKit1
            make[2]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit'
            make[2]: Nothing to be done for 'first'.
            make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit'
            cd Source/WebKit2/ && ( test -e Makefile.WebKit2 || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2/WebKit2.pro -o Makefile.WebKit2 ) && make -f Makefile.WebKit2
            make[2]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2'
            ( test -e Makefile.WebKit2.DerivedSources || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2/DerivedSources.pri -o Makefile.WebKit2.DerivedSources ) && make -f Makefile.WebKit2.DerivedSources
            make[3]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2'
            perl /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2/Scripts/generate-forwarding-headers.pl /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2 /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/include qt
            make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2'
            ( test -e Makefile.WebKit2.Target || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2/Target.pri -o Makefile.WebKit2.Target ) && make -f Makefile.WebKit2.Target
            make[3]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2'
            make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2'
            cd Source/ && ( test -e Makefile.QtWebKit || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/QtWebKit.pro -o Makefile.QtWebKit ) && make -f Makefile.QtWebKit
            make[2]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source'
            ( test -e Makefile.api || /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/api.pri -o Makefile.api ) && make -f Makefile.api
            make[3]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source'
            rm -f libQt5WebKit.so.5.4.1 libQt5WebKit.so libQt5WebKit.so.5 libQt5WebKit.so.5.4
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -Wl,--gc-sections -Wl,--no-undefined -Wl,--no-undefined -fdebug-types-section -Wl,-O1 -fuse-ld=gold -Wl,-rpath,/usr/local/qt5/lib -shared -Wl,-soname,libQt5WebKit.so.5 -o libQt5WebKit.so.5.4.1 -L/opt/vc/lib -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Gui -L/opt/vc/lib -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Network -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit/ -Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebKit2/ -lrt -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WebCore/ -lz -lXrender -ljpeg -lpng -Wl,-whole-archive -lANGLE -Wl,-no-whole-archive -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/ANGLE/ -Wl,-whole-archive -lleveldb -Wl,-no-whole-archive -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/ThirdParty/leveldb/ -Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/JavaScriptCore/ -Wl,-whole-archive -lWTF -Wl,-no-whole-archive -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source/WTF/ -lEGL -lGLESv2 -lXext -lX11 -lm -lX11 -lxslt -lxml2 -lxml2 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lgstinterfaces-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lgstpbutils-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lsqlite3 -licui18n -licuuc -licudata -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtsensors/lib -lQt5Sensors -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtlocation/lib -lQt5Positioning -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtdeclarative/lib -lQt5Quick -L/opt/vc/lib -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Gui -L/opt/vc/lib -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtdeclarative/lib -lQt5Qml -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Network -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -lQt5Network -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -lQt5Qml -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Network -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -lQt5Network -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Gui -L/opt/vc/lib -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebchannel/lib -lQt5WebChannel -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtdeclarative/lib -lQt5Qml -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Network -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Network -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -lQt5Sql -L/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lGLESv2
            /usr/bin/ld.gold: internal error in make_view, at ../../gold/fileread.cc:472
            collect2: error: ld returned 1 exit status
            Makefile.api:115: recipe for target '../lib/libQt5WebKit.so.5.4.1' failed
            make[3]: *** [../lib/libQt5WebKit.so.5.4.1] Error 1
            make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source'
            Makefile.QtWebKit:45: recipe for target 'sub-api-pri-make_first-ordered' failed
            make[2]: *** [sub-api-pri-make_first-ordered] Error 2
            make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit/Source'
            Makefile:351: recipe for target 'sub-Source-QtWebKit-pro-make_first-ordered' failed
            make[1]: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
            make[1]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.4.1/qtwebkit'
            Makefile:485: recipe for target 'module-qtwebkit-make_first' failed
            make: *** [module-qtwebkit-make_first] Error 2

            Is there any way to resolve this?

            @SGaist : could you have a look into this?

            Thanks in advance

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              Never got hit by that one, does it happen again if you restart the build ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              A 1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                Never got hit by that one, does it happen again if you restart the build ?

                A Offline
                A Offline
                Abin
                wrote on last edited by Abin
                #7

                @SGaist :

                I tried rebuiling and also rebooted the device and rebuilt, but the same error appeared. :(

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  What Linux flavor are you running ? Version of gcc ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    What Linux flavor are you running ? Version of gcc ?

                    A Offline
                    A Offline
                    Abin
                    wrote on last edited by
                    #9

                    @SGaist :
                    I use Raspbian Jessie on my raspberry pi board.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Did you check that you have all dependencies dev-packages installed ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        marcin100
                        wrote on last edited by
                        #11

                        Hello,

                        I have been stuck for few days now trying to bitbake meta-toolchain-qt5 (Jethro --> Qt5.5) using Yocto. I did not have any issues in the previous versions. I would greatly appreciate any pointers on how to approach this issue. The error log is not very helpful. Is it possible to remove webkit from the toolchain build? I'm not planing on using it in my application.

                        Here is the portion of the log:
                        | DOMAllInOne.cpp:(.text._ZN7WebCore15HTMLTagNodeListC2EN3WTF10PassRefPtrINS_4NodeEEERKNS1_12AtomicStringE+0xa8): undefined reference to .LANCHOR158' | /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/build/Source/WebCore//.obj/dom/DOMAllInOne.o: In function WebCore::NameNodeList::NameNodeList(WTF::PassRefPtrWebCore::Node, WTF::AtomicString const&)':
                        | DOMAllInOne.cpp:(.text._ZN7WebCore12NameNodeListC2EN3WTF10PassRefPtrINS_4NodeEEERKNS1_12AtomicStringE+0x124): undefined reference to .LANCHOR61' | DOMAllInOne.cpp:(.text._ZN7WebCore12NameNodeListC2EN3WTF10PassRefPtrINS_4NodeEEERKNS1_12AtomicStringE+0x128): undefined reference to .LANCHOR159'
                        | collect2: error: ld returned 1 exit status
                        | make[2]: *** [../lib/libQt5WebKit.so.5.5.1] Error 1
                        | make[2]: Leaving directory /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/build/Source' | make[1]: *** [sub-api-pri-make_first-ordered] Error 2 | make[1]: Leaving directory /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/build/Source'
                        | make: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
                        | ERROR: oe_runmake failed
                        | ERROR: Function failed: do_compile (log file is located at /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/temp/log.do_compile.9933)

                        1 Reply Last reply
                        0
                        • SPlattenS Offline
                          SPlattenS Offline
                          SPlatten
                          wrote on last edited by
                          #12

                          I have a raspberry Pi Zero, I've been following the information on this Wiki page:

                          https://wiki.qt.io/Native_Build_of_Qt5_on_a_Raspberry_Pi

                          I've encountered a few errors during installing the packages, the first was with: libjpeg62-dev, I got over this by installing libjeg62.

                          The next problem was with libxcb-sync0:

                          Unable to locate package libxcb-sync0.

                          The operating system version is:

                          Linux raspberrypi 4.4.11+ #888 Mon May 29 20:02:58 BST 2016 armv6l GNU/Linux

                          I ignored this error and left it building overnight, when I came back to it it failed, obviously this library is required.

                          What can I do to satisfy this requirement?

                          Kind Regards,
                          Sy

                          1 Reply Last reply
                          0
                          • SPlattenS Offline
                            SPlattenS Offline
                            SPlatten
                            wrote on last edited by
                            #13

                            Has anyone managed to build Qt on a raspberry Pi?

                            Is there an up to date account on how?

                            Thank you.

                            Kind Regards,
                            Sy

                            1 Reply Last reply
                            0
                            • SPlattenS Offline
                              SPlattenS Offline
                              SPlatten
                              wrote on last edited by
                              #14

                              Has anyone successfully built Qt5 on a Raspberry Pi ? If so how and where did you find the correct / working instructions/guide?

                              Thank you,

                              Kind Regards,
                              Sy

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                What distribution are you using exactly ?

                                I've built Qt on a Pi using raspbian without any trouble however I didn't had the need for QtWebKit so I didn't bother with that module since what I needed already required a very long build time.

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                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