Hi,
I'm an OE newbie trying to get up to speed with bitbake. I installed bitbake, OE, and monotone according to the GettingStarted instructions in the OE wiki. I also installed the required software packages on to my Ubuntu Dapper Drake system such as python-dev, python-psyco, ccache, cvs, subversion, openjade, docbook, etc.
When I run "bitbake nano" from my /stuff/build directory, it downloads and compiles a fair number of packages: autoconf, automake, bison, flex, gettext, gnu-config, libtool, m4, and quilt.
But when it gets to binutils-cross, it complains and gives this error:
NOTE: package binutils-cross-2.17-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: see log in /stuff/build/tmp/work/binutils-cross-2.17-r0/temp/log.do_compile.13773
NOTE: Task failed: /stuff/build/tmp/work/binutils-cross-2.17-r0/temp/log.do_compile.13773
This is what is contained at the end of log.do_compile.13773:
NOTE: make configure-build-libiberty all
make[1]: Entering directory `/stuff/build/tmp/work/binutils-cross-2.17-r0/binutils-2.17/build.i686-linux.INVALID-INVALID'
Configuring in ./bfd
configure: loading site script /stuff/org.openembedded.dev/site/i686-linux
configure: loading cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... Invalid configuration `INVALID-INVALID': machine
`INVALID' not recognized
configure: error: /bin/sh /stuff/build/tmp/work/binutils-cross-2.17-r0/binutils-2.17/bfd/../config.sub INVALID-INVALID failed
make[1]: *** [configure-bfd] Error 1
make[1]: Leaving directory `/stuff/build/tmp/work/binutils-cross-2.17-r0/binutils-2.17/build.i686-linux.INVALID-INVALID'
make: *** [all] Error 2
I noticed this command in run.do_compile.13773:
export LD_FOR_TARGET="INVALID-INVALID-ld"
is there a reason why it would produce a variable like this?
Here is my local.conf. I'm trying to compile for the 2.6 poodle kernel. I didn't install any toolchain because the instructions indicated that the toolchain would be created by bitbake.
DL_DIR="/stuff/sources"
BBFILES="/stuff/org.openembedded.dev/packages/*/*.bb"
BBMASK=""
# Select between multiple alternative providers, if more than one is eligible.
PREFERRED_PROVIDERS="virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS+=" virtual/libsdl:libsdl-qpe"
PREFERRED_PROVIDERS+=" virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS+=" virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS+=" virtual/${TARGET_PREFIX}g++:gcc-cross"
MACHINE="poodle"
TARGET_ARCH="arm"
TARGET_OS="linux"
TARGET_FPU="soft"
DISTRO="openzaurus-unstable"
MACHINE_KERNEL_VERSION="2.6"
IMAGE_FSTYPES="jffs2 tar"
BBINCLUDELOGS="yes"
CVS_TARBALL_STASH="http://www.oesources.org/source/current/"
Any clue as to what I'm doing wrong?