Qt5-Webkit fails to build
-
Hi,
Never got hit by that one, does it happen again if you restart the build ?
-
@SGaist :
I tried rebuiling and also rebooted the device and rebuilt, but the same error appeared. :(
-
What Linux flavor are you running ? Version of gcc ?
-
@SGaist :
I use Raspbian Jessie on my raspberry pi board. -
Did you check that you have all dependencies dev-packages installed ?
-
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) -
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?
-
Has anyone managed to build Qt on a raspberry Pi?
Is there an up to date account on how?
Thank you.
-
Has anyone successfully built Qt5 on a Raspberry Pi ? If so how and where did you find the correct / working instructions/guide?
Thank you,
-
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.