[oe] bitbake meta-toolchain error

Nilesh Kokane nilesh.kokane at mindastoneridge.com
Sun Aug 3 09:09:43 UTC 2014


Hi Thomas


Thanks for your reply


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)

Yes, I'm trying to get EGLFS


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 :)

 I largely tweaked the eglvivante.h in an attempt to solve the problem
without having the backup copy.
So just to restore the eglvivante.h back, i derived the file from the
reference  github (
https://github.com/rogeriorps/gpu-samples-mx6/blob/master/lesson03/include/EGL/eglvivante.h)
will that cause a -ve effect in the build?




Also, I'll perform the following mentioned experiments and update about the
results shortly.

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)


On Sun, Aug 3, 2014 at 12:53 PM, Thomas Senyk <thomas.senyk at pelagicore.com>
wrote:

> 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.
>
>


-- 
Thanks

-- 
“The contents of this e-mail message and any attachments are confidential 
and are intended solely for addressee. The information may also be legally 
privileged. This transmission is sent in trust, for the sole purpose of 
delivery to the intended recipient. If you have received this transmission 
in error, any use, reproduction or dissemination of this transmission is 
strictly prohibited. If you are not the intended recipient, please 
immediately notify the sender by reply e-mail or phone and delete this 
message and its attachments, if any.”
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 67631 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140803/0d62b417/attachment-0002.png>


More information about the Openembedded-devel mailing list