From owner-freebsd-questions Sat Aug 9 16:57:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA21487 for questions-outgoing; Sat, 9 Aug 1997 16:57:14 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id QAA21479 for ; Sat, 9 Aug 1997 16:57:11 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 9 Aug 1997 19:56:09 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA27141; Sat, 9 Aug 97 19:56:08 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA28379; Sat, 9 Aug 1997 19:53:32 -0400 Message-Id: <19970809195331.54808@ct.picker.com> Date: Sat, 9 Aug 1997 19:53:31 -0400 From: Randall Hopper To: John Szumosky Cc: freebsd-questions@FreeBSD.ORG Subject: Re: doscmd compile? References: <33EA1F2F.54E0@javanet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <33EA1F2F.54E0@javanet.com>; from John Szumosky on Thu, Aug 07, 1997 at 03:17:03PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John Szumosky: |Last night, I downloaded the doscmd sources...I can patch the kernel |source files and build the resulting kernel, but making lkm always |bombs- it can't find XXX directory or file (Don't have the laptop handy |to be more specific). | |Just curious as to whether anybody's gotten doscmd working. | |It would be GREAT not to have 95 around. 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