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 '/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.
Suggestions, anyone? [EMAIL PROTECTED]:~/moko/openmoko-sample2> make > make all-recursive > make[1]: Entering directory `/home/stephen/moko/openmoko-sample2' > Making all in src > make[2]: Entering directory `/home/stephen/moko/openmoko-sample2/src' > /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 > 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/ > libpangoft2-1.0.la' or unhandled argument > `/space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/pango-1.18.3-r0/pango-1.18.3/pango/ > libpangoft2-1.0.la' > make[2]: *** [openmoko-sample] Error 1 > make[2]: Leaving directory `/home/stephen/moko/openmoko-sample2/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/stephen/moko/openmoko-sample2' > make: *** [all] Error 2 > -Stephen On Fri, Jul 11, 2008 at 3:23 PM, C R McClenaghan <[EMAIL PROTECTED]> wrote: > 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. > Chris > > On Jul 11, 2008, at 11:04 AM, Łukasz Holetzke wrote: > > Hi, got my FR, now I want do build openmoko-sample on my machine and > execute it on FR. > I've read http://www.openmoko.org/wiki/Toolchain and done step by step > these instructions. > I having troubles with ./autogen.sh. In the configure part, I've got: > configure: loading site script /usr/local/openmoko/arm/site-config > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... yes > checking for style of include used by make... GNU > checking for gcc... ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t > -mtune=arm920t > checking for C compiler default output file name... a.out > checking whether the C compiler works... configure: error: cannot run C > compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > > Okay, no host. Then I run (or I'm doing something wrong) > ./configure --host=i686-pc-linux-gnu && make > After that: > > /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 > mkdir .libs > 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/ > libpangoft2-1.0.la' or unhandled argument > `/space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/pango-1.18.3-r0/pango-1.18.3/pango/ > libpangoft2-1.0.la' > make[2]: *** [openmoko-sample] Błąd 1 > make[2]: Opuszczenie katalogu > `/home/goldie/moko/projects/openmoko-sample/src' > make[1]: *** [all-recursive] Błąd 1 > make[1]: Opuszczenie katalogu `/home/goldie/moko/projects/openmoko-sample' > make: *** [all] Błąd 2 > > Using gentoo, if you need more info, please ask for it. > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community > > > > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community > >
_______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

