On Thu, Aug 31, 2000 at 08:58:53PM -0400, Kevin Lawton wrote: > [EMAIL PROTECTED] wrote: > > > Well, you did ask: (kernel source is 2.4.0-test6, in /usr/src/linux): > > > > make -C kernel CC="gcc" CFLAGS="-g -O2 -Wall -Wstrict-prototypes" LDFLAGS="" > > make[1]: Entering directory `/usr/local/src/cvs/plex86/kernel' > > gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer >-malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ >-I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. host-linux.c > > host-linux.c: In function `init_module': > > host-linux.c:198: warning: passing arg 4 of `create_proc_info_entry' from >incompatible pointer type > > host-linux.c: In function `reserve_guest_pages': > > host-linux.c:785: invalid type argument of `->' > > host-linux.c: In function `unreserve_guest_pages': > > host-linux.c:796: invalid type argument of `->' > > host-linux.c: In function `host_map_page': > > host-linux.c:931: warning: implicit declaration of function `MAP_NR' > > For now, can you 'touch host-linux.o' and 'make' the rest of the > kernel directory? After touching, here's a make log (attached). Looks okay. Kenneth
gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. host-all.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. monitor.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. -D__ASSEMBLY__ nexus.S /tmp/ccA6HGn6.s: Assembler messages: /tmp/ccA6HGn6.s:189: Warning: indirect ljmp without `*' /tmp/ccA6HGn6.s:284: Warning: indirect ljmp without `*' gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. fault.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. prescan.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. monprint.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. phymem.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. monpanic.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. vpaging.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. system.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. vsegment.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -I./include -I./.. -I.. vflag.c make -C emulation make[1]: Entering directory `/usr/local/src/cvs/plex86/kernel/emulation' gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE emulation.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE fetchdecode.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE io_pro.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE exception.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE protect_ctrl.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE ctrl_xfer32.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE access.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE stack_pro.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE segment_pro.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE paging.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE segment_ctrl.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE ctrl_xfer_pro.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE stack.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE flag.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE ctrl_xfer16.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE data_xfer16.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE data_xfer32.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE regs.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE logical16.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE logical32.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE vm8086.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE soft_int.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE tasking.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE data_xfer8.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE shift32.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE proc_ctrl.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE arith32.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE arith16.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE arith8.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE logical8.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE mult32.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE string.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE ctrl_xfer8.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE io.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE shift8.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE mult8.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE shift16.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE mult16.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE bcd.c gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -DMODULE -DEMULATION -I../include -I../.. -DIN_MONITOR_SPACE bit.c ld -r emulation.o fetchdecode.o io_pro.o exception.o protect_ctrl.o ctrl_xfer32.o access.o stack_pro.o segment_pro.o paging.o segment_ctrl.o ctrl_xfer_pro.o stack.o flag.o ctrl_xfer16.o data_xfer16.o data_xfer32.o regs.o logical16.o logical32.o vm8086.o soft_int.o tasking.o data_xfer8.o shift32.o proc_ctrl.o arith32.o arith16.o arith8.o logical8.o mult32.o string.o ctrl_xfer8.o io.o shift8.o mult8.o shift16.o mult16.o bcd.o bit.o -o emu.o make[1]: Leaving directory `/usr/local/src/cvs/plex86/kernel/emulation' make -C emulation make[1]: Entering directory `/usr/local/src/cvs/plex86/kernel/emulation' make[1]: `emu.o' is up to date. make[1]: Leaving directory `/usr/local/src/cvs/plex86/kernel/emulation' ld -r host-linux.o host-all.o monitor.o nexus.o fault.o prescan.o monprint.o phymem.o monpanic.o vpaging.o system.o vsegment.o vflag.o emulation/emu.o -o plex86.o host-linux.o: file not recognized: File truncated make: *** [plex86.o] Error 1
