Re: 2.2.12 failed compile on RH6

Karl Kleinpaste (karl@justresearch.com)
30 Aug 1999 14:44:18 -0400


Brian Hall <brianw.hall@compaq.com> writes:
> 2.2.12 kernel compile fails
> /usr/src/linux-2.2.12/include/linux/pagemap.h:17: `PAGE_OFFSET_RAW' undeclared

You haven't set the memory limits under "Processor type and features."

I sent Alan a 2-line patch to page_offset.h for this a couple months
ago, to add an #error cpp directive if no appropriate option had been
set, but apparently it never got included.

--- page_offset.h.~1~ Fri Aug 27 06:07:35 1999
+++ page_offset.h Mon Aug 30 14:42:08 1999
@@ -5,4 +5,6 @@
#define PAGE_OFFSET_RAW 0x80000000
#elif defined(CONFIG_3GB)
#define PAGE_OFFSET_RAW 0x40000000
+#elif
+#error No CONFIG_xGB option has been set.
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/