Skip to contentSkip to conversation

build failure with make u8500_defconfig

linux-next 20111025 Axel Lin 3 participants 3 messages Oct 27, 2011 – Oct 28, 2011

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

I got below build error by "make u8500_defconfig" on linux-next 20111025.

CC arch/arm/common/gic.o
arch/arm/common/gic.c: In function 'gic_dist_init':
arch/arm/common/gic.c:290: error: 'irq_start' undeclared (first use in this function) arch/arm/common/gic.c:290: error: (Each undeclared identifier is reported only once arch/arm/common/gic.c:290: error: for each function it appears in.) arch/arm/common/gic.c:296: error: 'struct gic_chip_data' has no member named 'irq_offset' arch/arm/common/gic.c: In function 'gic_init':
arch/arm/common/gic.c:620: error: 'THIS_MODULE' undeclared (first use in this function) make[1]: *** [arch/arm/common/gic.o] Error 1
make: *** [arch/arm/common] Error 2

Regards,
Axel

#1 lore raw
Quoted 12 lines · Axel Lin

I got below build error by "make u8500_defconfig" on linux-next 20111025.

 CC      arch/arm/common/gic.o
arch/arm/common/gic.c: In function 'gic_dist_init':
arch/arm/common/gic.c:290: error: 'irq_start' undeclared (first use in this function) arch/arm/common/gic.c:290: error: (Each undeclared identifier is reported only once arch/arm/common/gic.c:290: error: for each function it appears in.) arch/arm/common/gic.c:296: error: 'struct gic_chip_data' has no member named 'irq_offset' arch/arm/common/gic.c: In function 'gic_init':
arch/arm/common/gic.c:620: error: 'THIS_MODULE' undeclared (first use in this function) make[1]: *** [arch/arm/common/gic.o] Error 1
make: *** [arch/arm/common] Error 2

Hm I don't get it, the lines in the compile error seems to come from the "ARM: gic: consolidate PPI handling" patch, so Marc if this is my fault can you help me out in advicing me on how to fix it up properly?

Yours,
Linus Walleij

#2 lore raw
Quoted 15 lines · Linus Walleij
Quoted 12 lines · Axel Lin

I got below build error by "make u8500_defconfig" on linux-next 20111025.

CC arch/arm/common/gic.o
arch/arm/common/gic.c: In function 'gic_dist_init':
arch/arm/common/gic.c:290: error: 'irq_start' undeclared (first use in this function) arch/arm/common/gic.c:290: error: (Each undeclared identifier is reported only once arch/arm/common/gic.c:290: error: for each function it appears in.) arch/arm/common/gic.c:296: error: 'struct gic_chip_data' has no member named 'irq_offset' arch/arm/common/gic.c: In function 'gic_init':
arch/arm/common/gic.c:620: error: 'THIS_MODULE' undeclared (first use in this function) make[1]: *** [arch/arm/common/gic.o] Error 1
make: *** [arch/arm/common] Error 2

Quoted 4 lines

Hm I don't get it, the lines in the compile error seems to come from the "ARM: gic: consolidate PPI handling" patch, so Marc if this is my fault can you help me out in advicing me on how to fix it up properly?

It's a known issue and will get fixed when Arnd pulls my updated branch for GIC DT support.

Rob