*BSD News Article 73012


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!nntp.uib.no!nntp-bergen.UNINETT.no!nntp-trd.UNINETT.no!not-for-mail
From: sthaug@nethelp.no (Steinar Haug)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem compiling named
Date: 07 Jul 1996 07:14:46 GMT
Organization: Nethelp Consulting, Trondheim, Norway
Lines: 24
Distribution: world
Message-ID: <4rno56$33h@verdi.nethelp.no>
References: <HUFF.96Jul7000532@sunspot.tiac.net>
NNTP-Posting-Host: trane.uninett.no
In-reply-to: huff@sunspot.tiac.net's message of 07 Jul 1996 04:05:32 GMT

[Robert Huff]

|   	I'm trying to compile named 4.9.2 (following the
|   instructions in the README) and the "make all" phase stops with:
|   
|   /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
|   
|   
|   	Is this a known problem?  What do I do to fix it?

Yes, known problem. Either rename compat/include/sys/cdefs.h to
something else so it won't be used, or comment out the

COMPINCL = compat/include

line in the Makefile.

By the way, 4.9.2 has known bugs, and is rather old by now. 4.9.4
has been released, and that's the one you should get.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no