Build fails on omap3530_beagle_per_uart_defconfig

Anand Gadiyar gadiyar at
Sat Dec 5 11:44:17 EST 2009


This is my first attempt at building barebox. So I'm probably making
some silly mistake here.

I ran `ARCH=arm make omap3530_beagle_per_uart_defconfig` and
then `make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-`.
I got the following build error (after adding V=1):

I'm using CodeSourcery's 2008q3 toolchain.

Thanks in advance for any pointers,

[a0393673 at omaplbp u-boot-v2]$ make ARCH=arm
CROSS_COMPILE=arm-none-linux-gnueabi- V=1
make -f scripts/ obj=arch/arm/tools
make[1]: `arch/arm/include/asm/mach-types.h' is up to date.
rm -f include/config/kernel.release
echo 2.0.0-rc10-00466-g4701717 > include/config/kernel.release
set -e; echo '  CHK     include/linux/version.h'; mkdir -p
include/linux/;     (echo \#define LINUX_VERSION_CODE 131072; echo
'#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) <
/db/omapsw_linux1/anand/data/git/barebox/u-boot-v2/Makefile >
include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp
-s include/linux/version.h include/linux/version.h.tmp; then rm -f
include/linux/version.h.tmp; else echo '  UPD
include/linux/version.h'; mv -f include/linux/version.h.tmp
include/linux/version.h; fi
  CHK     include/linux/version.h
set -e; echo '  CHK     include/linux/utsrelease.h'; mkdir -p
include/linux/;  if [ `echo -n "2.0.0-rc10-00466-g4701717" | wc -c `
-gt 64 ]; then echo '"2.0.0-rc10-00466-g4701717" exceeds 64
characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE
\"2.0.0-rc10-00466-g4701717\";) < include/config/kernel.release >
include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ]
&& cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp;
then rm -f include/linux/utsrelease.h.tmp; else echo '  UPD
include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp
include/linux/utsrelease.h; fi
  CHK     include/linux/utsrelease.h
  SYMLINK include/config.h -> board//config.h
make -f scripts/ obj=scripts/basic
make -f scripts/ obj=.
make -f scripts/ obj=scripts
make -f scripts/ obj=scripts/mod
make -f scripts/ obj=common
  arm-none-linux-gnueabi-gcc -Wp,-MD,common/.parser.o.d  -nostdinc
-isystem /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include
-D__KERNEL__ -D__U_BOOT__ -Iinclude
-include include/linux/autoconf.h -fno-builtin -ffreestanding
-D__ARM__ -fno-strict-aliasing -marm -mlittle-endian -mabi=apcs-gnu
-mno-thumb-interwork -D__LINUX_ARM_ARCH__=7 -march=armv7-a
-Iarch/arm/mach-omap/include -mabi=apcs-gnu -DTEXT_BASE=0x40200000 -P
-fdata-sections -ffunction-sections -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
-D"KBUILD_MODNAME=KBUILD_STR(parser)" -c -o common/parser.o
In file included from common/parser.c:1:
include/common.h:29:20: error: config.h: No such file or directory
make[1]: *** [common/parser.o] Error 1
make: *** [common] Error 2

More information about the u-boot-v2 mailing list