Skip to contentSkip to conversation

mips build breakage in current mainline

DISCUSSION Andrew Morton 1 participant 1 message Nov 28, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

allmodconfig...

arch/mips/kernel/csrc-r4k.c:9: error: syntax error before "c0_hpt_read" arch/mips/kernel/csrc-r4k.c:10: warning: return type defaults to int' arch/mips/kernel/csrc-r4k.c: In function c0_hpt_read':
arch/mips/kernel/csrc-r4k.c:11: error: implicit declaration of function `read_c0_count' arch/mips/kernel/csrc-r4k.c: At top level:
arch/mips/kernel/csrc-r4k.c:14: error: variable clocksource_mips' has initializer but incomplete type arch/mips/kernel/csrc-r4k.c:15: error: unknown field name' specified in initializer arch/mips/kernel/csrc-r4k.c:15: warning: excess elements in struct initializer arch/mips/kernel/csrc-r4k.c:15: warning: (near initialization for clocksource_mips') arch/mips/kernel/csrc-r4k.c:16: error: unknown field read' specified in initializer arch/mips/kernel/csrc-r4k.c:16: warning: excess elements in struct initializer arch/mips/kernel/csrc-r4k.c:16: warning: (near initialization for clocksource_mips') arch/mips/kernel/csrc-r4k.c:17: error: unknown field mask' specified in initializer arch/mips/kernel/csrc-r4k.c:17: error: implicit declaration of function CLOCKSOURCE_MASK' arch/mips/kernel/csrc-r4k.c:17: warning: excess elements in struct initializer arch/mips/kernel/csrc-r4k.c:17: warning: (near initialization for clocksource_mips') arch/mips/kernel/csrc-r4k.c:18: error: unknown field flags' specified in initializer arch/mips/kernel/csrc-r4k.c:18: error: CLOCK_SOURCE_IS_CONTINUOUS' undeclared here (not in a function) arch/mips/kernel/csrc-r4k.c:18: warning: excess elements in struct initializer arch/mips/kernel/csrc-r4k.c:18: warning: (near initialization for clocksource_mips') arch/mips/kernel/csrc-r4k.c:21: error: syntax error before "init_mips_clocksource" arch/mips/kernel/csrc-r4k.c:22: warning: return type defaults to int' arch/mips/kernel/csrc-r4k.c: In function `init_mips_clocksource':
arch/mips/kernel/csrc-r4k.c:24: error: invalid use of undefined type struct clocksource' arch/mips/kernel/csrc-r4k.c:24: error: mips_hpt_frequency' undeclared (first use in this function) arch/mips/kernel/csrc-r4k.c:24: error: (Each undeclared identifier is reported only once arch/mips/kernel/csrc-r4k.c:24: error: for each function it appears in.) arch/mips/kernel/csrc-r4k.c:26: error: implicit declaration of function clocksource_set_clock' arch/mips/kernel/csrc-r4k.c:28: error: implicit declaration of function clocksource_register' arch/mips/kernel/csrc-r4k.c: At top level:
arch/mips/kernel/csrc-r4k.c:14: error: storage size of `clocksource_mips' isn't known make[1]: *** [arch/mips/kernel/csrc-r4k.o] Error 1
make: *** [arch/mips/kernel/csrc-r4k.o] Error 2