2.2.15-10 compile fails at the beginning compiling main.c

From: Miles Lane (miles@amazon.com)
Date: Sun Feb 27 2000 - 02:01:29 EST


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

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



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:16 EST