Re: Openmoko toolchain error
> > > > $ file /usr/lib/libmokoui2.so > > check file format. It should be arm. > > BTW, what are u building right now? > -- > Daniel.Li > PALFocus (http://palfocus.oicp.net) It works now if I run it without using sudo. Was just trying the sample app in http://wiki.openmoko.org/wiki/Toolchain for now. Thanks Rakshat ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Openmoko toolchain error
On Sat, 2009-03-21 at 10:02 +0530, rakshat hooja wrote: > /usr/lib/libmokoui2.so: could not read symbols: File in wrong format > collect2: ld returned 1 exit status > make[2]: *** [openmoko-sample] Error 1 > make[2]: Leaving directory `/home/shakti/openmoko-sample2/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/shakti/openmoko-sample2' > make: *** [all] Error 2 $ file /usr/lib/libmokoui2.so check file format. It should be arm. BTW, what are u building right now? -- Daniel.Li PALFocus (http://palfocus.oicp.net) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Openmoko toolchain error
After re looking at the wiki (thanks to Jozef's suggestion) I used the unofficial libtool. That problem seems to be solved Now i have the following error (full log attached) /usr/lib/libmokoui2.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[2]: *** [openmoko-sample] Error 1 make[2]: Leaving directory `/home/shakti/openmoko-sample2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/shakti/openmoko-sample2' make: *** [all] Error 2 If i understand this correctly my libmokoui2-dev package may be corrupted? Should i download this also from another source? Thanks for your help Rakshat On Sat, Mar 21, 2009 at 1:24 AM, Shaz wrote: > > On Fri, Mar 20, 2009 at 8:02 PM, rakshat hooja wrote: > >> >> 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. >> > > Path to the toolchain is giving problems. Are you sure that openmoko > toolchain is present and all the required headers and libraries are where > they should be. Did the opkg-target update work? If it did work then its > something else. > > I use the toolchains alot on Ubunut 8.10 and 8.04 and I never had such a > problem although never tried the sample application :) > > >> >> Thanks in advance >> >> Rakshat >> >> >> >> >> >> >> >> ___ >> Openmoko community mailing list >> community@lists.openmoko.org >> http://lists.openmoko.org/mailman/listinfo/community >> >> > > > -- > Shaz > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > -- -- Please use Firefox as your web browser. Its protects you from spyware and is also a very feature rich browser. www.firefox.com make.log Description: Binary data ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Openmoko toolchain error
On Fri, Mar 20, 2009 at 8:02 PM, rakshat hooja wrote: > > 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. > Path to the toolchain is giving problems. Are you sure that openmoko toolchain is present and all the required headers and libraries are where they should be. Did the opkg-target update work? If it did work then its something else. I use the toolchains alot on Ubunut 8.10 and 8.04 and I never had such a problem although never tried the sample application :) > > Thanks in advance > > Rakshat > > > > > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > -- Shaz ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Openmoko toolchain error
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 n