<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The offending script that caused this error for me is something called om-launch.sh (I don't think I renamed it). I had tried out the "emulation" before building the toolchain and the shell script seemed to muck things up a bit. Again, starting with a fresh shell resolved everything.<div><br></div><div>Chris</div><div><br><div><div>On Jul 11, 2008, at 11:04 AM, Łukasz Holetzke wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi, got my FR, now I want do build openmoko-sample on my machine and execute it on FR.<br>I've read <a href="http://www.openmoko.org/wiki/Toolchain">http://www.openmoko.org/wiki/Toolchain</a> and done step by step these instructions.<br> I having troubles with ./autogen.sh. In the configure part, I've got:<br>configure: loading site script /usr/local/openmoko/arm/site-config<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br> checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking whether to enable maintainer-specific portions of Makefiles... yes<br>checking for style of include used by make... GNU<br> checking for gcc... ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... configure: error: cannot run C compiled programs.<br> If you meant to cross compile, use `--host'.<br>See `config.log' for more details.<br><br>Okay, no host. Then I run (or I'm doing something wrong)<br>./configure --host=i686-pc-linux-gnu &amp;&amp; make<br>After that:<br> <br>/bin/sh ../libtool --tag=CC&nbsp;&nbsp; --mode=link ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -std=gnu99 -Wall -pedantic -std=c99 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/libmokoui2 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/gtk-2.0 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/gtk-2.0/include -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/atk-1.0 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/cairo -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/pango-1.0 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/freetype2 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/libpng12 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/gconf/2 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/dbus-1.0 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include&nbsp;&nbsp; -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os&nbsp; -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1 -o openmoko-sample sample-main.o -lmokoui2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0&nbsp;&nbsp; <br> mkdir .libs<br>libtool: link: cannot find the library `/space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/pango-1.18.3-r0/pango-1.18.3/pango/<a href="http://libpangoft2-1.0.la">libpangoft2-1.0.la</a>' or unhandled argument `/space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/pango-1.18.3-r0/pango-1.18.3/pango/<a href="http://libpangoft2-1.0.la">libpangoft2-1.0.la</a>'<br> make[2]: *** [openmoko-sample] Błąd 1<br>make[2]: Opuszczenie katalogu `/home/goldie/moko/projects/openmoko-sample/src'<br>make[1]: *** [all-recursive] Błąd 1<br>make[1]: Opuszczenie katalogu `/home/goldie/moko/projects/openmoko-sample'<br> make: *** [all] Błąd 2<br><br>Using gentoo, if you need more info, please ask for it.<br> _______________________________________________<br>Openmoko community mailing list<br><a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>http://lists.openmoko.org/mailman/listinfo/community<br></blockquote></div><br></div></body></html>