*snip*

> > This is a different error. There seems to be a mismatch between your
> > toolchain and rootfs. Could you please share the full name of
> > 
> > my_built_image.tar.gz from
> > 
> > runqemu-extract-sdk <my_built_image.tar.gz>
> > <sysroot_destination_directory>"
> > 
> 
> I have been able to get things to build, but not exactly in a suggested 
> manner.  I copied the entire target sysroot directory 
> (~/poky/poky_build/tmp/sysroots/at91sam9x5ek) to the previously mentioned 
> sysroot destination directory.  I re-ran "bitbake meta-ide-support" just to 
> ensure I had a clean copy.  I then modified the SDKTARGETSYSROOT to point to 
> my copied sysroot location.  With this setup, I was able to get the project 
> to build from Eclipse.  It's working, but it's a little ugly getting there.
> 

core-image-minimal builds a very small image, which doesn't have all
headers and libraries required to link even a simple binary

> So I'm assuming I'm starting at the wrong point for the sysroot to extract.  
> What do other people do? 

You have two options here:

1) Generate a standalone toolchain and sdk installer.

bitbake -c populate_sdk your_image_name

This will generate an installer script-tarball in
~/poky/poky_build/tmp/deploy/sdk/

Execute this script and follow the installation instructions. This will
extract both the toolchain and sysroot to a directory of your choice
(e.g. /opt/poky/1.6.2/).

When you configure the Yocto ADT plugin in Eclipse, select "Standalone
pre-built toolchain" before you point it to the sysroot and toolchain
directories created by the installer above. 
 

2) Base your image on one of the development images (e.g.
core-image-minimal-dev)

Cheers,
Todor



Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to