[yocto] Error during adding a new recipe.

Vijayakumar Badiger vijayakumarmb at gmail.com
Thu Jul 21 17:20:22 PDT 2016


The sync driver is already ported in the kernel.  I just need to get this
compilation error fixed. I tried adding below change to kernel bb file but
still I get that same error.

PACKAGES =+ "kernel-headers"
FILES_kernel-headers = "${KDIR}/usr/include"


Cheers
Vijay


On Thu, Jul 21, 2016 at 4:11 PM, Khem Raj <raj.khem at gmail.com> wrote:

>
> On Jul 21, 2016, at 3:34 PM, Vijayakumar Badiger <vijayakumarmb at gmail.com>
> wrote:
>
> I am trying to integrate the adb daemon by pulling in the userspace
> project from the android system/core.
> http://androidxref.com/6.0.1_r10/xref/system/core/
> When we try to compile libsync I am getting this error. Can you pls let me
> know how to overcome this. Thanks.
>
>
>
> you need to port the sync driver to kernel you are using and also it
> should be patching the kernel-headers package since it seems they are also
> exposing
> some APIs to userspace.
>
>
> On Thu, Jul 21, 2016 at 3:08 PM, Khem Raj <raj.khem at gmail.com> wrote:
>
>>
>> On Jul 21, 2016, at 2:59 PM, Burton, Ross <ross.burton at intel.com> wrote:
>>
>>
>> On 21 July 2016 at 22:51, Vijayakumar Badiger <vijayakumarmb at gmail.com>
>> wrote:
>>
>>> /local/mnt/workspace/c_vbadig/LV/poky/build/tmp-glibc/work/aarch64-poky-linux/system-core/git-r17/system/core/libsync/sync.c:24:24:
>>> fatal error: linux/sync.h: No such file or directory
>>> compilation terminated.
>>> make[2]: *** [libsync_la-sync.lo] Error 1
>>>
>>
>> That's not a standard user-space kernel header and doesn't appear to be a
>> standard header at all, so the question is where do you expect that header
>> to come from?
>>
>>
>> Its from android sync driver for kernel, which is not upstreamed yet.
>>
>> Ross
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160721/c556cf53/attachment.html>


More information about the yocto mailing list