<div dir="ltr">I'm having this same exact problem on SuSE 11. I don't have any other scripts being ran, and opening a brand new terminal, running <br>'/usr/local/openmoko/arm/setup-env', then attempting to run 'make' produce the error. I also had to use "autogen.sh --host=" but I used arm-angstrom-linux-gnueabi instead of i686-pc-linux-gnu.<br>
<br>Suggestions, anyone?<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">stephen@home:~/moko/openmoko-sample2> make<br>make all-recursive<br>
make[1]: Entering directory `/home/stephen/moko/openmoko-sample2'<br>Making all in src<br>make[2]: Entering directory `/home/stephen/moko/openmoko-sample2/src'<br>/bin/sh ../libtool --tag=CC --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 -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -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<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] Error 1<br>make[2]: Leaving directory `/home/stephen/moko/openmoko-sample2/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/stephen/moko/openmoko-sample2'<br>
make: *** [all] Error 2<br></blockquote><br>-Stephen<br><br><div class="gmail_quote">On Fri, Jul 11, 2008 at 3:23 PM, C R McClenaghan <<a href="mailto:chris@mcclenaghan.com">chris@mcclenaghan.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">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 class="Ih2E3d"><div>On Jul 11, 2008, at 11:04 AM, Łukasz Holetzke wrote:</div><br></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">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" target="_blank">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 && make<br>After that:<br> <br>/bin/sh ../libtool --tag=CC --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 -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -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 <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" target="_blank">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" target="_blank">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></div></div><div class="Ih2E3d"> _______________________________________________<br>Openmoko community mailing list<br><a href="mailto:community@lists.openmoko.org" target="_blank">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br></div></blockquote></div><br></div></div><br>_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>