Hi khem,
I didn’t understand your last reply. Please guide.
On Tue, 11 Apr 2023 at 1:46 PM, MOHAMMED HASSAN via lists.yoctoproject.org
<hassanchattarki=gmail....@lists.yoctoproject.org> wrote:

> Hi khem,
> If possible can check the makefile once and guide me.
>
> On Tue, 11 Apr 2023 at 12:50 PM, Khem Raj <raj.k...@gmail.com> wrote:
>
>> On Tue, Apr 11, 2023 at 12:13 AM MOHAMMED HASSAN
>> <hassanchatta...@gmail.com> 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 (#59675): https://lists.yoctoproject.org/g/yocto/message/59675
Mute This Topic: https://lists.yoctoproject.org/mt/98191767/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to