Re: Problems with building openmoko-sample with toolchain
Thanks, I'm going to try this. But I just don't understand, I'd think having a working toolchain would be a high priority. -Stephen On Tue, Jul 22, 2008 at 4:06 AM, Andreas Dalsgaard < [EMAIL PROTECTED]> wrote: > 2008/7/22 Dylan Reilly <[EMAIL PROTECTED]>: > >> Haven't been able to get the patch to work, I had to modify it to use > the > >> right paths, but then all hunks fail still. > > > >> Why isn't the toolchain in a working state? How is anyone doing > development? > >> I've been playing around with it but I still can't get the sample > project to > >> compile. > > > > I am also having difficulties. I made a valiant effort to replace all > > the erroneous > > references in all the .la files in > > /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib > > but that sort of thing rarely goes well when one is not familiar with > > the system. > > > > Are there any tool chains available with correct references, a fixed > patch for > > the current one, or etc.? I have some ideas I really want to start > hacking out. > > > > I have been working on an Ubuntu package of the toolchain. I'm > currently testing it but if anyone want to help out take a look at: > > http://andreasdalsgaard.blogspot.com/2008/07/openmoko-development-in-5-minutes.html > > At the moment the package fixes the .la problem with an "evil hack" > that make the compilation process use an alternative libtool script. > Actually I would like to have ./configure pick up the LIBTOOL > enviroment variable instead but I have not figured that part out yet, > however I believe this might require another autoconf package. > > > -- > > Dylan Maxwell Reilly > > > > ___ > > Openmoko community mailing list > > community@lists.openmoko.org > > http://lists.openmoko.org/mailman/listinfo/community > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
2008/7/22 Dylan Reilly <[EMAIL PROTECTED]>: >> Haven't been able to get the patch to work, I had to modify it to use the >> right paths, but then all hunks fail still. > >> Why isn't the toolchain in a working state? How is anyone doing development? >> I've been playing around with it but I still can't get the sample project to >> compile. > > I am also having difficulties. I made a valiant effort to replace all > the erroneous > references in all the .la files in > /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib > but that sort of thing rarely goes well when one is not familiar with > the system. > > Are there any tool chains available with correct references, a fixed patch for > the current one, or etc.? I have some ideas I really want to start hacking > out. > I have been working on an Ubuntu package of the toolchain. I'm currently testing it but if anyone want to help out take a look at: http://andreasdalsgaard.blogspot.com/2008/07/openmoko-development-in-5-minutes.html At the moment the package fixes the .la problem with an "evil hack" that make the compilation process use an alternative libtool script. Actually I would like to have ./configure pick up the LIBTOOL enviroment variable instead but I have not figured that part out yet, however I believe this might require another autoconf package. > -- > Dylan Maxwell Reilly > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
> Haven't been able to get the patch to work, I had to modify it to use the > right paths, but then all hunks fail still. > Why isn't the toolchain in a working state? How is anyone doing development? > I've been playing around with it but I still can't get the sample project to > compile. I am also having difficulties. I made a valiant effort to replace all the erroneous references in all the .la files in /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib but that sort of thing rarely goes well when one is not familiar with the system. Are there any tool chains available with correct references, a fixed patch for the current one, or etc.? I have some ideas I really want to start hacking out. -- Dylan Maxwell Reilly ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
Haven't been able to get the patch to work, I had to modify it to use the right paths, but then all hunks fail still. Why isn't the toolchain in a working state? How is anyone doing development? I've been playing around with it but I still can't get the sample project to compile. On Fri, Jul 18, 2008 at 7:33 AM, Derick Rethans <[EMAIL PROTECTED]> wrote: > On Fri, 18 Jul 2008, smurfy - phil wrote: > > > hey, i also encountered the pango error and after that some other not > > found libaries. > > The problem is, that the libs are actually there but the .la files are > > incorrect. > > > > here a copy of a mailinglist post from me some days ago: > > > > - > > for people with the same problem, > > > > i fixed it for myself. > > > > some of the .la files in the > > /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib directory are > > wrong. > > i had to modify this files to get panel-wifi compile: > > > > libgio-2.0.la > > libgmodule-2.0.la > > libgobject-2.0.la > > libgthread-2.0.la > > libpangocairo-1.0.la > > > > simple changed all > > /space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/ > > stuff > > > > to /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib > > - > > I've a patch for this here: > > http://files.derickrethans.nl/patches/openmoko-toolchain-2008-07-18.diff.txt > > regards, > Derick > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
On Fri, 18 Jul 2008, smurfy - phil wrote: > hey, i also encountered the pango error and after that some other not > found libaries. > The problem is, that the libs are actually there but the .la files are > incorrect. > > here a copy of a mailinglist post from me some days ago: > > - > for people with the same problem, > > i fixed it for myself. > > some of the .la files in the > /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib directory are > wrong. > i had to modify this files to get panel-wifi compile: > > libgio-2.0.la > libgmodule-2.0.la > libgobject-2.0.la > libgthread-2.0.la > libpangocairo-1.0.la > > simple changed all > /space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/ > stuff > > to /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib > - I've a patch for this here: http://files.derickrethans.nl/patches/openmoko-toolchain-2008-07-18.diff.txt regards, Derick ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
hey, i also encountered the pango error and after that some other not found libaries. The problem is, that the libs are actually there but the .la files are incorrect. here a copy of a mailinglist post from me some days ago: - for people with the same problem, i fixed it for myself. some of the .la files in the /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib directory are wrong. i had to modify this files to get panel-wifi compile: libgio-2.0.la libgmodule-2.0.la libgobject-2.0.la libgthread-2.0.la libpangocairo-1.0.la simple changed all /space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/ stuff to /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib - Phil > 2008/7/17 Stephen Pape <[EMAIL PROTECTED]>: > >> 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? >> >> > > I'd also like to add I see (almost) the exact same thing on two Gentoo > machines (32/64 bit) and two Ubuntu machines (32/64 as well). > > > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
2008/7/17 Stephen Pape <[EMAIL PROTECTED]>: > 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? > I'd also like to add I see (almost) the exact same thing on two Gentoo machines (32/64 bit) and two Ubuntu machines (32/64 as well). -- Kelvie Wong ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
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/p
Re: Problems with building openmoko-sample with toolchain
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 community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Problems with building openmoko-sample with toolchain
I think there is a problem with your environment caused by various shell scripts you may have executed. If you have set up any of the scripts to run automatically, undo that. Start in a "clean" shell to do the toolchain activity. I had this problem but I cannot recall the prior activity I had done before starting the toolchain. When I started a new shell everything was fine. I did get a very similar traceback. 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 community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Problems with building openmoko-sample with toolchain
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 community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community