[yocto] How to add a library header file in yocto project

Khem Raj raj.khem at gmail.com
Tue Apr 21 23:55:21 PDT 2015


Waqas

On Tue, Apr 21, 2015 at 11:34 PM, waqas shafique
<m.waqas.shafique at gmail.com> wrote:
> I'm trying to write a code using BlueZ API and Yocto , one C function I'm
> using has deceleration defined in hci_lib.h which is located at
>
> /poky/build/tmp/work/armv5te-poky-linux-gnueabi/bluez4/4.101-r5/bluez-4.101/lib
>
> Can you tell me how can I include this header file in my Yocto project
> recipe ?

If bluez is not exporting this header as part of its APIs meaning make
install is not installing it into staging
then they dont want you to use this function. So please take it up
with bluez community if its appropriate
to use this header files and functions inside it. If its supposed to
be exported APIs then there is a bug
in bluez component build system. Either way they should be able to tell you.

>
> My build process is not looking at above location and gives me undefined
> reference error.
>
> Regards
> Waqas
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list