[oe] bitbake meta-toolchain error

Thomas Senyk thomas.senyk at pelagicore.com
Sun Aug 3 07:23:10 UTC 2014


On Sunday, August 03, 2014 09:53:24 AM Nilesh Kokane wrote:
> Hi Raj,
> 
> 
> Thanks for your valuable reply first of all.
> 
> 
> 
> 
> 
> It seems eglvivante.h might have issues are you compiling
> Qt with XCB support ?
> 
> Yes , i'm compiling the Qt with the XCB support

And that's the problem .. isn't it? From previose mails I understand you 
trying to get a EGLFS (egl on top of framebuffer) build .. right?
(the rest of this mail assume a 'yes' to this answer)

You're trying to compile Qt/XCB on top of a sysroot which has no X11 in it.

.. and/or you have X11 left overs from previous builds and Qt picks them up 
although you're building with -DEGL_API_FB=1

> 
> then check if egl defines are OK in that header.
> you might delete all defines except X11 in eglvivante.h
> may be that will help.

Tinkering your eglvivante.h sound like the wrong thing to do :)

This should be solved by qtbase_%.bbappend in meta-fsl-arm.
You'll see that there is code for:
	a. taking the right platform plugin
		(the line with "-eglfs" in it)*
	b. setup for eglvivante.h
		(the lines around -DEGL_API_FB=1

(*this line could be improved by adding -xcb and -no-xcb accordingly...)


Open qtbase.inc (from meta-qt5) and remove the "-silent"
Then clean your build director* (I usually just delete the complete build 
folder and start from scratch) 
Build again, and if it fails then write again to this mail list with links to 
all logs: 
	bitbake log, 
	qtbase: run.configure, log.do_configure, run.do_compile, log.do_compile


(*This is just to make sure the change for DISTRO_FEATURE has no side effects, 
if already did a clean build after the change then you should be good)

> 
> 
> My eglvivante.h looks something like  this http://pastebin.com/DTEDrRkx
> can you tell me exactly what i need to delete in the header file for
> circumventing the problem
> 
> 
> 
> Thanks
> Nilesh Kokane
> 
> On Sun, Aug 3, 2014 at 1:59 AM, Khem Raj <raj.khem at gmail.com> wrote:
> > On 14-08-02 08:59:13, Nilesh Kokane wrote:
> > > where are the logs
> > > 
> > > I'm logged with the errors as posted on pastebin
> > > http://pastebin.com/hsMhT9f8
> > > 
> > > Please if you can have alook.
> > 
> > It seems eglvivante.h might have issues are you compiling
> > Qt with XCB support ?
> > then check if egl defines are OK in that header.
> > you might delete all defines except X11 in eglvivante.h
> > may be that will help.




More information about the Openembedded-devel mailing list