Skip to contentSkip to conversation

New randconfig build failures in OMAP

DISCUSSION Russell King - ARM Linux 3 participants 3 messages Jun 5, 2012 – Jun 6, 2012

lore
Share & tools
lore
#0 lore raw

I pulled Linus' tree at 7am UTC, and reran the builds after updating the build tree with that (plus my pending devel stuff). The resulting randconfig spat out this:

arch/arm/mach-omap2/dsp.c: In function 'omap_dsp_reserve_sdram_memblock':
arch/arm/mach-omap2/dsp.c:58: error: implicit declaration of function 'arm_memblock_steal'

Looks to me like a missing include?

arch/arm/mach-omap2/board-rx51-peripherals.c:147: error: implicit declaration of function 'OMAP_GPIO_IRQ' arch/arm/mach-omap2/board-rx51-peripherals.c:147: error: initializer element is not constant arch/arm/mach-omap2/board-rx51-peripherals.c:147: error: (near initialization for 'rx51_lis3lv02d_data.irq2') arch/arm/mach-omap2/board-rx51-peripherals.c:1033: error: initializer element is not constant arch/arm/mach-omap2/board-rx51-peripherals.c:1033: error: (near initialization for 'rx51_peripherals_i2c_board_info_3[0].irq')

Again, a missing include?

#1 lore raw
Quoted 7 lines · Russell King - ARM Linux

arch/arm/mach-omap2/board-rx51-peripherals.c:147: error: implicit declaration of function 'OMAP_GPIO_IRQ' arch/arm/mach-omap2/board-rx51-peripherals.c:147: error: initializer element is not constant arch/arm/mach-omap2/board-rx51-peripherals.c:147: error: (near initialization for 'rx51_lis3lv02d_data.irq2') arch/arm/mach-omap2/board-rx51-peripherals.c:1033: error: initializer element is not constant arch/arm/mach-omap2/board-rx51-peripherals.c:1033: error: (near initialization for 'rx51_peripherals_i2c_board_info_3[0].irq')

Again, a missing include?

patch: http://www.spinics.net/lists/linux-omap/msg71169.html

-- Sebastian

#2 lore raw
In reply to Russell King - ARM Linux
Quoted 8 lines · Russell King - ARM Linux

I pulled Linus' tree at 7am UTC, and reran the builds after updating the build tree with that (plus my pending devel stuff). The resulting randconfig spat out this:

arch/arm/mach-omap2/dsp.c: In function 'omap_dsp_reserve_sdram_memblock':
arch/arm/mach-omap2/dsp.c:58: error: implicit declaration of function 'arm_memblock_steal'

Looks to me like a missing include?

Yup I've caused that one by moving the code around without the memblock.h include. Looks like I did not hit this one yet with my randconfigs as it's behind CONFIG_STAGING. Will post a fix along with few other randconfig fixes.

TOny