build failure with make u8500_defconfig
I got below build error by "make u8500_defconfig" on linux-next 20111025.
CC arch/arm/common/gic.oarch/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
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 oncearch/arm/common/gic.c:290: error: for each function it appears in.)arch/arm/common/gic.c:296: error: 'structgic_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
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.oarch/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 oncearch/arm/common/gic.c:290: error: for each function it appears in.)arch/arm/common/gic.c:296: error: 'structgic_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