From owner-freebsd-questions Tue Jul 16 05:20:49 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA18236 for questions-outgoing; Tue, 16 Jul 1996 05:20:49 -0700 (PDT) Received: from www.hsc.wvu.edu (www.hsc.wvu.edu [157.182.98.68]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA18227 for ; Tue, 16 Jul 1996 05:20:47 -0700 (PDT) Received: (from jsigmon@localhost) by www.hsc.wvu.edu (8.6.12/8.6.12) id IAA07053; Tue, 16 Jul 1996 08:22:23 -0400 Date: Tue, 16 Jul 1996 08:22:23 -0400 (EDT) From: Jeremy Sigmon To: Mark Ovens <100104.10@CompuServe.COM> cc: questions Subject: Re: Building a Linux compatible kernel - How ? In-Reply-To: <960715214909_100104.10_EHQ37-1@CompuServe.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I installed it from the ports section. In my /usr/bin there is a file called linux When I run it (as root...) it installs the linux emulator. The file is also present in my /usr/src/lkm/linux/ directory. I hope this helps your find it. ====================================================================== Jeremy Sigmon B.S. ChE | WebSerf of the Robert C. Byrd Health | Sciences Center of West Virginia University | This Space For Rent WWW.HSC.WVU.EDU | Graduate Student in Computer Science | Office : 293-1060 | On 15 Jul 1996, Mark Ovens wrote: > I am trying, without success, to build a FreeBSD kernel with Linux > compatibility. > > I have installed the package linux_lib-1.0 which seems to come with only > the following brief instructions :- > > These libraries are part of the linux compatibility options > for FreeBSD. To get linux compat working you will need > > 1) A linux binary such as doom, Wingz, or maple > > 2) a kernel with ``options LINUX_COMPAT'' in the config file > > 3) these libraries > > 4) the linux compat lkm (ie run /usr/bin/linux) > > then run the linux binary. > > I added the "LINUX_COMPAT" option to the config file, I also tried > "COMPAT_LINUX" as other options which include "COMPAT" are of the format > "COMPAT_xxxxx", but in both cases the Makefile produced contained no reference > to "linux", except for the options line. > > I would expect the build to include some or all of the files in > /usr/src/sys/i386/linux. > > Also, the instruction 4), " the linux compat lkm (ie run /usr/bin/linux)" > is puzzling me. There is no file called "linux" in /usr/bin, or anywhere else on > my system (there is an executable "linux_mod" but that just produces the error > "Exec format error. Wrong Architecture" which all Linux programs seem to give. > > I am at a loss as to how to make it all work. > > Any help would be greatly appreciated. > > Regards, > Mark Ovens (100104.10@compuserve.com) >