CC [M] /work/lustre/head3/lnet/klnds/socklnd/socklnd.o
In file included from /work/lustre/linux-2.6.32-431.el6/arch/x86/include/asm/irq.h:11:0,
from /work/lustre/head3/lnet/klnds/socklnd/socklnd.h:34,
from /work/lustre/head3/lnet/klnds/socklnd/socklnd.c:44:
/work/lustre/linux-2.6.32-431.el6/arch/x86/include/asm/irq_vectors.h:171:7: error: "NR_CPUS" is not defined [-Werror=undef]
In file included from /work/lustre/head3/lnet/klnds/socklnd/socklnd.h:34:0,
from /work/lustre/head3/lnet/klnds/socklnd/socklnd.c:44:
/work/lustre/linux-2.6.32-431.el6/arch/x86/include/asm/irq.h:38:1: error: unknown type name 'bool'
/work/lustre/linux-2.6.32-431.el6/arch/x86/include/asm/irq.h:38:45: error: 'struct pt_regs' declared inside parameter list [-Werror]
/work/lustre/linux-2.6.32-431.el6/arch/x86/include/asm/irq.h:38:45: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/work/lustre/linux-2.6.32-431.el6/arch/x86/include/asm/irq.h:40:35: error: 'struct pt_regs' declared inside parameter list [-Werror]
/work/lustre/linux-2.6.32-431.el6/arch/x86/include/asm/irq.h:43:37: error: expected ')' before numeric constant
cc1: all warnings being treated as errors
gcc version 4.7.2 (GCC)
Landed for 2.7