<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:Monospace;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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>All,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve had very mixed results during the three or four times I’ve run through the ADT manual from scratch. There seems to be a real problem I keep encountering that I’d like to describe to the community with the hope that someone understands why I keep getting stuck. I’m running a 32bit Ubuntu 11.10 VM and trying to build for a x86_64 sugarbay target machine.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The issue is that no matter which “route” I take to setup my toolchain (be it via the installer script or a premade toolchain I’ve downloaded) I always get “configure: error: C compiler cannot create executables” when I try to use Project->Reconfigure Project after starting a new HelloWorld example in Eclipse. The ADT manual explicitly steps the user through to this point but using the Reconfigure Project feature (that puts together your Makefile for you) never completes. When looking closer at the config.log I always find something that looks like this: <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>configure:3285: $? = 0<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>configure:3274: x86_64-poky-linux-gcc -v >&5<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>Using built-in specs.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>COLLECT_GCC=x86_64-poky-linux-gcc<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>COLLECT_LTO_WRAPPER=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/lto-wrapper<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>Target: x86_64-poky-linux<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>Configured with: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/work-shared/gcc-4.6.2+svnr181430-r17/gcc-4_6-branch/configure --build=x86_64-linux --host=i686-pokysdk-linux --target=x86_64-poky-linux --prefix=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr --exec_prefix=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr --bindir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/bin/x86_64-poky-linux --sbindir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/bin/x86_64-poky-linux --libexecdir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/libexec/x86_64-poky-linux --datadir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/share --sysconfdir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/etc --sharedstatedir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/com --localstatedir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/var --libdir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/lib/x86_64-poky-linux --includedir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/include --oldincludedir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/include --infodir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/share/info --mandir=/opt/poky/1.1.1/sysroots/i686-pokysdk-linux/usr/share/man --disable-silent-rules --with-libtool-sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/sysroots/i686-pokysdk-linux-nativesdk --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=x86_64-poky-linux- --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap --enable-cheaders=c_global --with-local-prefix=/opt/poky/1.1.1/sysroots/x86_64-poky-linux/usr --with-gxx-include-dir=/usr/include/c++ --with-build-time-tools=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/sysroots/x86_64-linux/usr/x86_64-poky-linux/bin --with-sysroot=/opt/poky/1.1.1/sysroots/x86_64-poky-linux --with-build-sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/sysroots/qemux86-64 --disable-libunwind-exceptions --disable-libssp --disable-libgomp --disable-libmudflap --with-mpfr=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/sysroots/i686-pokysdk-linux-nativesdk --with-mpc=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/sysroots/i686-pokysdk-linux-nativesdk --enable-nls --enable-__cxa_atexit<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>Thread model: posix<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>gcc version 4.6.3 20111117 (prerelease) (GCC) <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>configure:3285: $? = 0<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>configure:3274: x86_64-poky-linux-gcc -V >&5<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>x86_64-poky-linux-gcc: error: unrecognized option '-V'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>x86_64-poky-linux-gcc: fatal error: no input files<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>compilation terminated.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>configure:3285: $? = 1<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>configure:3274: x86_64-poky-linux-gcc -qversion >&5<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>x86_64-poky-linux-gcc: error: unrecognized option '-qversion'<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Monospace'>x86_64-poky-linux-gcc: fatal error: no input files<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'>compilation terminated.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'>I’ve tried to figure out what this error means but haven’t had any luck. People have made some suggestions that I’ve tried and they haven’t worked either. So, I’ve been told to file a bug about this but I wasn’t sure which category it goes under and I’ve never filed a bug in the Yocto project before. I’ll try to get to it this week.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'>In the meantime, if anyone has tried to get through the ADT manual and is cross compiling I’d love to hear about how it went for you.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'>~Andy Gikling<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Monospace'>LasX Industries Inc.</span><o:p></o:p></p></div></body></html>