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

Philip M. Gollucci pgollucci at
Tue Dec 4 08:33:42 PST 2007

Saravanan Shanmugham (sarvi) 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.
> 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.
__dead2 is a custom gcc modification.  It just means the function
doesn't return IIRC.

Philip M. Gollucci (philip at
Senior System Admin - Riderway, Inc. /
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

More information about the freebsd-questions mailing list