Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!cpmt.cyberport.net!news.cdsnet.net!not-for-mail From: mrcpu@schizo.cdsnet.net (Jaye Mathisen) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Bind-4.9.2 & unistd.h -> "parse error before '__dead2' Date: 15 Mar 1996 09:45:36 GMT Organization: CDS Internet Lines: 30 Message-ID: <4ibe81$cid@news.cdsnet.net> References: <4i4o2p$cpl@saluki-news.wham.siu.edu> NNTP-Posting-Host: schizo.cdsnet.net Easy copout way is to just remove the the -I./compat include, or rename the .h files in the compat dir. 4.9.3-Patch1 seems to work fine compiled that way. In article <4i4o2p$cpl@saluki-news.wham.siu.edu>, Jim Dutton <jimd@dutton2.it.siu.edu> wrote: >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 ? >