FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux]

Saravanan Shanmugham (sarvi) sarvi at
Tue Dec 4 08:29:41 PST 2007

Hi Giorgos,
     The build failed for me 'with a syntax error before "__dead2" '. 
     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. 
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

Is this make file supposed to build on Linux. If so are there pe-reqs
before I can build it.


     -----Original Message-----
     From: Giorgos Keramidas [mailto:keramida at] 
     Sent: Monday, December 03, 2007 3:02 AM
     To: Micha?l Gr?newald
     Cc: Saravanan Shanmugham (sarvi); freebsd-questions at
     Subject: FreeBSD make on other platforms [was: Re: 
     Building FreeBSD onLinux]
     Importance: High
     On 2007-12-03 08:08, Micha?l Gr?newald 
     <michael.grunewald at> wrote:
     >"Saravanan Shanmugham (sarvi)" <sarvi at> writes:
     >> I have tried GNU Make 3.80 as well as pmake. And I 
     can't seem to find 
     >> bmake for Linux.
     > I have found in my vaults a script that downloads pmake 
     source from 
     > your favorite FreeBSD's mirror and builds a binary that 
     worked on (at 
     > least one workstation running) Linux.
     Since there seems to be so much interest in running FreeBSD
     make(1) on other platforms, I've committed what I have 
     done so far to <>.  It's not 
     a full port of FreeBSD make(1) yet, but anyone interested 
     to help is invited to hop in and give me a hand :)
     The main goal of this `project' is to have a fully 
     buildable version of FreeBSD make(1) on Linux and Solaris, 
     so that one can build FreeBSD-like makefiles by running:
     	/usr/local/bin/bmake [ -f BSDmakefile ]

More information about the freebsd-questions mailing list