Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 1996 21:19:02 -0700 (PDT)
From:      Doug White <dwhite@riley-net170-164.uoregon.edu>
To:        Mark Ovens <100104.10@CompuServe.COM>
Cc:        questions <questions@FreeBSD.org>
Subject:   Re: Building a Linux compatible kernel - How ?
Message-ID:  <Pine.BSI.3.94.960715211754.2447C-100000@gdi.uoregon.edu>
In-Reply-To: <960715214909_100104.10_EHQ37-1@CompuServe.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Jul 1996, Mark Ovens wrote:

> 	I am trying, without success, to build a FreeBSD kernel with Linux
> compatibility.

What version?  (I think it makes a difference with 2.1.5 now)

> 	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.

add LINUX_COMPAT and COMPAT_LINUX.  Then rebuild the lkm from the sources
(in the 'lkm' distribution).  Then load the lkm on startup.  That should
whack it into shape.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960715211754.2447C-100000>