[meta-freescale] Error while building my own package

Priya Agarwal priya_agarwal at students.iitmandi.ac.in
Sat Feb 28 06:42:56 PST 2015


Hi,

I want to add a very simple autotools based package to the kernel image
(for freescale's t4240qds board) I built with yocto for testing purposes.

Background: I wrote a simple c++ code, autoconf and automake'd it and
compressed it as tar.bz2 file. Wrote a simple recipe for it. I have
attached both the files.

Problem: When I do bitbake <mypackage>, I get this error.

WARNING: /media/NewVolume/yocto/meta/files/common-licenses/GPL-3.0 could
not be copied for some reason. It may not exist. WARN for now.
ERROR: objcopy failed with exit code 1 (cmd was
'powerpc-fsl_networking-linux-objcopy' --only-keep-debug
'/media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/area/1.0-r0/package/usr/bin/area'
'/media/NewVolume/yocto/build_t4240qds_release/tmp/work/ppce6500-fsl_networking-linux/area/1.0-r0/package/usr/bin/.debug/area')
ERROR: Function failed: split_and_strip_files

I have attached the log file as well. How to get rid of this.
I have less experience with this, so pardon me for silly errors.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150228/81cefbf3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_package.19354
Type: application/octet-stream
Size: 1157 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150228/81cefbf3/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: area_1.0.bb
Type: application/octet-stream
Size: 438 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150228/81cefbf3/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: area-1.0.tar.bz2
Type: application/x-bzip2
Size: 71493 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150228/81cefbf3/attachment-0001.bin>


More information about the meta-freescale mailing list