[yocto] PREEMPT-RT patch: wrong header

mar.krzeminski mar.krzeminski at gmail.com
Mon Dec 7 08:19:16 PST 2015


Hello,

I think you need to set PREFERRED_VERSION_linux-headers, but I have no 
idea what you should set for yocto-rt.

Regards,
Marcin

W dniu 07.12.2015 o 14:03, mike9874 channel pisze:
> 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?
>
> Regards,
> Mike
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151207/a0aa534e/attachment.html>


More information about the yocto mailing list