*BSD News Article 64973


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!imci4!newsfeed.internetmci.com!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!news
From: csdayton+usenet@midway.uchicago.edu (Soren Dayton)
Subject: Re: Compiling BIND 4.9.3pl1
In-Reply-To: fred@lightside.net's message of Fri, 05 Apr 1996 13:16:07 -0800
X-Nntp-Posting-Host: woodlawn.uchicago.edu
Message-ID: <xcdwx3ul4sm.fsf@woodlawn.uchicago.edu>
To: fred@lightside.net (Fred Condo)
Lines: 20
Sender: csdayton@woodlawn.uchicago.edu
Organization: uchi.comp.unix viper cabal
X-Newsreader: Gnus v5.1
References: <fred-0504961316070001@appenzell.lightside.net>
Date: Fri, 5 Apr 1996 21:49:45 GMT

Our friend, fred@lightside.net (Fred Condo), wrote:

> I'm assuming that the BIND/named that is part of the FreeBSD 2.1.0
> distribution is older than 4.9.3pl1. However, when I try to compile BIND,
> I get the following error:
> 
> bash# make
> /usr/home/group/bind/freebsd/res
> cc   -O -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

bind provides its own incomplete cdefs.h and that is getting sucked in
rather than the one in <sys/cdefs.h>

take that out and it should work fine

Soren