> On Jul 21, 2016, at 3:34 PM, Vijayakumar Badiger <[email protected]> > 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/ > <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 <[email protected] > <mailto:[email protected]>> wrote: > >> On Jul 21, 2016, at 2:59 PM, Burton, Ross <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> On 21 July 2016 at 22:51, Vijayakumar Badiger <[email protected] >> <mailto:[email protected]>> 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 >> [email protected] <mailto:[email protected]> >> https://lists.yoctoproject.org/listinfo/yocto >> <https://lists.yoctoproject.org/listinfo/yocto> > >
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
