Skip to contentSkip to conversation

Build fail for eglibc

DISCUSSION Alex Waterman 1 participant 1 message Jul 7, 2011

lore
Share & tools
lore
#0 lore raw

Hello List,

I have been trying to compile cacao for a development platform using openembedded. I have built a tool chain using crosstool-ng targeting arm-none-linux-gnueabi, and have set up openembedded following the getting started page on the wiki.

However, I run into an issue with eglibc. I get a make error during the compile for eglibc:

... snip ...

| make[2]: Entering directory `/home/alex/bb-build/tmp/work/armv5te-none-linux-gnueabi/eglibc-2.12-r21.8+svnr13230/eglibc-2_12/libc/nss'
| Makefile:85: *** OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG variable left unset.  Stop.
| make[2]: Leaving directory `/home/alex/bb-build/tmp/work/armv5te-none-linux-gnueabi/eglibc-2.12-r21.8+svnr13230/eglibc-2_12/libc/nss'
| make[1]: *** [nss/subdir_lib] Error 2

... snip ...

I am using the latest git tree, as of 15 minutes ago.

Any help or advice would be greatly appreciated. Are there any work arounds? Or fixes?

Oh, and my local.conf file:

---
# Source directory.
DL_DIR = "${HOME}/bitbake-sources"

# BB files...
BBFILES = "/usr/openembedded/recipes/*/*.bb"

# Our machine in question...
MACHINE = "at91sam9m10g45ek"
TARGET_ARCH = "arm"

# Target operating system.
TARGET_OS = "linux"
DISTRO = "minimal"

# Tool chain ralated stuff.
TOOLCHAIN_VENDOR = "-none"
TOOLCHAIN_TYPE = "external"
TOOLCHAIN_BRAND = "x-tool"
TOOLCHAIN_PATH = "/usr/alex-embeded"

# Output image type.
IMAGE_FSTYPES = "jffs2"

# Other things
BBINCLUDELOGS = "yes"

SRCPV = "${@bb.fetch.get_srcrev(d)}"
---

Best Regards,
Alex

Signature · 4 lines
Alex Waterman
Computer Engineer
Phone: 215-896-4920
Email: [email protected]