[meta-freescale] Error while building my own package
otavio at ossystems.com.br
Sat Feb 28 06:51:23 PST 2015
On Sat, Feb 28, 2015 at 11:42 AM, Priya Agarwal
<priya_agarwal at students.iitmandi.ac.in> wrote:
> 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
> ERROR: Function failed: split_and_strip_files
The splitting of symbols has failed. As explicit said in the error log.
I advise you to use a SDK (or a minimal toolchain if this suvise) for
you to build it locally before integrating it into your layer.
Some possible issues might be:
* already stripped binaries
* binaries being generated without symbols due build flags
Regarding to your post, please next time put the files somewhere (and
maybe use a pastetool aka pastebin) so you avoid sending attachments.
Attachments should be avoided as much as possible, except if you are
explicitly asked to attach something.
Otavio Salvador O.S. Systems
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale