2.5.73 and SN support does not compile

From: Stephane Eranian <eranian_at_hpl.hp.com>
Date: 2003-06-27 17:04:25
Jesse.

It looks like something is missing in the sn files in 2.5.73 and the
compile dies because it cannot find definitions for:

In file included from include/asm/sn/sn_cpuid.h:20,
                 from include/asm/sn/sn_sal.h:17,
                 from arch/ia64/sn/io/sgi_io_sim.c:13:
include/asm/nodedata.h:27: `NR_NODES' undeclared here (not in a function)
include/asm/nodedata.h:28: `NR_BANKS' undeclared here (not in a function)
include/asm/nodedata.h:29: `NR_NODES' undeclared here (not in a function)
include/asm/nodedata.h:30: `NR_BANKS' undeclared here (not in a function)
include/asm/nodedata.h:31: confused by earlier errors, bailing out
make[2]: *** [arch/ia64/sn/io/sgi_io_sim.o] Error 1

I am just trying to compile for CONFIG_IA64_GENERIC which now includes
the sn support as well. It is another of those dependency problems:

	NR_NODES is defined if:
		 CONFIG_IA64_DIG is defined
        OR   
		 CONFIG_NUMA is defined

neither of those gets defined, and can't be defined I am guessing, when 
enabling CONFIG_IA64_GENERIC.

Any fix for that, or should be drop sn support for IA64_GENERIC?

This is with the latest files in David's BK tree.


Thanks.

-- 
-Stephane
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jun 27 03:04:41 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:15 EST