From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: sd-bus.h not found even with DEPENDS += "systemd" To: yocto@lists.yoctoproject.org From: "Bel Hadj Salem Talel" X-Originating-Location: TN (197.27.17.252) X-Originating-Platform: Linux Firefox 80 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sun, 27 Sep 2020 05:42:02 -0700 References: <1379.1601150310877010917@lists.yoctoproject.org> In-Reply-To: <1379.1601150310877010917@lists.yoctoproject.org> Message-ID: <17472.1601210522746442997@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="nBa6Pft8uxyiayQS4ren" --nBa6Pft8uxyiayQS4ren Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, A response came only to me : >=20 > Hey Bel, >=20 > Please remove the libsystemd from your host. It will cause host > contamination. >=20 > You need to tell in your makefile where make can find include path and l= ib > path >=20 > Normally it should work >=20 > Include: -I${STAging_incdir} > -L for ld path >=20 >=20 > Cheers >=20 So I added EXTRA_OEMAKE +=3D "-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-sin= k-tool/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexe= c/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. --nBa6Pft8uxyiayQS4ren Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi,

A response came only to me :

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

EXTRA_OEMAKE +=3D "-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-pok= y-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 form= at

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

Thanks for your support.


--nBa6Pft8uxyiayQS4ren--