From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Cooper Date: Sat, 29 Oct 2011 14:55:08 -0400 Subject: [U-Boot] build fail for config_dockstar In-Reply-To: <2019977810.4986002.1319907128718.JavaMail.fmail@mwmweb001> References: <2019977810.4986002.1319907128718.JavaMail.fmail@mwmweb001> Message-ID: <20111029185508.GB3027@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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