Hi guys,
I am trying to compile and build an executable for my image file. but
facing issues with the compilation. I tried debugging for the whole day but
no success.
I tried by following this mechanism which I know is not for yocto but it's
somewhat similar.
I got the below error.










*ERROR: zigbee-0.1-r0 do_compile: Execution of
'/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/run.do_compile.333968'
failed with exit code 2ERROR: Logfile of failure stored in:
/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/log.do_compile.333968Log
data follows:| DEBUG: Executing shell function do_compile| make: *** No
targets specified and no makefile found.  Stop.| WARNING: exit code 2 from
a shell command.| ERROR: Execution of
'/home/mohan/amlogic/build/tmp/work/aarch64-poky-linux/zigbee/0.1-r0/temp/run.do_compile.333968'
failed with exit code 2ERROR: Task
(/home/mohan/amlogic/meta-c/recipes-example/zigbee/zigbee_0.1.bb:do_compile)
failed with exit code '1'NOTE: Tasks Summary: Attempted 553 tasks of which
545 didn't need to be rerun and 1 failed.NOTE: Writing buildhistoryNOTE:
Writing buildhistory took: 5 seconds*

I have attached my makefile and my zigbee_0.1.bb file for your reference.
What changes do I need to make for a successful build? The make command
works fine in its current directory, but throws the above error in the
do_compile block.
My kernel toolchain:aarch64-poky-linux-gcc (64-bit)
My application toolchain(32bit)- arm-pokymllib32-linux-gnueabi-gcc
My application toolchain(64bit)- aarch64-poky-linux-gcc

Thanks and Regards,
Hassan

Attachment: Makefile
Description: Binary data

Attachment: zigbee_0.1.bb
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59630): https://lists.yoctoproject.org/g/yocto/message/59630
Mute This Topic: https://lists.yoctoproject.org/mt/98104663/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to