Re: sd-bus.h not found even with DEPENDS += "systemd"


Bel Hadj Salem Talel
 

Hi,

A response came only to me :

Hey Bel,
 
Please remove the libsystemd from your host. It will cause host contamination.
 
You need to tell in your makefile where make can find include path and lib path
 
Normally it should work
 
Include: -I${STAging_incdir}
-L for ld path
 
 
Cheers
So I added

EXTRA_OEMAKE += "-I${STAGING_INCDIR}
to fix the systemd include error.

But I still get the error of :

 /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/wirepas-sink-tool/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/ld: c-mesh-api/lib/build/mesh_api_lib.a: error adding symbols: file in wrong format

I don't know what is the problem.
Help me on this please.

Thanks for your support.


Join yocto@lists.yoctoproject.org to automatically receive all group messages.