From owner-freebsd-current@FreeBSD.ORG Sun Feb 10 00:31:46 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3D6E4484; Sun, 10 Feb 2013 00:31:46 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 06363FCC; Sun, 10 Feb 2013 00:31:45 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U4Kpd-0005Fr-2V; Sun, 10 Feb 2013 00:31:45 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4Kpc-0000Mr-Jt; Sun, 10 Feb 2013 00:31:44 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1A0ViLR046821; Sun, 10 Feb 2013 00:31:44 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1A0VikU046820; Sun, 10 Feb 2013 00:31:44 GMT (envelope-from mexas) Date: Sun, 10 Feb 2013 00:31:44 GMT From: Anton Shterenlikht Message-Id: <201302100031.r1A0VikU046820@mech-cluster241.men.bris.ac.uk> To: freebsd@edvax.de Subject: Re: building custom kernel on -current: unknown option "COMPAT_LINUX" In-Reply-To: <20130210012751.76957b14.freebsd@edvax.de> Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 00:31:46 -0000 From freebsd@edvax.de Sun Feb 10 00:29:36 2013 On Sun, 10 Feb 2013 00:18:06 GMT, Anton Shterenlikht wrote: > This is on amd64 r246552 > > I added > > options COMPAT_43 > options COMPAT_LINUX > options COMPAT_LINUX32 > > to the kernel config, > following sys/amd64/conf/NOTES > > On buildkernel I get: > > unknown option "COMPAT_LINUX" > > What am I missing? Do you also have those (from a working i386 system): # Linux support options COMPAT_LINUX # Enable Linux ABI emulation options LINPROCFS # Enable the linux-like proc filesystemsupport (requires COMPAT_LINUX and PSEUDOFS) options LINSYSFS # Enable the linux-like sys filesystem support (requires COMPAT_LINUX and PSEUDOFS) device lindev options COMPAT_AOUT # Enable i386 a.out binary support (note PSEUDOFS is also needed) No, I haven't added those. Are these necessary to have the linux binary compatibility? The handbook only mentions COMPAT_LINUX. Thanks Anton