Problems compiling 2.2.10-ac5

Andrew BOGECHO (andrewb@cs.mcgill.ca)
Wed, 30 Jun 1999 18:24:29 -0400


Wed Jun 30 18:17:51 EDT 1999

Hi guys,

I am having problems compiling the 2.2.10 kernel. Below is the error message
that I am repeatedly getting. Any help to fix this would be appreciated.

[/xtra/andrewb/linux]# make zImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/xtra/andrewb/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o init/main.o init/main.c
/xtra/andrewb/linux/include/linux/pagemap.h: In function `page_address':
In file included from /xtra/andrewb/linux/include/linux/locks.h:8,
from /xtra/andrewb/linux/include/linux/blk.h:5,
from init/main.c:23:
/xtra/andrewb/linux/include/linux/pagemap.h:17: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/xtra/andrewb/linux/include/linux/pagemap.h:17: (Each undeclared identifier is
reported only once
/xtra/andrewb/linux/include/linux/pagemap.h:17: for each function it appears
in.)
/xtra/andrewb/linux/include/linux/pagemap.h:18: warning: control reaches end
of non-void function
/xtra/andrewb/linux/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /xtra/andrewb/linux/include/linux/vmalloc.h:7,
from /xtra/andrewb/linux/include/asm/io.h:101,
from init/main.c:26:
/xtra/andrewb/linux/include/asm/pgtable.h:408: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/xtra/andrewb/linux/include/asm/pgtable.h: In function `pte_alloc_kernel':
/xtra/andrewb/linux/include/asm/pgtable.h:497: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/xtra/andrewb/linux/include/asm/pgtable.h: In function `pte_alloc':
/xtra/andrewb/linux/include/asm/pgtable.h:515: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/xtra/andrewb/linux/include/asm/io.h: In function `virt_to_phys':
In file included from init/main.c:26:
/xtra/andrewb/linux/include/asm/io.h:112: `PAGE_OFFSET_RAW' undeclared (first
use this function)
/xtra/andrewb/linux/include/asm/io.h: In function `phys_to_virt':
/xtra/andrewb/linux/include/asm/io.h:117: `PAGE_OFFSET_RAW' undeclared (first
use this function)
/xtra/andrewb/linux/include/asm/io.h: In function `check_signature':
/xtra/andrewb/linux/include/asm/io.h:175: `PAGE_OFFSET_RAW' undeclared (first
use this function)
make: *** [init/main.o] Error 1

Current System Config is :
Debian 2.0
PII 350
64MB Ram
gcc version is : 2.7.2.3
kernel version is : 2.0.36

I hope it is not because of the gcc version, I have had no problems compiling
2.2.8 kernels.

Thank you.

Andrew.

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