From owner-freebsd-questions Sun Aug 10 08:27:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA25454 for questions-outgoing; Sun, 10 Aug 1997 08:27:07 -0700 (PDT) Received: from pos-srv4100.javanet.com (pos-srv4100.javanet.com [208.134.56.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA25447 for ; Sun, 10 Aug 1997 08:27:03 -0700 (PDT) Received: from carson ([205.177.146.100] (may be forged)) by pos-srv4100.javanet.com (8.8.6/8.7) with SMTP id LAA01694; Sun, 10 Aug 1997 11:26:53 -0400 (EDT) Message-ID: <33EDDDB4.64E013@javanet.com> Date: Sun, 10 Aug 1997 11:27:03 -0400 From: John Szumowski X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.18 i586) MIME-Version: 1.0 To: Randall Hopper CC: freebsd-questions@freebsd.org Subject: Re: doscmd compile? References: <33EA1F2F.54E0@javanet.com> <19970809195331.54808@ct.picker.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Randall Hopper wrote: > [snip] > Worked great for me. FreeBSD 2.2.1, doscmd-970320.tar.gz out of the > 2.2.2-RELEASE/xperimnt dir. Full ssys & slkm untarred off > /usr/src/{sys,lkm} before patch applied (slkm probably not necessary). > Updated /usr/include/machine with the changed headers in > /usr/src/sys/i386/include: > > cpu.h md_var.h proc.h reg.h sysarch.h > frame.h pcb.h psl.h signal.h vm86.h > > (despite the README comment, found I needed to do this). You got the > kernel built. For the lkm, just cded to /usr/src/lkm/vm86 (where the new > Makefile from the patch was placed) and "make" and it built: > > cc -O -I. -DLKM -DVM86_MODULE -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/usr/src/lkm/vm86/../../sys -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -c /usr/src/lkm/vm86/../../sys/i386/i386/vm86.c > ld -r -o tmp.o vm86.o > symorder -c symb.tmp tmp.o > mv tmp.o vm86_mod.o > > Randall Hopper Ok...I've gotten that far. I've rebuild the kernel and lkm. However, I can't "make install" with doscmd itself. (in /usr/local/src/doscmd-970320) --- # make install install -c -s -o bin -g kmem -m 2555 doscmd usage: ...[snip] *** Error code 64 Stop. --- Any ideas of what's going wrong? I'm not familiar with makefiles yet, so I'm not sure what to fix. Thanks again.