Hi team, I am trying to build an executable for my yocto dunfell. I am new to yocto so dont have much knowledge on this. I am running to commands presently. $ bitbake zigbee (builds successfully). $ bitbake lib32-amlogic-yocto (do_package error). The error message is
*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 recognizedERROR: 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.31632ERROR: 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 6233 tasks of which 6220 didn't need to be rerun and 1 failed.* I tried file command on the executable file and this is the result. *$ file /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/hostforEdge3: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-aarch64.so.1, BuildID[sha1]=2533a98d31a7a00404b3ecf98cc24e43aafd3b33, for GNU/Linux 3.14.0, with debug_info, not stripped* *$ file /home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/package/usr/bin/hostforEdge3* */home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/package/usr/bin/hostforEdge3: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-aarch64.so.1, BuildID[sha1]=2533a98d31a7a00404b3ecf98cc24e43aafd3b33, for GNU/Linux 3.14.0, stripped* I have attached the bb file, makefile and logs for your reference. Also I am not sure how to add the proper compiler,linker,archive flags to the makefile. If possible please guide me on that as well. Thanks and Regards, Hassan
Makefile
Description: Binary data
zigbee_0.1.bb
Description: Binary data
log.do_package
Description: Binary data
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59688): https://lists.yoctoproject.org/g/yocto/message/59688 Mute This Topic: https://lists.yoctoproject.org/mt/98214685/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
