Define #include <asm/pgtable.h> in setup.c.
On Thu, 18 Feb 1999, Dave Wreski wrote:
>
> Hi all. I'm trying to compile 2.0.36 with the raid0145-19990128-2.0.36 patch,
> and receive the following error:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o setup.o
> setup.c
> setup.c: In function `setup_arch':
> setup.c:129: `empty_zero_page' undeclared (first use this function)
> setup.c:129: (Each undeclared identifier is reported only once
> setup.c:129: for each function it appears in.)
> setup.c:125: warning: `memory_end' might be used uninitialized in this function
> setup.c:127: warning: `memory_alt_end' might be used uninitialized in this funct
>
> I searched dejanews, and found that apparently at least the empty_zero_page
> variable was supposed to be fixed in this release?
>
> Thanks,
> Dave
>