Mike,

I'd guess that you don't have CONFIG_1GB, or CONFIG_2GB, or CONFIG_3GB
defined in your .config file.  These are new in 2.2.11.
um..., did you just copy your old .config file?

see: include/asm-i386/page_offset.h

less likely:
  your include/asm symlink doesn't point to asm-i386.



> I'm running 2.2.3 with the raid patches, and I've just been trying to
> upgrade the kernel to 2.2.11. I had a clean 2.2.10 source tree, patched
> to 2.2.11, and then patched (also cleanly) with the
> raid0145-1990824-2.2.11 patch. However, the resulting kernel source tree
> fails to compile, with the following errors:-
> 
> 
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe
> -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=686  -c -o init/main.o init/main.c
> /usr/src/linux/include/linux/pagemap.h: In function `page_address':
> In file included from /usr/src/linux/include/linux/locks.h:8,
>                  from /usr/src/linux/include/linux/raid/md.h:39,
>                  from init/main.c:22:
> /usr/src/linux/include/linux/pagemap.h:17: `PAGE_OFFSET_RAW' undeclared
> 
>  ...

Reply via email to