[poky] compile application header file missing

Gerard van den Bosch gerard at de-haardt.com
Tue Mar 15 03:57:52 PDT 2011


Hello,

I have programmed an application that uses the OpenSLP library and thus 
needs the header file from it.
OpenSLP is already compiled and running fine on the target.

But when I try to compile my application it can't find the header file.
When I print out the CFLAGS with bitbake myimage -e | grep CFLAGS the 
BUILD_CFLAGS point to:
/home/gerard/green-3.3/build/tmp/sysroots/i686-linux/usr/include
The slp.h is indeed missing, but it is located at:
/home/gerard/green-3.3/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/include

How can I change the CFLAGS to look in the other folder or force OpenSLP 
to drop it in the i686 folder?

I have added OpenSLP to my DEPENDS in the recipe, also tried RDEPENDS 
but it didn't solve the problem.

Regards,
Gerard






More information about the poky mailing list