From: William S. <wst...@po...> - 2000-10-31 14:34:49
|
Good morning, Jeff, all, On Tue, 31 Oct 2000, Jeff Dike wrote: > > memory.c: In function `copy_page_range': > > memory.c:230: warning: implicit declaration of function > > `ptep_clear_wrprotect' > > Put > > #include <asm-generic/pgtable.h> > > at the bottom of asm-um/pgtable.h. That should clear up the missing > declarations. And it might fix the others as well. Bingo! > This is just from staring at the patch and the code being patched, YMMV... > > > blk.h from cvs had a "#define DEVICE_INTR do_ida" under compaq_smart2 > > that didn't seem to have relevance for uml and wasn't even mentioned > > in 2.4.0-test1 through 2.4.0-test10-pre7. > > Oops. I guess I wasn't paying enough attention :-) No biggie. The only changed files in this patch from the previous one are: blk.h: useless do_ida removed pgtable.h: included asm-generic/pgtable.h param.h: CLOCKS_PER_SEC defined to be 20 - correct? > > Here's hoping this saves Jeff a little work on the official merge. > > Let me know if it boots :-) It's getting a lot closer: gcc -D__KERNEL__ -I/usr/src/uml-linux/linux-2.4.0-test10-pre7.uml/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -g -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH="i386" -DNESTING=0 -I../include -c -o tlb.o tlb.c tlb.c: In function `fix_range': tlb.c:73: structure has no member named `pte' tlb.c:73: structure has no member named `pte' tlb.c:75: warning: passing arg 2 of `map' makes integer from pointer without a cast tlb.c:77: warning: passing arg 1 of `munmap' makes pointer from integer without a cast tlb.c:78: warning: passing arg 2 of `map' makes integer from pointer without a cast tlb.c:86: warning: passing arg 1 of `munmap' makes pointer from integer without a cast tlb.c:92: warning: passing arg 1 of `munmap' makes pointer from integer without a cast tlb.c: In function `init_flush_vm': tlb.c:128: warning: passing arg 2 of `map' makes integer from pointer without a cast tlb.c: In function `add_process_vmas': tlb.c:260: warning: implicit declaration of function `malloc' tlb.c:260: warning: assignment makes pointer from integer without a cast make[1]: *** [tlb.o] Error 1 make[1]: Leaving directory `/usr/src/uml-linux/linux-2.4.0-test10-pre7.uml/arch/um/kernel' make: *** [_dir_/usr/src/uml-linux/linux-2.4.0-test10-pre7.uml/arch/um/kernel] Error 2 Cheers, - Bill --------------------------------------------------------------------------- Q: Is it possible to set up masquerading timeouts that TCP connection never expires even if there are no any packets traveling? A: Sure. # ipchains -M -S 13564800 0 0 That'll last you up until January 1, 2000, and after the rioting will start and you won't have to worry about masquerading any more. 8-) -- Paul Rusty Russell <Pau...@ru...> -------------------------------------------------------------------------- William Stearns (wst...@po...). Mason, Buildkernel, named2hosts, and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com -------------------------------------------------------------------------- |