*BSD News Article 63628


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!cs.utexas.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!saluki-news.wham.siu.edu!usenet
From: Jim Dutton <jimd@dutton2.it.siu.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Bind-4.9.2 & unistd.h -> "parse error before '__dead2'
Date: 12 Mar 1996 20:50:33 GMT
Organization: Southern Illinois Unversity
Lines: 19
Message-ID: <4i4o2p$cpl@saluki-news.wham.siu.edu>
NNTP-Posting-Host: dutton2.it.siu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.12 (X11; I; SunOS 5.4 sun4m)
X-URL: news:comp.unix.bsd.freebsd.misc

In trying to compile BIND v4.9.2 with FreeBSD v2.0.5, I get the following
error:

cc -g -I../include -I../compat/include  -DUSE_OPTIONS_H -c herror.c
In file included from herror.c:65:
/usr/include/unistd.h:53: parse error before `__dead2'
/usr/include/unistd.h:53: warning: data definition has no type or storage class
*** Error code 1


From /usr/include/unistd.h (including line 53):

__dead void
         _exit __P((int)) __dead2;
int      access __P((const char *, int));


Is the declaration for '__dead2' correct ?