Hi khem, If possible can check the makefile once and guide me. On Tue, 11 Apr 2023 at 12:50 PM, Khem Raj <[email protected]> wrote:
> On Tue, Apr 11, 2023 at 12:13 AM MOHAMMED HASSAN > <[email protected]> wrote: > > > > Hi Khem, > > Thanks for all your support. > > I added the following lines in my recipe file. > > do_install() { > > install -d ${D}${bindir} > > # install -m 0755 > /home/mohan/amlogic/meta-c/recipes-example/zigbee/files/gecko_sdk_suite/v3.2/build/Z3GatewayHostm/build/exe > ${D} > > install -m 0755 > /home/mohan/amlogic/meta-c/recipes-example/zigbee/files/gecko_sdk_suite/v3.2/build/Z3GatewayHostm/build/exe/hostforEdge3 > ${D}${bindir} > > > # chmod 0755 > /home/mohan/amlogic/meta-c/recipes-example/zigbee/files/gecko_sdk_suite/v3.2/build/Z3GatewayHostm/build/exe/hostforEdge3 > > # cp > /home/mohan/amlogic/meta-c/recipes-example/zigbee/files/gecko_sdk_suite/v3.2/build/Z3GatewayHostm/build/exe/hostforEdge3 > ${D}${bindir} > > > > } > > > > bitbake zigbee works fine but bitbake lib32-amlogic-yocto returns the > error message. > > > > ERROR: lib32-zigbee-0.1-r0 do_package: Fatal errors occurred in > subprocesses: > > Command '['arm-pokymllib32-linux-gnueabi-objcopy', '--only-keep-debug', > '/home/mohan/amlogic/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-zigbee/0.1-r0/package/usr/bin/hostforEdge3', > '/home/mohan/amlogic/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-zigbee/0.1-r0/package/usr/bin/.debug/hostforEdge3']' > returned non-zero exit status 1. > > Subprocess output:arm-pokymllib32-linux-gnueabi-objcopy: > /home/mohan/amlogic/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-zigbee/0.1-r0/package/usr/bin/hostforEdge3: > file format not recognized > > > > ERROR: Logfile of failure stored in: > /home/mohan/amlogic/build/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-zigbee/0.1-r0/temp/log.do_package.246282 > > ERROR: Task > (virtual:multilib:lib32:/home/mohan/amlogic/meta-c/recipes-example/zigbee/zigbee_0.1.bb:do_package) > failed with exit code '1' > > NOTE: Tasks Summary: Attempted 5830 tasks of which 5825 didn't need to > be rerun and 1 failed. > > > > Is it because of the compiler in the makefile? > > you need to build for 32bit as well. I think you are building these > binaries outside yocto and then weirdly mixing the install. So perhaps > that should be fixed first maybe. > > > Is it possible to bypass this error. > > > > Please guide. > > Thanks and Regards, > > Hassan > > > > > > > > > thats >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59674): https://lists.yoctoproject.org/g/yocto/message/59674 Mute This Topic: https://lists.yoctoproject.org/mt/98191767/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
