From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: mike9874 channel <mike987418@gmail.com>, <yocto@yoctoproject.org>
Subject: Re: PREEMPT-RT patch: wrong header
Date: Mon, 7 Dec 2015 14:53:42 -0500 [thread overview]
Message-ID: <5665E3C6.6090207@windriver.com> (raw)
In-Reply-To: <CADkGNzhWGEV8+fW2nuKEvWUvftqB8is7WOK0A3EGpFhe5mTYAA@mail.gmail.com>
On 12/07/2015 08:03 AM, mike9874 channel wrote:
> Hello,
> i am building an image for qeumux86 with the PREEMT-RT patch. Therefore
> I use the following in my image.conf file:
> PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
> PREFERRED_VERSION_linux-yocto-rt ?= "4%"
>
> I get an image with the 4.1.8-rt8-yocto-preempt-rt kernel. I have an
> Application which is also build into the image where I try to use
> SCHED_DEADLINE with sched_setattr() and struct sched_attr from
> <sched.h>. My bitbake compiler throws following error: storage size of
> 'scheduling_attribut' isn't known.
> Where do I get the correct Headers to compile my application?
You need to look at the kernel sources themselves:
STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source"
The preempt-rt kernel isn't messing with the libc-headers, so if you
are missing a struct that it is modifying, it'll be in the kernel
source itself.
Bruce
>
> Regards,
> Mike
>
>
prev parent reply other threads:[~2015-12-07 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 13:03 PREEMPT-RT patch: wrong header mike9874 channel
2015-12-07 16:19 ` mar.krzeminski
2015-12-07 19:53 ` Bruce Ashfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5665E3C6.6090207@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=mike987418@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.