Hi Quentin, Thanks for your reply. I was able to compile create the executable file but faced issues at the final stage. I only get error at the do_pack stage.
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:d o_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5830 tasks of which 5825 didn't need to be rerun
and 1 failed.
Actually I am completely new to yocto so I am finding it difficult debug.
Is it because of the compiler in the makefile?
Is it possible to bypass this error.
Please guide and support me.
Thanks and Regards,
Hassan
log.do_package
Description: Binary data
zigbee_0.1.bb
Description: Binary data
Makefile
Description: Binary data
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59678): https://lists.yoctoproject.org/g/yocto/message/59678 Mute This Topic: https://lists.yoctoproject.org/mt/98104663/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
