From: Stephen Street <stephen@streetfiresound.com>
To: openembedded-devel@lists.openembedded.org
Subject: Problem building installable toolchain
Date: Tue, 19 Dec 2006 11:39:27 -0800 [thread overview]
Message-ID: <1166557167.14412.32.camel@localhost> (raw)
Hello,
I'm new to the openembedded project and I'm having problems building an
installable toolchain (i.e. bitbake meta-toolchain). I have
successfully integrated a new machine and distro configuration (see
below). I can build this configuration using bitbake task-base and
everything appear to works. When I try to build a toolchain using
"bitbake meta-toolchain" or "bitbake meta-sdk" the "gcc-cross-sdk-4.1.1"
package fails to build. These following snippet show the error:
In file included
from /home/stephen/workspace/openembedded/build/work/i686-linux/gcc-cross-sdk-4.1.1-r9/gcc-4.1.1/libiberty/regex.c:51:
| /home/stephen/workspace/openembedded/build/staging/arm-linux/include/sys/types.h:100: error: two or more data types in declaration specifiers
| /home/stephen/workspace/openembedded/build/staging/arm-linux/include/sys/types.h:100: warning: useless type name in empty declaration
| /home/stephen/workspace/openembedded/build/work/i686-linux/gcc-cross-sdk-4.1.1-r9/gcc-4.1.1/libiberty/regex.c:130: warning: function declaration isn’t a prototype
| /home/stephen/workspace/openembedded/build/work/i686-linux/gcc-cross-sdk-4.1.1-r9/gcc-4.1.1/libiberty/regex.c:130: warning: conflicting types for built-in function ‘malloc’
| /home/stephen/workspace/openembedded/build/work/i686-linux/gcc-cross-sdk-4.1.1-r9/gcc-4.1.1/libiberty/regex.c:131: warning: function declaration isn’t a prototype
| In file included
from /home/stephen/workspace/openembedded/build/work/i686-linux/gcc-cross-sdk-4.1.1-r9/gcc-4.1.1/libiberty/regex.c:185
This appears to be a problem with the header configuration but I'm a not
a toolchain expert. Has anyone encountered this problem before? How
should I approach resolving this problem?
Following are my configuration files and attached is the full log
=== local.conf ===
DL_DIR = "${PROJECT_ROOT}/sources"
BBFILES = "${PROJECT_ROOT}/org.openembedded.dev/packages/*/*.bb
${PROJECT_ROOT}/com.streetfiresound.rbx1600/packages/*/*.bb"
BBMASK = ""
TMPDIR = "${PROJECT_ROOT}/build"
MACHINE = "rbx1600"
DISTRO = "StreetRacerLinux"
IMAGE_FSTYPES = "jffs2 tar"
BBDEBUG = "yes"
# DEBUG_BUILD = "1"
INHIBIT_PACKAGE_STRIP = "1"
PARALLEL_MAKE = "-j 4"
BBINCLUDELOGS = "yes"
=== distro.conf ===
#-----------------------------------------------------------------------------
#@TYPE: Distribution
#@NAME: StreetRacerLinux
#@DESCRIPTION: StreetFire Sound Embedded Linux Distribution
Configuration
#
#-----------------------------------------------------------------------------
#
# Header
#
DISTRO_NAME = "StreetRacerLinux"
DISTRO_VERSION = "0.1-debug"
#DISTRO_TYPE = "release"
DISTRO_TYPE = "debug"
#
# Naming schemes
#
PARALLEL_INSTALL_MODULES = "1"
INHERIT += "debian multimachine"
#
# Packaging and output format
#
INHERIT += "package_ipk"
IMAGE_FSTYPES = "tar.gz jffs2"
#
# Kernel
#
KERNEL = "kernel26"
MACHINE_KERNEL_VERSION = "2.6"
#
# Binutils & Compiler
#
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"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}-libc-for-gcc =
"glibc-intermediate"
PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate"
PREFERRED_PROVIDER_virtual/libiconv = "glibc"
PREFERRED_PROVIDER_virtual/libintl = "glibc"
PREFERRED_VERSION_gcc ?= "4.1.1"
PREFERRED_VERSION_gcc-cross ?= "4.1.1"
PREFERRED_VERSION_gcc-cross-initial ?= "4.1.1"
PREFERRED_VERSION_gcc-cross-sdk ?= "4.1.1"
PREFERRED_VERSION_binutils ?= "2.17.50.0.5"
PREFERRED_VERSION_binutils-cross ?= "2.17.50.0.5"
TARGET_OS = "linux"
TARGET_FPU_arm = "soft"
TARGET_FPU_armeb = "soft"
PREFERRED_VERSION_linux-libc-headers ?= "2.6.18"
PREFERRED_VERSION_glibc = "2.5"
PREFERRED_VERSION_glibc-initial = "2.5"
PREFERRED_VERSION_glibc-intermediate = "2.5"
DISTRO_FEATURES = "alsa"
PREFERRED_VERSION_linux-rbx1600 ?= "2.6.17"
=== rbx1600.conf ===
#@TYPE: Machine
#@Name: RBX1600
#@DESCRIPTION: Machine configuration StreetFire Sound Labs RBX1600
TARGET_ARCH = "arm"
PACKAGE_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_virtual/kernel = "linux-rbx1600"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-rbx1600"
PREFERRED_PROVIDERS +=
"virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
include conf/machine/include/tune-xscale.conf
MACHINE_FEATURES = "kernel26 alsa"
MACHINE_TASK_PROVIDER = "task-base"
reply other threads:[~2006-12-19 19:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1166557167.14412.32.camel@localhost \
--to=stephen@streetfiresound.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.