From owner-freebsd-questions Wed Oct 16 7:34:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87C1E37B401 for ; Wed, 16 Oct 2002 07:34:25 -0700 (PDT) Received: from otter.mills-atl.com (dsl-64-192-140-77.telocity.com [64.192.140.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6F2443E9E for ; Wed, 16 Oct 2002 07:34:24 -0700 (PDT) (envelope-from jmmills@telocity.com) Received: from localhost (jmills@localhost) by otter.mills-atl.com (8.9.3/8.9.3) with ESMTP id KAA02595; Wed, 16 Oct 2002 10:35:34 -0400 X-Authentication-Warning: otter.mills-atl.com: jmills owned process doing -bs Date: Wed, 16 Oct 2002 10:35:34 -0400 (EDT) From: John Mills X-Sender: jmills@otter.mills-atl.com Reply-To: John Mills To: joe Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Linux Compatability and compiling linux program - problem with... In-Reply-To: <200210152118.18615.joe@dubium.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello - On Tue, 15 Oct 2002, joe wrote: > I am atrying to compile a linux program under FreeBSD 4.7-STABLE. I > have installed linux_base but seem to be missing a number of files, > specifically header files. DISCLAIMER - this is from a FreeBSD newbie. If the program is not Linux-specific (or specific to linux-only libraries), you might try using generic sources and running 'configure', then compiling instead of building from Linux sources. The negative is that the app would not be automagically managed - you would have to know it was there, look for upgrades, etc. The missing headers are things I would expect in the Linux kernel sources, if that gives you any leads. > SoI obviously don't have the header files... Do I need to install the > entire linux src? There may be a port of just the headers. That should be enough of the sources to compile. You would need suitable a suitable intermediate library to link, which takes you beyond my knowledge here. (That point may actually have passed a few paragraphs ago. &8+P) - John Mills To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message