<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.2">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I'd like to see if I can compile couple of programs for om<BR>
<BR>
I followed instructions on the wiki,<BR>
(yes, installed listed dependencies and run setup-env)<BR>
<BR>
when $&gt; om-conf openmoko-sample2<BR>
<BR>
after some passes, i got:<BR>
<BR>
checking for C compiler default output file name... <BR>
configure: error: C compiler cannot create executables<BR>
See `config.log' for more details.<BR>
FATAL: oe_runconf failed<BR>
<BR>
$&gt; cat openmoko-sample2/config.log&nbsp; | grep -ni 'gcc' <BR>
<BR>
gives:<BR>
<BR>
89:| #gcc-zlib<BR>
183:| #gcc<BR>
214:configure:2573: checking for arm-angstrom-linux-gnueabi-gcc<BR>
215:configure:2600: result: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t<BR>
217:configure:2885: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t --version &gt;&amp;5<BR>
218:/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error<BR>
220:configure:2895: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -v &gt;&amp;5<BR>
221:/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error<BR>
223:configure:2905: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -V &gt;&amp;5<BR>
<FONT COLOR="#ff0000">224:/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error</FONT><BR>
227:configure:2958: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1 conftest.c&nbsp; &gt;&amp;5<BR>
228:/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error<BR>
263:ac_cv_env_CC_value='ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t'<BR>
269:ac_cv_env_CPP_value='arm-angstrom-linux-gnueabi-gcc -E'<BR>
331:ac_cv_prog_CC='ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t'<BR>
423:CC='ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t'<BR>
426:CPP='arm-angstrom-linux-gnueabi-gcc -E'<BR>
<BR>
other relevant portion is:<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
configure:2958: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm92
0t -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensiv
e-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1 conftest.c  &gt;&amp;5
/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error
configure:2961: $? = 1
configure:2999: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME &quot;openmoko-sample&quot;
| #define PACKAGE_TARNAME &quot;openmoko-sample&quot;
| #define PACKAGE_VERSION &quot;0.0.1&quot;
| #define PACKAGE_STRING &quot;openmoko-sample 0.0.1&quot;
| #define PACKAGE_BUGREPORT &quot;http://www.openmoko.org/&quot;
| #define PACKAGE &quot;openmoko-sample&quot;
| #define VERSION &quot;0.0.1&quot;
| /* end confdefs.h.  */

| int
| main ()
| {

|   ;
|   return 0;
| }
configure:3006: error: C compiler cannot create executables
See `config.log' for more details.
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
something missing in the setup-env?<BR>
any clue in the right direction is appreciated,<BR>
<BR>
Thank you,<BR>
<BR>
Andres<BR>
<BR>
<BR>
</BODY>
</HTML>