OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> "bitbake Nano" Has Problems Compiling Binutils
fooman
post Jul 21 2006, 11:46 AM
Post #1





Group: Members
Posts: 49
Joined: 7-July 06
Member No.: 10,345



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:

CODE
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:

CODE
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:

CODE
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.

CODE
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?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
koen
post Jul 21 2006, 12:03 PM
Post #2





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



the output of 'bitbake foo' will probably tell you which items are invalid.
Go to the top of the page
 
+Quote Post
fooman
post Jul 21 2006, 04:28 PM
Post #3





Group: Members
Posts: 49
Joined: 7-July 06
Member No.: 10,345



Hi,

I'm assuming I shouldn't literally be typing "bitbake foo". When I type "bitbake nano", this is what I get:

CODE
NOTE: Using cache in '/stuff/build/tmp/cache'
NOTE: Parsing finished. 3400 cached, 0 parsed, 148 skipped, 0 masked.
NOTE: package binutils-cross-2.17: started
NOTE: package binutils-cross-2.17-r0: task do_fetch: started
NOTE: package binutils-cross-2.17-r0: task do_fetch: completed
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.16122
NOTE: Task failed: /stuff/build/tmp/work/binutils-cross-2.17-r0/temp/log.do_compile.16122
NOTE: package binutils-cross-2.17-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package binutils-cross-2.17: failed
ERROR: Build of nano failed


Does this mean that the binutils-cross package is invalid?

QUOTE(koen @ Jul 21 2006, 04:03 PM)
the output of 'bitbake foo' will probably tell you which items are invalid.
*
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th July 2014 - 06:33 PM