Git as of 13-Jan-2009 build fail on OMAP3

From: david . hagood
Date: Tue Jan 13 2009 - 12:45:27 EST


I am attempting to build the stock kernel as pulled from the kernel GIT
server for an OMAP3 platform, and am getting errors.

The version I am working with (as displayed by "git show") is "commit
e0b325d310a6b11f1538413fd557d2eb98f2fae5".

The error is:


CC arch/arm/mach-omap2/board-omap3beagle.o
arch/arm/mach-omap2/board-omap3beagle.c: In function ?beagle_twl_gpio_setup?:
arch/arm/mach-omap2/board-omap3beagle.c:132: error: ?TWL4030_GPIO_MAX?
undeclared (first use in this function)
arch/arm/mach-omap2/board-omap3beagle.c:132: error: (Each undeclared
identifier is reported only once
arch/arm/mach-omap2/board-omap3beagle.c:132: error: for each function it
appears in.)
arch/arm/mach-omap2/board-omap3beagle.c: At top level:
arch/arm/mach-omap2/board-omap3beagle.c:141: error: variable
?beagle_gpio_data? has initializer but incomplete type
arch/arm/mach-omap2/board-omap3beagle.c:142: error: unknown field
?gpio_base? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:142: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:142: warning: (near initialization
for ?beagle_gpio_data?)
arch/arm/mach-omap2/board-omap3beagle.c:143: error: unknown field
?irq_base? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:143: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:143: warning: (near initialization
for ?beagle_gpio_data?)
arch/arm/mach-omap2/board-omap3beagle.c:144: error: unknown field
?irq_end? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:144: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:144: warning: (near initialization
for ?beagle_gpio_data?)
arch/arm/mach-omap2/board-omap3beagle.c:145: error: unknown field
?use_leds? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:145: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:145: warning: (near initialization
for ?beagle_gpio_data?)
arch/arm/mach-omap2/board-omap3beagle.c:146: error: unknown field
?pullups? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:146: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:146: warning: (near initialization
for ?beagle_gpio_data?)
arch/arm/mach-omap2/board-omap3beagle.c:147: error: unknown field
?pulldowns? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:148: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:148: warning: (near initialization
for ?beagle_gpio_data?)
arch/arm/mach-omap2/board-omap3beagle.c:149: error: unknown field ?setup?
specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:149: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:149: warning: (near initialization
for ?beagle_gpio_data?)
arch/arm/mach-omap2/board-omap3beagle.c:152: error: variable
?beagle_twldata? has initializer but incomplete type
arch/arm/mach-omap2/board-omap3beagle.c:153: error: unknown field
?irq_base? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:153: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:153: warning: (near initialization
for ?beagle_twldata?)
arch/arm/mach-omap2/board-omap3beagle.c:154: error: unknown field
?irq_end? specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:154: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:154: warning: (near initialization
for ?beagle_twldata?)
arch/arm/mach-omap2/board-omap3beagle.c:157: error: unknown field ?gpio?
specified in initializer
arch/arm/mach-omap2/board-omap3beagle.c:157: warning: excess elements in
struct initializer
arch/arm/mach-omap2/board-omap3beagle.c:157: warning: (near initialization
for ?beagle_twldata?)
arch/arm/mach-omap2/board-omap3beagle.c: In function ?omap3_beagle_init?:
arch/arm/mach-omap2/board-omap3beagle.c:308: error: ?gpio? undeclared
(first use in this function)
make[1]: *** [arch/arm/mach-omap2/board-omap3beagle.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

I do have the TWL4030 enabled in the config.

Has anybody else tried this?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/