From owner-freebsd-questions Mon Aug 11 19:35:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA19743 for questions-outgoing; Mon, 11 Aug 1997 19:35:52 -0700 (PDT) Received: from max.roskildebc.dk (max.roskildebc.dk [194.182.101.4]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id TAA19735 for ; Mon, 11 Aug 1997 19:35:49 -0700 (PDT) Received: by max.roskildebc.dk (5.61/9.8) with UUCP id AA08378; Tue, 12 Aug 97 04:23:34 +0200 Received: by swimsuit.roskildebc.dk (0.99.970109) id AA00756; 12 Aug 97 04:17:29 +0100 From: Randall.Hopper@234-49-99.swimsuit.roskildebc.dk (Randall Hopper) Date: 10 Aug 97 01:53:31 +0100 Subject: Re: doscmd compile? Message-Id: <763_9708120417@swimsuit.roskildebc.dk> References: <33EA1F2F.54E0@javanet.com> Organization: Fidonet: Swimsuit Safari <-> Internet Gateway To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From: Randall Hopper Subject: Re: doscmd compile? 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 -- |Fidonet: Randall Hopper 2:234/49.99 |Internet: Randall.Hopper@234-49-99.swimsuit.roskildebc.dk | Standard disclaimer: The views of this user are strictly his own.