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

Giorgos Keramidas keramida at
Tue Dec 4 08:55:25 PST 2007

On 2007-12-04 08:29, "Saravanan Shanmugham (sarvi)" <sarvi at> wrote:
> 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.

The project is in its 'prenatal' stage yet, but I'm trying to move a bit
faster towards a buildable source tree on Linux.  As Philip notes:

On 2007-12-04 11:33, "Philip M. Gollucci" <pgollucci at> wrote:
> __dead2 is a custom gcc modification.  It just means the function
> doesn't return IIRC.

There's still a fair amount of work to make the source tree buildable on
non-FreeBSD platforms.  One of the next steps should be to make these
FreeBSD-specific bits (mostly stuff from src/sys/sys/cdefs.h) available
outside of the full FreeBSD src/ tree too.

Happily, the FreeBSD source is BSD-licensed, so I can import parts of it
to the bmake source tree easily :)

More information about the freebsd-questions mailing list