zhang meiyu

Error while build Yocto fsl-image-qt5

Discussion created by zhang meiyu on Jan 17, 2018
Latest reply on Mar 1, 2018 by Joan Xie

Hello all.

I try to build fsl-image-qt5 using Freescale Yocto Project User's Guide. Problem occurs then i run build scenario:

$ MACHINE=imx6qsabrelite source fsl-setup-release.sh -b build-x11 -e x11

$ bitbake fsl-image-qt5 

 

The board I used is imx6qsabrelite ,  my host Ubuntu version is ubuntu14.04.

 

All I did is following the Freescale Yocto Project User's Guide with chapter 3 Host setup4 Yocto Project Setup 5.6 Build Scenarios.

Did I not install some required packages?then please list all required packages that I should I install  in my host.

 

/home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::ElementShadow::removeShadowRoot()':
| DOMAllInOne.cpp:(.text._ZN7WebCore13ElementShadow16removeShadowRootEv+0x2a0): undefined reference to `.LANCHOR43'
| /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::DocumentMarkerController::addMarker(WebCore::Node*, WebCore::DocumentMarker const&) [clone .part.1747]':
| DOMAllInOne.cpp:(.text._ZN7WebCore24DocumentMarkerController9addMarkerEPNS_4NodeERKNS_14DocumentMarkerE.part.1747+0x608): undefined reference to `guard variable for WebCore::RenderedDocumentMarker::invalidMarkerRect()::rect'
| DOMAllInOne.cpp:(.text._ZN7WebCore24DocumentMarkerController9addMarkerEPNS_4NodeERKNS_14DocumentMarkerE.part.1747+0x60c): undefined reference to `WebCore::RenderedDocumentMarker::invalidMarkerRect()::rect'
| /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::EventDispatcher::dispatch()':
| DOMAllInOne.cpp:(.text._ZN7WebCore15EventDispatcher8dispatchEv+0x5f8): undefined reference to `.LANCHOR131'
| /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::EventDispatcher::dispatchSimulatedClick(WebCore::Element*, WebCore::Event*, WebCore::SimulatedClickMouseEventOptions, WebCore::SimulatedClickVisualOptions)':
| DOMAllInOne.cpp:(.text._ZN7WebCore15EventDispatcher22dispatchSimulatedClickEPNS_7ElementEPNS_5EventENS_31SimulatedClickMouseEventOptionsENS_27SimulatedClickVisualOptionsE+0x5f0): undefined reference to `.LANCHOR164'
| DOMAllInOne.cpp:(.text._ZN7WebCore15EventDispatcher22dispatchSimulatedClickEPNS_7ElementEPNS_5EventENS_31SimulatedClickMouseEventOptionsENS_27SimulatedClickVisualOptionsE+0x5f4): undefined reference to `.LANCHOR165'
| DOMAllInOne.cpp:(.text._ZN7WebCore15EventDispatcher22dispatchSimulatedClickEPNS_7ElementEPNS_5EventENS_31SimulatedClickMouseEventOptionsENS_27SimulatedClickVisualOptionsE+0x5f8): undefined reference to `.LANCHOR165'
| DOMAllInOne.cpp:(.text._ZN7WebCore15EventDispatcher22dispatchSimulatedClickEPNS_7ElementEPNS_5EventENS_31SimulatedClickMouseEventOptionsENS_27SimulatedClickVisualOptionsE+0x5fc): undefined reference to `.LANCHOR165'
| /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::IdTargetObserver::IdTargetObserver(WebCore::IdTargetObserverRegistry&, WTF::AtomicString const&)':
| DOMAllInOne.cpp:(.text._ZN7WebCore16IdTargetObserverC2ERNS_24IdTargetObserverRegistryERKN3WTF12AtomicStringE+0x4c): undefined reference to `.LANCHOR166'
| /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::IdTargetObserver::~IdTargetObserver()':
| DOMAllInOne.cpp:(.text._ZN7WebCore16IdTargetObserverD2Ev+0x40): undefined reference to `.LANCHOR166'
| /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::MessagePort::MessagePort(WebCore::ScriptExecutionContext&)':
| DOMAllInOne.cpp:(.text._ZN7WebCore11MessagePortC2ERNS_22ScriptExecutionContextE+0x74): undefined reference to `.LANCHOR167'
| /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source/WebCore/release/libWebCore.a(DOMAllInOne.o): In function `WebCore::CharacterData::setDataAndUpdate(WTF::String const&, unsigned int, unsigned int, unsigned int)':
| DOMAllInOne.cpp:(.text._ZN7WebCore13CharacterData16setDataAndUpdateERKN3WTF6StringEjjj+0xe4): undefined reference to `.LANCHOR62'
| collect2: error: ld returned 1 exit status
| make[2]: *** [../lib/libQt5WebKit.so.5.2.1] Error 1
| make[2]: Leaving directory `/home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source'
| make[1]: *** [sub-api-pri-make_first-ordered] Error 2
| make[1]: Leaving directory `/home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/build/Source'
| make: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/zmy/fsl-release-bsp/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.2.1-r0/temp/log.do_compile.115143)
ERROR: Task 2907 (/home/zmy/fsl-release-bsp/sources/meta-qt5/recipes-qt/qt5/qtwebkit_5.2.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3241 tasks of which 3164 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/zmy/fsl-release-bsp/sources/meta-qt5/recipes-qt/qt5/qtwebkit_5.2.1.bb, do_compile
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
zmy@zmy-virtual-machine:~/fsl-release-bsp/build-x11$

 

it shows the file /home/zmy/fsl-release-bsp/sources/meta-qt5/recipes-qt/qt5/qtwebkit_5.2.1.bb   compile failure.

the content of the qtwebkit_5.2.1.bb is as follows:

 

require qt5-${PV}.inc
require ${PN}.inc

SRC_URI[md5sum] = "a20d99a1c2afbd6a7c6f54e615f1bd63"
SRC_URI[sha256sum] = "ac089723489ee9146020bd8fc715358249d8cea7f2a2e92a692e2a5595a46b5c"

 

should I change something?

thank you.

Outcomes