Date: Tue, 16 Jul 1996 08:22:23 -0400 (EDT) From: Jeremy Sigmon <jsigmon@www.hsc.wvu.edu> To: Mark Ovens <100104.10@CompuServe.COM> Cc: questions <questions@FreeBSD.org> Subject: Re: Building a Linux compatible kernel - How ? Message-ID: <Pine.BSF.3.91.960716081947.6978A-100000@www.hsc.wvu.edu> In-Reply-To: <960715214909_100104.10_EHQ37-1@CompuServe.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
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) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960716081947.6978A-100000>