[U-Boot] build fail for config_dockstar

Eric Cooper ecc at cmu.edu
Sat Oct 29 20:55:08 CEST 2011


On Sat, Oct 29, 2011 at 06:52:08PM +0200, Roland Kletzing wrote:
> i`m not 100% sure if this is not my fault (because of build
> environment), but as this does not happen with
> u-boot-2011.09.tar.bz2, i`m curious if current dockstar build is
> brocken in current git.
> [...]
> gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x00600000 -I/install/uboot-git/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.4.5/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5te -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security     -o dockstar.o dockstar.c -c
> dockstar.c: In function 'board_early_init_f':
> dockstar.c:43: warning: implicit declaration of function 'kw_config_gpio'
> dockstar.c: In function 'board_init':
> dockstar.c:113: warning: implicit declaration of function 'kw_sdram_bar'
> dockstar.c: In function 'set_leds':
> dockstar.c:161: warning: implicit declaration of function 'readl'
> dockstar.c:161: error: dereferencing pointer to incomplete type
> dockstar.c:162: warning: implicit declaration of function 'writel'
> dockstar.c:162: error: dereferencing pointer to incomplete type
> dockstar.c:163: error: dereferencing pointer to incomplete type
> dockstar.c:164: error: dereferencing pointer to incomplete type
> make[1]: *** [dockstar.o] Error 1
> make[1]: Leaving directory `/install/uboot-git/u-boot/board/Seagate/dockstar'
> make: *** [board/Seagate/dockstar/libdockstar.o] Error 2
> root at debian:/install/uboot-git/u-boot[mailto:root at debian:/install/uboot-git/u-boot]#

I can confirm this failure.  "git bisect" shows that the
build was broken by this commit:
    a7efd719 ARM: kirkwood: reduce dependence of including platform file
which patched a number of board files in the Marvell directory, but
not the DockStar.  It's a one-line patch, which will follow.

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the U-Boot mailing list