Build using wiki/Toolchain instructions failing...

Steven ** montgoss at gmail.com
Thu Jul 24 02:39:04 CEST 2008


I had this same error when trying to use the latest toolchain.  My
solution: don't use the latest toolchain.  I'm using the 20071211
build from http://downloads.openmoko.org/toolchains/.  It seems to
work just fine.  Not sure what's new in the 20071228 build.  Haven't
tried it.  But the 20080521 build doesn't work for me.

Actually, the only way I could even get as far as you got to the pango
error was to build the toolchain using MokoMakefile.  Just using the
latest toolchain wouldn't even get that far.

-Steven

On Tue, Jul 22, 2008 at 11:14 PM, Kent Yoder <shpedoikal at gmail.com> wrote:
> Hi,
>
>  I'm attempting to build a sample app following these [1]
> instructions -- all is well until the 'make' step:
>
> =========
> key at linux-2ex0:~/openmoko-sample2> make
> make  all-recursive
> make[1]: Entering directory `/home/key/openmoko-sample2'
> Making all in src
> make[2]: Entering directory `/home/key/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/key/openmoko-sample2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/key/openmoko-sample2'
> make: *** [all] Error 2
> key at linux-2ex0:~/openmoko-sample2>
> ==========
>
> The "/space/fic..." path seems to be coming from
> /usr/local/openmoko/arm/etc/opkg-sdk.conf, but there are no
> instructions to edit this on the wiki...
>
> Any help much appreciated.  This is an opensuse 11 system.
>
> Thanks,
> Kent
>
> [1] http://wiki.openmoko.org/wiki/Toolchain
>
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
>




More information about the devel mailing list