From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 16:29:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C947716A420 for ; Tue, 4 Dec 2007 16:29:40 +0000 (UTC) (envelope-from sarvi@cisco.com) Received: from sj-iport-3.cisco.com (sj-iport-3-in.cisco.com [171.71.176.72]) by mx1.freebsd.org (Postfix) with ESMTP id A1D5F13C45D for ; Tue, 4 Dec 2007 16:29:40 +0000 (UTC) (envelope-from sarvi@cisco.com) Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-3.cisco.com with ESMTP; 04 Dec 2007 08:29:39 -0800 Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id lB4GTcdH017832; Tue, 4 Dec 2007 08:29:38 -0800 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id lB4GTSnr011125; Tue, 4 Dec 2007 16:29:33 GMT Received: from xmb-sjc-229.amer.cisco.com ([128.107.191.122]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 4 Dec 2007 08:29:23 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 4 Dec 2007 08:29:14 -0800 Message-ID: In-Reply-To: <20071203110138.GB7998@kobe.laptop> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux] Thread-Index: Acg1m/1FuGLVzJOOQ5and2TItMeT5wA9ituA References: <86d4touuf6.fsf@Llea.celt.neu> <20071203110138.GB7998@kobe.laptop> From: "Saravanan Shanmugham (sarvi)" To: "Giorgos Keramidas" , "Micha?l Gr?newald" X-OriginalArrivalTime: 04 Dec 2007 16:29:23.0846 (UTC) FILETIME=[D481CA60:01C83692] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=2115; t=1196785778; x=1197649778; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sarvi@cisco.com; z=From:=20=22Saravanan=20Shanmugham=20(sarvi)=22=20 |Subject:=20RE=3A=20FreeBSD=20make=20on=20other=20platforms=20[was=3A=20R e=3A=20Building=20FreeBSD=20onLinux] |Sender:=20; bh=Vttzt4e52d+XD9GD7TGA7I0fuNGzYVW3D4rcKz47Ey0=; b=Hn7A+8n/OQpgmMxEblypkpSCjXovR/v3eS0x/2/pTLV8vJLA+PUWfiEi6pe0khbmw+AzqicT ZEquhfZT2TOwWP+JAkttjK4HvXpYY/iBuXOk9qniQo6ykpB79OeE5dj+; Authentication-Results: sj-dkim-3; header.From=sarvi@cisco.com; dkim=pass (s ig from cisco.com/sjdkim3002 verified; ); Cc: freebsd-questions@freebsd.org Subject: RE: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 16:29:41 -0000 Hi Giorgos, The build failed for me 'with a syntax error before "__dead2" '.=20 Are there any special include files I am supposed to have? I had trouble with the autoconf version I had installed and had to upgrade to the latest.=20 Then I was able to move past, autoconf, automake, configure. Whhen I went to make I got that error. It looks like __dead2 is a #define in cdefs.h found in some BSD installs. I am building on RedHat Enterprise Linux 4 and the sys/cdefs.h file does not see to define __dead2. Is this make file supposed to build on Linux. If so are there pe-reqs before I can build it. Thanks, Sarvi -----Original Message----- From: Giorgos Keramidas [mailto:keramida@ceid.upatras.gr]=20 Sent: Monday, December 03, 2007 3:02 AM To: Micha?l Gr?newald Cc: Saravanan Shanmugham (sarvi); freebsd-questions@freebsd.org Subject: FreeBSD make on other platforms [was: Re:=20 Building FreeBSD onLinux] Importance: High =20 On 2007-12-03 08:08, Micha?l Gr?newald=20 wrote: >"Saravanan Shanmugham (sarvi)" writes: >> I have tried GNU Make 3.80 as well as pmake. And I=20 can't seem to find=20 >> bmake for Linux. > > I have found in my vaults a script that downloads pmake=20 source from=20 > your favorite FreeBSD's mirror and builds a binary that=20 worked on (at=20 > least one workstation running) Linux. =20 Since there seems to be so much interest in running FreeBSD make(1) on other platforms, I've committed what I have=20 done so far to . It's not=20 a full port of FreeBSD make(1) yet, but anyone interested=20 to help is invited to hop in and give me a hand :) =20 The main goal of this `project' is to have a fully=20 buildable version of FreeBSD make(1) on Linux and Solaris,=20 so that one can build FreeBSD-like makefiles by running: =20 /usr/local/bin/bmake [ -f BSDmakefile ] =20