Re: PROBLEM: Compilation failure

Rui Sousa (rsousa@grad.physics.sunysb.edu)
Tue, 14 Sep 1999 10:49:00 -0400


Yon Han CHONG wrote:
>
> [1.] One line summary of the problem:
> Compilation failure
>
> [2.] Full description of the problem/report:
> I had no problem install Kernal 2.2.6 but failed to compile Kernal 2.2.12.
> Output from "make" is:
> =========================
> [...]
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -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/blk.h:5,
> from init/main.c:23:
> /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

I think you haven't configured all the new kernel options in 2.2.12, namely
large memory support...

Try running "make oldconfig" at the beginning. Then "make dep" , etc.

Rui Sousa

-
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/