Re: GettingStarted / OZ3.5.4.1 development
"Justin Patrin" <[email protected]>
| Newsgroups | gmane.comp.handhelds.openzaurus.devel |
|---|---|
| Message-ID | <[email protected]> |
On 4/23/06, Nicolas FR <[email protected]> wrote: > I am trying to set up the oz354x development environment without success. > > I have followed the GettingStarted here > http://oe.handhelds.org/cgi-bin/moin.cgi/GettingStarted but > when I try to "bitbake nano" I got a final error when building ncurses "C > compiler cannot create executables". I thought we helped you on IRC last week.... > Also I am not sure if I need the oe-cross-sdk from here: > http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sdk/ > You only need the SDK if you want to build things outside of OpenEmbedded. This SDK is just fine for building your own programs. However, if you want to get your program into OE or want to make custom distributions then you should use OE and not the SDK. > Any help would be greatly appreciated. > Are you perhaps chrooted? Do you have a $HOME env var? Is ccache set up properly? I know that previously this problem was because ccache was looking for $HOME and that directory didn't exist. > > Here is the output from the "bitbake nano". > > [...] lots of can't read from file error removed [...] > NOTE: bb.build.FuncFailed:("can't read from file '%s' (%s)", > ('/opt/zaurus/build/tmp/staging/spitz-linux/kernel/kernel-abiversion', > <exceptions.IOError instance at 0xb4f20c0c>)) while evaluating: > ${SHLIBS}wireless-tools kernel (${KERNEL_VERSION}) > ERROR: ("can't read from file '%s' (%s)", > ('/opt/zaurus/build/tmp/staging/spitz-linux/kernel/kernel-abiversion', > <exceptions.IOError instance at 0xb4f20c0c>)) while parsing > /opt/zaurus/org.openembedded.oz354x/packages/zd1211/zd1211_20050822.bb > NOTE: Parsing finished. 2767 cached, 39 parsed, 77 skipped, 0 masked. > NOTE: build 200604231943: started > > OE Build Configuration: > BB_VERSION = "1.4.1" > OE_REVISION = "947b99ede015c1fdd2b9c5760b2f16dcd9acbd35" > TARGET_ARCH = "arm" > TARGET_OS = "linux" > MACHINE = "spitz" > DISTRO = "openzaurus" > TARGET_FPU = "soft" > > NOTE: package ncurses-5.4: started > NOTE: package ncurses-5.4-r8: task do_fetch: started > NOTE: package ncurses-5.4-r8: task do_fetch: completed > NOTE: package ncurses-5.4-r8: task do_configure: started > ERROR: function do_configure failed > ERROR: log data follows > (/opt/zaurus/build/tmp/work/armv5te-linux/ncurses- > 5.4-r8/temp/log.do_configure.20238) > | automake (GNU automake) 1.9.3 > | Written by Tom Tromey <[email protected]>. > | > | Copyright 2004 Free Software Foundation, Inc. > | This is free software; see the source for copying conditions. There is > NO > | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > | AUTOV is 1.9 > | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint > -I /opt/zaurus/build/tmp/work/armv5te-linux/ncurses- > 5.4-r8/ncurses-5.4/m4/ -I > /opt/zaurus/build/tmp/staging/arm-linux/share/aclocal-1.9 > -I /opt/zaurus/build/tmp/staging/arm-linux/share/aclocal > | autoreconf: Entering directory `.' > | autoreconf: configure.in: not using Gettext > | autoreconf: running: aclocal -I > /opt/zaurus/build/tmp/work/armv5te-linux/ncurses-5.4-r8/ncurses-5.4/m4/ > -I > /opt/zaurus/build/tmp/staging/arm-linux/share/aclocal-1.9 > -I /opt/zaurus/build/tmp/staging/arm-linux/share/aclocal > --force > | autoreconf: configure.in: tracing > | autoreconf: running: libtoolize --copy --force > | Remember to add `AC_PROG_LIBTOOL' to `configure.in'. > | autoreconf: running: > /opt/zaurus/build/tmp/staging/i686-linux/bin/autoconf > --include=/opt/zaurus/build/tmp/work/armv5te-linux/ncurses- > 5.4-r8/ncurses-5.4/m4/ > --include=/opt/zaurus/build/tmp/staging/arm-linux/share/aclocal-1.9 > --include=/opt/zaurus/build/tmp/staging/arm-linux/share/aclocal > --force --warnings=cross > | autoreconf: running: > /opt/zaurus/build/tmp/staging/i686-linux/bin/autoheader > --include=/opt/zaurus/build/tmp/work/armv5te-linux/ncurses- > 5.4-r8/ncurses-5.4/m4/ > --include=/opt/zaurus/build/tmp/staging/arm-linux/share/aclocal-1.9 > --include=/opt/zaurus/build/tmp/staging/arm-linux/share/aclocal > --force --warnings=cross > | autoreconf: configure.in: not using Automake > | autoreconf: running: gnu-configize > | autoreconf: Leaving directory `.' > | NOTE: Running > /opt/zaurus/build/tmp/work/armv5te-linux/ncurses-5.4-r8/ncurses-5.4/configure > --build=i686-linux --host=arm-linux > --target=arm-linux --prefix=/usr > --exec_prefix=/usr --bindir=/usr/bin > --sbindir=/usr/sbin --libexecdir=/usr/libexec > --datadir=/usr/share --sysconfdir=/etc > --sharedstatedir=/usr/com > --localstatedir=/var --libdir=/usr/lib > --includedir=/usr/include > --oldincludedir=/usr/include > --infodir=/usr/share/info > --mandir=/usr/share/man --with-shared > --without-profile --without-debug > --disable-rpath --enable-echo --enable-const > --without-ada --enable-termcap > --without-cxx-binding > --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo > --enable-overwrite > ... > | configure: loading site script > /opt/zaurus/org.openembedded.oz354x/site/arm-linux > | Configuring NCURSES 5.4 ABI 5 (Sun Apr 23 19:43:39 CEST 2006) > | checking build system type... i686-pc-linux-gnu > | checking host system type... arm-unknown-linux-gnu > | checking target system type... arm-unknown-linux-gnu > | Configuring for linux-gnu > | checking for prefix... /usr > | checking for arm-linux-gcc... ccache arm-linux-gcc -march=armv5te > -mtune=xscale > | checking for C compiler default output file name... configure: error: C > compiler cannot create executables > | See `config.log' for more details. > | FATAL: oe_runconf failed > NOTE: Task failed: > /opt/zaurus/build/tmp/work/armv5te-linux/ncurses-5.4-r8/temp/log.do_configure.20238 > NOTE: package ncurses-5.4-r8: task do_configure: failed > ERROR: TaskFailed event exception, aborting > NOTE: package ncurses-5.4: failed > ERROR: Build of nano failed > > -- Justin Patrin ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642