Hi, I am using Ubuntu 8.10 and I followed the instructions at - http://wiki.openmoko.org/wiki/Toolchain Everything works fine up till the 'Building the sample application segment'. I tried to run as root as well but I was unable to build it. The log is attached for both attempts.
Thanks in advance Rakshat
make all-recursive make[1]: Entering directory `/home/username/openmoko-sample2' Making all in src make[2]: Entering directory `/home/username/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/pixman-1 -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 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 ../libtool: line 807: X--tag=CC: command not found ../libtool: line 840: libtool: ignoring unknown tag : command not found ../libtool: line 807: X--mode=link: command not found ../libtool: line 957: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 958: *** Future versions of Libtool will require -mode=MODE be specified.: command not found ../libtool: line 2245: Xarm-angstrom-linux-gnueabi-gcc: command not found ../libtool: line 1944: X-march=armv4t: command not found ../libtool: line 1944: X-mtune=arm920t: command not found ../libtool: line 2111: X-std=gnu99: command not found ../libtool: line 2111: X-Wall: command not found ../libtool: line 2111: X-pedantic: command not found ../libtool: line 2111: X-std=c99: command not found ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/libmokoui2: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/gtk-2.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/gtk-2.0/include: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/atk-1.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/cairo: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/pango-1.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/glib-2.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/freetype2: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/libpng12: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/pixman-1: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/gconf/2: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/dbus-1.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 2111: X-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include: No such file or directory ../libtool: line 2111: X-fexpensive-optimizations: command not found ../libtool: line 2111: X-fomit-frame-pointer: command not found ../libtool: line 2111: X-frename-registers: command not found ../libtool: line 2111: X-Os: command not found ../libtool: line 1862: X-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib: No such file or directory ../libtool: line 2074: X-Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib: No such file or directory X: user not authorized to run the X server, aborting. ../libtool: line 2074: X-Wl,-O1: command not found X: user not authorized to run the X server, aborting. ../libtool: line 2275: Xopenmoko-sample: command not found X: user not authorized to run the X server, aborting. ../libtool: line 2287: Xopenmoko-sample: command not found ../libtool: line 2509: X-L/home/username/openmoko-sample2/src: No such file or directory ../libtool: line 2427: X-lmokoui2: command not found ../libtool: line 2427: X-lgtk-x11-2.0: command not found ../libtool: line 2427: X-lgdk-x11-2.0: command not found ../libtool: line 2427: X-latk-1.0: command not found ../libtool: line 2427: X-lgdk_pixbuf-2.0: command not found ../libtool: line 2427: X-lpangocairo-1.0: command not found ../libtool: line 2427: X-lpango-1.0: command not found ../libtool: line 2427: X-lcairo: command not found ../libtool: line 2427: X-lgmodule-2.0: command not found ../libtool: line 2427: X-lgconf-2: command not found ../libtool: line 2427: X-ldbus-glib-1: command not found ../libtool: line 2427: X-ldbus-1: command not found ../libtool: line 2427: X-lgobject-2.0: command not found ../libtool: line 2427: X-lglib-2.0: command not found ../libtool: line 2509: X-L/home/username/openmoko-sample2/src: No such file or directory ../libtool: line 2427: X-lmokoui2: command not found ../libtool: line 2427: X-lgtk-x11-2.0: command not found ../libtool: line 2427: X-lgdk-x11-2.0: command not found ../libtool: line 2427: X-latk-1.0: command not found ../libtool: line 2427: X-lgdk_pixbuf-2.0: command not found ../libtool: line 2427: X-lpangocairo-1.0: command not found ../libtool: line 2427: X-lpango-1.0: command not found ../libtool: line 2427: X-lcairo: command not found ../libtool: line 2427: X-lgmodule-2.0: command not found ../libtool: line 2427: X-lgconf-2: command not found ../libtool: line 2427: X-ldbus-glib-1: command not found ../libtool: line 2427: X-ldbus-1: command not found ../libtool: line 2427: X-lgobject-2.0: command not found ../libtool: line 2427: X-lglib-2.0: command not found ../libtool: line 4940: Xccache "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" -o @OUTPUT@ sample-main.o -L/home/username/openmoko-sample2/src -lmokoui2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0: No such file or directory ../libtool: line 4941: Xccache "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" -o @OUTPUT@ sample-main.o -L/home/username/openmoko-sample2/src -lmokoui2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0: No such file or directory X: user not authorized to run the X server, aborting. ../libtool: line 4950: : command not found make[2]: Leaving directory `/home/username/openmoko-sample2/src' Making all in data make[2]: Entering directory `/home/username/openmoko-sample2/data' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/username/openmoko-sample2/data' Making all in po make[2]: Entering directory `/home/username/openmoko-sample2/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/username/openmoko-sample2/po' make[2]: Entering directory `/home/username/openmoko-sample2' make[2]: Leaving directory `/home/username/openmoko-sample2' make[1]: Leaving directory `/home/username/openmoko-sample2'
make all-recursive make[1]: Entering directory `/home/username/openmoko-sample2' Making all in src make[2]: Entering directory `/home/username/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/pixman-1 -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 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 ../libtool: line 807: X--tag=CC: command not found ../libtool: line 840: libtool: ignoring unknown tag : command not found ../libtool: line 807: X--mode=link: command not found ../libtool: line 957: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 958: *** Future versions of Libtool will require -mode=MODE be specified.: command not found ../libtool: line 2245: Xarm-angstrom-linux-gnueabi-gcc: command not found ../libtool: line 1944: X-march=armv4t: command not found ../libtool: line 1944: X-mtune=arm920t: command not found ../libtool: line 2111: X-std=gnu99: command not found ../libtool: line 2111: X-Wall: command not found ../libtool: line 2111: X-pedantic: command not found ../libtool: line 2111: X-std=c99: command not found ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/libmokoui2: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/gtk-2.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/gtk-2.0/include: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/atk-1.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/cairo: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/pango-1.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/glib-2.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/freetype2: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/libpng12: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/pixman-1: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/gconf/2: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/dbus-1.0: No such file or directory ../libtool: line 2111: X-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 2111: X-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include: No such file or directory ../libtool: line 2111: X-fexpensive-optimizations: command not found ../libtool: line 2111: X-fomit-frame-pointer: command not found ../libtool: line 2111: X-frename-registers: command not found ../libtool: line 2111: X-Os: command not found ../libtool: line 1862: X-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib: No such file or directory ../libtool: line 2074: X-Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib: No such file or directory Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. ../libtool: line 2074: X-Wl,-O1: command not found Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. ../libtool: line 2275: Xopenmoko-sample: command not found Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. ../libtool: line 2287: Xopenmoko-sample: command not found ../libtool: line 2509: X-L/home/username/openmoko-sample2/src: No such file or directory ../libtool: line 2427: X-lmokoui2: command not found ../libtool: line 2427: X-lgtk-x11-2.0: command not found ../libtool: line 2427: X-lgdk-x11-2.0: command not found ../libtool: line 2427: X-latk-1.0: command not found ../libtool: line 2427: X-lgdk_pixbuf-2.0: command not found ../libtool: line 2427: X-lpangocairo-1.0: command not found ../libtool: line 2427: X-lpango-1.0: command not found ../libtool: line 2427: X-lcairo: command not found ../libtool: line 2427: X-lgmodule-2.0: command not found ../libtool: line 2427: X-lgconf-2: command not found ../libtool: line 2427: X-ldbus-glib-1: command not found ../libtool: line 2427: X-ldbus-1: command not found ../libtool: line 2427: X-lgobject-2.0: command not found ../libtool: line 2427: X-lglib-2.0: command not found ../libtool: line 2509: X-L/home/username/openmoko-sample2/src: No such file or directory ../libtool: line 2427: X-lmokoui2: command not found ../libtool: line 2427: X-lgtk-x11-2.0: command not found ../libtool: line 2427: X-lgdk-x11-2.0: command not found ../libtool: line 2427: X-latk-1.0: command not found ../libtool: line 2427: X-lgdk_pixbuf-2.0: command not found ../libtool: line 2427: X-lpangocairo-1.0: command not found ../libtool: line 2427: X-lpango-1.0: command not found ../libtool: line 2427: X-lcairo: command not found ../libtool: line 2427: X-lgmodule-2.0: command not found ../libtool: line 2427: X-lgconf-2: command not found ../libtool: line 2427: X-ldbus-glib-1: command not found ../libtool: line 2427: X-ldbus-1: command not found ../libtool: line 2427: X-lgobject-2.0: command not found ../libtool: line 2427: X-lglib-2.0: command not found ../libtool: line 4940: Xccache "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" -o @OUTPUT@ sample-main.o -L/home/username/openmoko-sample2/src -lmokoui2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0: No such file or directory ../libtool: line 4941: Xccache "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" -o @OUTPUT@ sample-main.o -L/home/username/openmoko-sample2/src -lmokoui2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0: No such file or directory Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. ../libtool: line 4950: : command not found make[2]: Leaving directory `/home/username/openmoko-sample2/src' Making all in data make[2]: Entering directory `/home/username/openmoko-sample2/data' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/username/openmoko-sample2/data' Making all in po make[2]: Entering directory `/home/username/openmoko-sample2/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/username/openmoko-sample2/po' make[2]: Entering directory `/home/username/openmoko-sample2' make[2]: Leaving directory `/home/username/openmoko-sample2' make[1]: Leaving directory `/home/username/openmoko-sample2'
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community