<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:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Seems you’re using eclipse plug-in for 1.2 release , so what is the poky tree that you’re using? 1.2 or 1.2.1 release.  I need to reproduce on my local system.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">So to be precise, what bitbake command you’ve been running besides “bitbake meta-ide-support” ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jessica<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<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""> yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
<b>On Behalf Of </b>daniel_norris@selinc.com<br>
<b>Sent:</b> Friday, September 21, 2012 10:10 AM<br>
<b>To:</b> yocto@yoctoproject.org<br>
<b>Subject:</b> [yocto] Yocto ADT Build Errors<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi,</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I've been following the ADT User's Guide and I'm having trouble getting Eclipse to build the Hello World ANSI C Autotools project. I am using a build-system derived toolchain targeting PowerPC.
  </span> <br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I am able to invoke QEMU using NFS, but configuring the project gives me this output on the console:</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Invoking autogen.sh in build directory: /home/daninorr/workspace/Hello</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Command-line environment variables:</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">         CFLAGS=" -g -O0  --sysroot=/data/add_ntp/sdk" CXXFLAGS=" -g -O0  --sysroot=/data/add_ntp/sdk" LDFLAGS=" --sysroot=/data/add_ntp/sdk" CPPFLAGS=" --sysroot=/data/add_ntp/sdk"</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">sh /home/daninorr/workspace/Hello/autogen.sh --with-libtool-sysroot=/data/add_ntp/sdk --target=powerpc-poky-linux --host=powerpc-poky-linux --build=x86_64-linux --with-libtool-sysroot=/data/add_ntp/sdk
</span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure.ac:21: installing './compile'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure.ac:20: installing './config.guess'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure.ac:20: installing './config.sub'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure.ac:16: installing './install-sh'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure.ac:16: installing './missing'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">src/Makefile.am: installing './depcomp'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /home/daninorr/Projects/poky/meta/site/endian-big</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /home/daninorr/Projects/poky/meta/site/powerpc-common</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /home/daninorr/Projects/poky/meta/site/common-linux</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /home/daninorr/Projects/poky/meta/site/common-glibc</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /home/daninorr/Projects/poky/meta/site/powerpc32-linux</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /home/daninorr/Projects/poky/meta/site/powerpc-linux</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /home/daninorr/Projects/poky/meta/site/common</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /data/add_ntp/tmp/sysroots/qemuppc/usr/share/powerpc-poky-linux_config_site.d/ncurses_config</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: loading site script /data/add_ntp/tmp/sysroots/qemuppc/usr/share/powerpc-poky-linux_config_site.d/eglibc_config</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking for a BSD-compatible install... /usr/bin/install -c</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking whether build environment is sane... yes</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking for powerpc-poky-linux-strip... powerpc-poky-linux-strip</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking for a thread-safe mkdir -p... /bin/mkdir -p</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking for gawk... gawk</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking whether make sets $(MAKE)... yes</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking build system type... x86_64-pc-linux-gnu</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking host system type... powerpc-poky-linux-gnu</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking how to print strings... printf</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking for style of include used by make... GNU</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc  -m32 -mhard-float  -mcpu=603e --sysroot=/data/add_ntp/tmp/sysroots/qemuppc</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">checking whether the C compiler works... no</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: error: in `/home/daninorr/workspace/Hello':</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: error: in `/home/daninorr/workspace/Hello':</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: error: C compiler cannot create executables</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure: error: C compiler cannot create executables</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">See `config.log' for more details</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Configuration failed with error</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">The /data/add_ntp/sdk folder is the extracted sysroot .</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">However, I can build the project from the terminal if I source the generated environment-setup-ppc603e-poky-linux file, cd into the workspace and run sh autogen.sh $CONFIGURATION_FLAGS; make.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">config.log has the following errors:</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">root=/data/add_ntp/tmp/sysroots/qemuppc -V >&5</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">powerpc-poky-linux-gcc: error: unrecognized command line option '-V'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">powerpc-poky-linux-gcc: fatal error: no input files</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">configure:3166: powerpc-poky-linux-gcc  -m32 -mhard-float  -mcpu=603e --sys     root=/data/add_ntp/tmp/sysroots/qemuppc -qversion >&5</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">powerpc-poky-linux-gcc: error: unrecognized command line option '-qversion'</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">powerpc-poky-linux-gcc: fatal error: no input files</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">compilation terminated.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Some information about my system:</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">OS: Ubuntu 12.04 64-bit</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Eclipse: 3.7.2</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Yocto ADT Plugin: 1.2.0.201206291757</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Autotools Plugin:  3.0.1.201202152032</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I followed the ADT User's Guide instructions almost verbatim, so I'm not sure if I did something wrong or not.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Thanks!</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-------------------------------------------------------</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Daniel Norris</span>
<o:p></o:p></p>
</div>
</body>
</html>