Hi,
I am getting the following error, it looks like the compiler couldn't find
the gmp.h, also it is really absent under gcc folder.
NOTE: package gcc-cross-initial-4.3.3-r23.2: task do_compile: Failed
ERROR: Function 'do_compile' failed (see
/home/tmp/work/i686-linux/gcc-cross-initial-4.3.3-r23.2/temp/log.do_compile.20426
for further information)
ERROR: Task 3612 (/work/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb,
do_compile) failed with exit code '1'
ERROR: '/work/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb' failed
you can see my local.conf file and distro definiton, log.do_compile.20426
error log below.
Thanks,
Ozgun
*LOCAL.conf*
# Use this to specify where BitBake should place the downloaded sources into
DL_DIR = "${HOME}/sources"
# Delete the line below. Then specify which .bb files to consider for
# your build. Typically this will be something like BBFILES =
"/path/to/openembedded/packages/*/*.bb"
BBFILES = "/work/openembedded/recipes/*/*.bb"
MACHINE = "x86"
TARGET_ARCH = "i686"
DISTRO = "minimal_ozgun"
DISTRO_TYPE = "debug"
# DISTRO_TYPE = "release"
# Add the required image file system types below. Valid are
# jffs2, tar(.gz|bz2), cpio(.gz), cramfs, ext2(.gz), ext3(.gz),
ext4(.gz|.bz2),
# squashfs, squashfs-lzma
IMAGE_FSTYPES = "ext2 tar"
*DISTRO*
#
#@TYPE: Distribution
#@NAME: Minimal
#@DESCRIPTION: Embedded Linux Distribution Configuration
#
#@COMMENT: This distribution configuration can serve as a starting point for
#@COMMENT: the integration of new target platforms, machines, or
distributions.
#
#
# NAME and VERSION
#
DISTRO_NAME ?= "minimal"
DISTRO_VERSION = "dev-snapshot-${SRCDATE}"
# Ensure some form of release config, so error out if someone thinks he
knows better
DISTRO_CHECK := "${@bb.data.getVar('DISTRO_VERSION',d,1) or bb.fatal('Remove
this line or set a dummy DISTRO_VERSION')}"
#
# FEATURE SELECTION
#
# Use bluetooth 4.0
DISTRO_BLUETOOTH_MANAGER= "bluez4"
PREFERRED_PROVIDER_bluez-utils-dbus = "bluez4"
PREFERRED_PROVIDER_bluez-libs = "bluez4"
PREFERRED_PROVIDER_bluez-utils = "bluez4"
# We want images supporting the following features (for task-base)
DISTRO_FEATURES = "ipv4 ext2 ext3 vfat pcmcia usbgadget usbhost pci"
# Following features are for ARM and E500 based machines
#DISTRO_FEATURES += "eabi"
#
# LIBRARY NAMES
#
# libfoo -> libfoo0-2 (etc)
INHERIT += "debian"
#
# PACKAGING & FEEDS
#
# Chose the packaging system
INHERIT += "package_ipk"
INHERIT += "package_tar"
IMAGE_FSTYPES ?= "tar.gz ext2"
PREFERRED_PKG_FORMAT ?= "ipk"
# Put links to sources in deploy/sources to make it easier for people to be
GPL compliant
INHERIT += "src_distribute_local"
SRC_DIST_LOCAL ?= "symlink"
# If we're using an .ipk based rootfs, we want to have opkg installed so
postinst script can run
IPKG_VARIANT = "opkg"
#
# IMAGES
#
# Name the generated images in a sane way
IMAGE_NAME =
"${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
CACHE = "${TMPDIR}/cache/${LIBC}/${MACHINE}"
DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
SPLASH ?= '${@base_contains("MACHINE_FEATURES", "screen", "psplash", "",d)}'
PREFERRED_PROVIDER_virtual/psplash = "psplash"
# increase inode/block ratio for ext2 filesystem
EXTRA_IMAGECMD_ext2 = "-i 8192"
#