Hi,

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
(first use in this function)
/usr/src/linux/include/linux/pagemap.h:17: (Each undeclared identifier
is reported only once
/usr/src/linux/include/linux/pagemap.h:17: for each function it appears
in.)
/usr/src/linux/include/linux/pagemap.h:18: warning: control reaches end
of non-void function
/usr/src/linux/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/src/linux/include/linux/vmalloc.h:7,
                 from /usr/src/linux/include/asm/io.h:101,
                 from /usr/src/linux/include/linux/raid/md.h:40,
                 from init/main.c:22:
/usr/src/linux/include/asm/pgtable.h:408: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/src/linux/include/asm/pgtable.h: In function `pte_alloc_kernel':
/usr/src/linux/include/asm/pgtable.h:497: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/src/linux/include/asm/pgtable.h:505: warning: control reaches end
of non-void function
/usr/src/linux/include/asm/pgtable.h: In function `pte_alloc':
/usr/src/linux/include/asm/pgtable.h:515: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/src/linux/include/asm/io.h: In function `virt_to_phys':
In file included from /usr/src/linux/include/linux/raid/md.h:40,
                 from init/main.c:22:
/usr/src/linux/include/asm/io.h:112: `PAGE_OFFSET_RAW' undeclared (first
use in this function)
/usr/src/linux/include/asm/io.h:113: warning: control reaches end of
non-void function
/usr/src/linux/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux/include/asm/io.h:117: `PAGE_OFFSET_RAW' undeclared (first
use in this function)
/usr/src/linux/include/asm/io.h:118: warning: control reaches end of
non-void function
/usr/src/linux/include/asm/io.h: In function `check_signature':
/usr/src/linux/include/asm/io.h:175: `PAGE_OFFSET_RAW' undeclared (first
use in this function)
make: *** [init/main.o] Error 1

Can anyone tell me how to fix this??

Thanks,

Mike.

Reply via email to