<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:34163596;
mso-list-type:hybrid;
mso-list-template-ids:1811064968 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1
{mso-list-id:737168198;
mso-list-type:hybrid;
mso-list-template-ids:526534940 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l2
{mso-list-id:842820700;
mso-list-type:hybrid;
mso-list-template-ids:-1868264150 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l2:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l2:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l2:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>I am using Intel Atom n450, not ARM. I have built three images using atom-pc for the BSP and core-image-sato-dev, core-image-sato, and core-image-sato-sdk for the base images. All the images are in the build directory. Using Hob, I set the Build Toolchain for each build to be x86_64 in the Advanced configuration. The images build and run.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>To setup the application development environment<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Used Bitbake adt-installer – the ADT installer was in the tmp/deploy/sdk folder. (I also downloaded the ADT and extracted the tarball with the same result.)<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Extracted the ADT tarball.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Change the adt_intstaller.conf file to <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>YOCTOADT_TARGETS=”x86_64”<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>QEMU and NFS are set to Y<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>YOCTOADT_ROOTFS_x86_64=”sato-sdk”<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>YOCTOADT_TARGET_SYSROOT_IMAGE_ x86_64=”sato-sdk”<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>YOCTOADT_TARGET_SYSROOT_LOC_ x86_64=”$HOME/Yocto1.3/test-yocto/x86_64”<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I commented out the other settings for the ARM.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>4.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Ran the ADT installer. It looks like the QEMU rootfs gets installed in the $HOME/Yocto1.3/test-yocto/x86_64. As a test I changed this out with the rootfs built from one of the images. In either case the issue was the same<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>5.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Installed Eclipse JUNO<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>6.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Setup the Eclipse plugins per instructions<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>7.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Setup the ADT parameters to point to the Toolchain Root Location and Sysroot location. An error would occur if I don’t get these right.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l2 level1 lfo3'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>8.<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>Created the applications and tried to compile with the errors.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Am I supposed to bitbake meta-ide-support?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Sean Liming<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Owner<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Annabooks<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Tel: 714-970-7523 / Cell: 858-774-3176<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Georgescu, Alexandru C [mailto:alexandru.c.georgescu@intel.com] <br><b>Sent:</b> Friday, November 09, 2012 9:24 AM<br><b>To:</b> Sean Liming; yocto@yoctoproject.org<br><b>Subject:</b> RE: [yocto] Cannot Compile Application in Eclipse IDE Juno<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>ADT installs by default not only the toolchain, but also the sysroot (ADT have to be configured and installed by matching your target architecture). It asks you where to install the tooclhain, but the sysroot is installed by default in this location: YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/arm".<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>That parameter can be found in adt-installer/adt_installer.conf.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Basically, to deploy an app to your target using Eclipse, you have to specify 3 parameters: <o:p></o:p></span></p><p class=MsoNormal style='text-indent:.5in'><span style='color:#1F497D'> “Toolchain Root Location”, “Sysroot location” and configure the Target options.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Use the “Toolchain Root Location” as location where you have installed the ADT, and the Sysroot Location as specified in the adt_installer.conf. ADT needs the first two params in order to build you app locally. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>“runqemu-extract-sdk” is used to extract the qemu tarball that can be used as sysroot location. More details about the ADT tools are found at the same location: </span><a href="http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html">http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html</a>.<span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><div><p class=MsoNormal><b><span style='font-size:8.0pt;color:#7F7F7F'>--<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.0pt;color:#7F7F7F'>Alexandru Georgescu<o:p></o:p></span></b></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Sean Liming [<a href="mailto:sean.liming@annabooks.com">mailto:sean.liming@annabooks.com</a>] <br><b>Sent:</b> Friday, November 09, 2012 18:38<br><b>To:</b> Georgescu, Alexandru C; <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br><b>Subject:</b> RE: [yocto] Cannot Compile Application in Eclipse IDE Juno<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Do I have to use Qemu? Can I use my target’s rootfs? <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If I can use my target’s rootfs, how do I extract the SDK? runqemu-extract-sdk?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Sean Liming<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Owner<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Annabooks<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Tel: 714-970-7523 / Cell: 858-774-3176<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Georgescu, Alexandru C <a href="mailto:[mailto:alexandru.c.georgescu@intel.com]">[mailto:alexandru.c.georgescu@intel.com]</a> <br><b>Sent:</b> Friday, November 09, 2012 8:21 AM<br><b>To:</b> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br><b>Cc:</b> Sean Liming<br><b>Subject:</b> RE: [yocto] Cannot Compile Application in Eclipse IDE Juno<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>Hi Sean,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>There may be a problem with your sysroot setup. Please make sure you have set it correctly by following the tutorial from here: <a href="http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#extracting-the-root-filesystem">http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#extracting-the-root-filesystem</a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><div><p class=MsoNormal><b><span style='font-size:8.0pt;color:#7F7F7F'>--<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.0pt;color:#7F7F7F'>Alexandru Georgescu<o:p></o:p></span></b></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:yocto-bounces@yoctoproject.org">yocto-bounces@yoctoproject.org</a> [<a href="mailto:yocto-bounces@yoctoproject.org">mailto:yocto-bounces@yoctoproject.org</a>] <b>On Behalf Of </b>Sean Liming<br><b>Sent:</b> Friday, November 09, 2012 08:37<br><b>To:</b> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br><b>Subject:</b> [yocto] Cannot Compile Application in Eclipse IDE Juno<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Yocto 1.3 Danny<o:p></o:p></p><p class=MsoNormal>Target: n450 Black Sand<o:p></o:p></p><p class=MsoNormal>Eclipse: Juno C/C++ Developers<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>After going through the steps to setup the ADT and Eclipse plugin, I am trying to compile the Hello World application based on the Hello World ANSI C Autotools Project type. I think I have the ADT Preference set correctly. It is not complaining about a missing tool chain.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Compiling results in errors:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Compiler cannot create executable in /home/sean/workspace/HelloADT – Configuration problem<o:p></o:p></p><p class=MsoNormal>Make *** No rules to make target ‘all’ – C/C++ problem<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What am I missing?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sean <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>