Re: 2.1.90-pre3 won't compile

dean prichard (dp@lacasa.com)
Mon, 16 Mar 1998 01:18:21 -0700


add the following fix to mm/page_alloc.c

333,335c333,336
< min_free_pages = i;
< free_pages_low = i + (i>>1);
< free_pages_high = i + i;

---
> 	freepages.min = i;
> 	freepages.low = i + (i>>1);
> 	freepages.high = i + i;
> 

At 05:58 PM 3/16/98 +1100, you wrote: > Hi, all. I get the following when compiling 2.1.90-pre3: > >gcc -D__KERNEL__ -I/vindaloo1/kernel/v2.1/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -D__SMP__ -c -o swapfile.o swapfile.c >page_alloc.c: In function `free_area_init': >page_alloc.c:333: `min_free_pages' undeclared (first use 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 this function) >page_alloc.c:335: `free_pages_high' undeclared (first use this function) >make[2]: *** [page_alloc.o] Error 1 > > Regards, > > Richard.... > >- >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in >the body of a message to majordomo@vger.rutgers.edu > >

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