1. Problems compiling kernel 2.2.11
Why can't I compile 2.2.11? I downloaded the patch, applied it
successfully, did a make dep; make clean; make bzlilo; make modules; make
modules_install.
It blows up when it starts compiling. The message is below. I've tried
gcc-2.7.2.3 and gcc-2.95 with the same error.
------------- OUTPUT -------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.2.11/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c -o dummy.o
dummy.c
/usr/src/linux-2.2.11/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/src/linux-2.2.11/include/linux/vmalloc.h:7,
from /usr/src/linux-2.2.11/include/asm/io.h:101,
from dummy.c:48:
/usr/src/linux-2.2.11/include/asm/pgtable.h:408: `PAGE_OFFSET_RAW'
undeclared (first use this function)
/usr/src/linux-2.2.11/include/asm/pgtable.h:408: (Each undeclared
identifier is reported only once
/usr/src/linux-2.2.11/include/asm/pgtable.h:408: for each function it
appears in.)
/usr/src/linux-2.2.11/include/asm/pgtable.h: In function
`pte_alloc_kernel':
/usr/src/linux-2.2.11/include/asm/pgtable.h:497: `PAGE_OFFSET_RAW'
undeclared (first use this function)
/usr/src/linux-2.2.11/include/asm/pgtable.h: In function `pte_alloc':
/usr/src/linux-2.2.11/include/asm/pgtable.h:515: `PAGE_OFFSET_RAW'
undeclared (first use this function)
/usr/src/linux-2.2.11/include/asm/io.h: In function `virt_to_phys':
In file included from dummy.c:48:
/usr/src/linux-2.2.11/include/asm/io.h:112: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/usr/src/linux-2.2.11/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux-2.2.11/include/asm/io.h:117: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/usr/src/linux-2.2.11/include/asm/io.h: In function `check_signature':
/usr/src/linux-2.2.11/include/asm/io.h:175: `PAGE_OFFSET_RAW' undeclared
(first use this function)
make[2]: *** [dummy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.11/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.11/drivers'
make: *** [_mod_drivers] Error 2
nt6 (/usr/src/linux-2.2.11): gcc -v
Reading specs from /usr/lib/gcc-lib/i586-unknown-linux/2.7.2.3/specs
gcc version 2.7.2.3
------------------ Posted via CNET Linux Help ------------------
http://www.searchlinux.com
2. US-MD Senior SUN Solaris Systems Administrator
3. kernel 2.2.11 compile problem
4. Getting rid of ^M characters
5. Compile problem with kernel 2.2.11
6. Will someone please recommend a good, cheap LAN adapter?
7. Attempting to upgrade kernel from 2.2.5-15 to 2.2.11
8. futex-fixes-2.5.69-A0
9. SCSI Tekram DC-390F on linux 2.0.36 (or 2.2.11)
10. NFS Problems with Kernel 2.2.11
11. affs freezes kernel 2.2.11
12. Kernel 2.2.11, always defragment IP?
13. Interrupt error from init after 2.2.11 kernel update