Skip to contentSkip to conversation

compile error

ia64 Larry McVoy 2 participants 2 messages Jan 21, 2005

lore
Share & tools
lore
#0 lore raw

Just pulled.

In file included from arch/ia64/mm/discontig.c:23:
include/linux/nodemask.h: In function `__first_unset_node':
include/linux/nodemask.h:246: warning: passing arg 1 of __find_next_zero_bit' discards qualifiers from pointer target type arch/ia64/mm/discontig.c: In function find_pernode_space':
arch/ia64/mm/discontig.c:389: error: `__per_cpu_offset' undeclared (first use in this function) arch/ia64/mm/discontig.c:389: error: (Each undeclared identifier is reported only once arch/ia64/mm/discontig.c:389: error: for each function it appears in.)
arch/ia64/mm/discontig.c:548:24: macro "per_cpu_init" passed 1 arguments, but takes just 0 arch/ia64/mm/discontig.c: At top level:
arch/ia64/mm/discontig.c:549: error: syntax error before '{' token

#1 lore raw
Quoted 14 lines · Larry McVoy

Just pulled.

In file included from arch/ia64/mm/discontig.c:23:
include/linux/nodemask.h: In function `__first_unset_node':
include/linux/nodemask.h:246: warning: passing arg 1 of __find_next_zero_bit' discards qualifiers from pointer target type arch/ia64/mm/discontig.c: In function find_pernode_space':
arch/ia64/mm/discontig.c:389: error: `__per_cpu_offset' undeclared (first use in this function) arch/ia64/mm/discontig.c:389: error: (Each undeclared identifier is reported only once arch/ia64/mm/discontig.c:389: error: for each function it appears in.) arch/ia64/mm/discontig.c:548:24: macro "per_cpu_init" passed 1 arguments, but takes just 0 arch/ia64/mm/discontig.c: At top level:
arch/ia64/mm/discontig.c:549: error: syntax error before '{' token

What config? CONFIG_SMP=n won't work if you're trying to build a CONFIG_IA64_GENERIC kernel (at least not yet, Tony's got some fixes pending).

Jesse