2.1.90-3 won't compile: undefs in mm/page_alloc.c

Jim Bray (jb@as220.org)
Sat, 14 Mar 1998 21:21:50 -0500 (EST)


gcc -D__KERNEL__ -I/src/linux-2.1.90-3/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o page_alloc.o
page_alloc.c
page_alloc.c: In function `free_area_init':
page_alloc.c:333: `min_free_pages' undeclared (first use in this function)
page_alloc.c:333: (Each undeclared identifier is reported only once
page_alloc.c:333: for each function it appears in.)
page_alloc.c:334: `free_pages_low' undeclared (first use in this function)
page_alloc.c:335: `free_pages_high' undeclared (first use in this
function)
make[2]: *** [page_alloc.o] Error 1
make[2]: Leaving directory `/src/linux-2.1.90-3/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/src/linux-2.1.90-3/mm'
make: *** [linuxsubdirs] Error 2
[root@gilgamesh linux]# find . -name "page_al*"
./mm/page_alloc.c

^X[root@gilgamesh linux]# find . -name "*.[ch]" -exec grep
'free_pages_low' -a -int
find: missing argument to `-exec'
[root@gilgamesh linux]# find . -name "*.[ch]" -exec grep 'free_pages_low'
\{\} \; -a -print
free_pages_low = i + (i>>1);
./mm/page_alloc.c
[root@gilgamesh linux]#

--Jim <a href="http://as220.org/jb"> My Page</a>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu