Problems with 2.1.8

John Sanabria (josanabr@sunsite.univalle.edu.co)
Sat, 30 Nov 1996 05:21:33 +0500 (GMT)


i download, the file dosemu-0.64.1.tgz, and i untared. I patch the
file vm86.c that i found in /usr/src/linux-2.1.8/.../vm86.c
with the patch, that i found in
dosemu/src/arch/linux/kernel-patches/vm86plus-2.1.8.patch. I recompiled
the kernel. And reboot the machine, ok!, but when i try to compile the
dosemu, appear the next:

./mkfatimage -l DOSEMU /usr/src/dosemu-0.64.1/0.64.1.0/commands/* >/usr/src/dosemu-0.64.1/etc/hdimage.dist
make[3]: Leaving directory `/usr/src/dosemu-0.64.1/src/tools/periph'
make[3]: Entering directory `/usr/src/dosemu-0.64.1/src/arch/linux/emumod'
gcc -Wall -I/usr/src -I/usr/src/dosemu-0.64.1/src/include -I/usr/src/linux-2.1.8/include -I/usr/src/dosemu-0.64.1/src/base/dev/pic -I/usr/src/dosemu-0.64.1/src/dosext/dpmi -I/usr/X11R6/include -O2 -fomit-frame-pointer -D__KERNEL__ -DLINUX -DWANT_WINDO
WS -D_LOADABLE_VM86_ -c vm86.c -o vm86.o
vm86.c: In function `_TRANSIENT_save_v86_state':
vm86.c:67: warning: implicit declaration of function `memcpy_tofs'
vm86.c:68: warning: implicit declaration of function `put_fs_long'
vm86.c: In function `_TRANSIENT_sys_vm86':
vm86.c:120: warning: implicit declaration of function `verify_area'
vm86.c:120: `VERIFY_WRITE' undeclared (first use this function)
vm86.c:120: (Each undeclared identifier is reported only once
vm86.c:120: for each function it appears in.)
vm86.c:147: warning: implicit declaration of function `memcpy_fromfs'
vm86.c:154: structure has no member named `__null_fs'
vm86.c:155: structure has no member named `__null_gs'
vm86.c: In function `is_revectored':
vm86.c:254: `VERIFY_READ' undeclared (first use this function)
vm86.c: In function `do_int':
vm86.c:346: `VERIFY_READ' undeclared (first use this function)
vm86.c:348: warning: implicit declaration of function `get_fs_word'
vm86.c: In function `_TRANSIENT_handle_vm86_fault':
vm86.c:411: warning: implicit declaration of function `get_fs_long'
vm86.c:474: warning: implicit declaration of function `get_fs_byte'
make[3]: *** [vm86.o] Error 1
make[3]: Leaving directory `/usr/src/dosemu-0.64.1/src/arch/linux/emumod'
make[2]: *** [arch/linux/emumod] Error 2
make[2]: Leaving directory `/usr/src/dosemu-0.64.1/src'
make[1]: *** [doslibnew] Error 2
make[1]: Leaving directory `/usr/src/dosemu-0.64.1/src'
make: *** [default] Error 2

My kernel 2.1.8, gcc 2.7.2. Thank you for your help.

-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-
| |*=-
| http://calvin.univalle.edu.co/~josanabr | |
* * |
| e-mail: josanabr@calvin.univalle.edu.co | |
| | |
-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- |
| |
-=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=- -=*=-