*BSD News Article 70216


Return to BSD News archive

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.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!nntp.uio.no!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!not-for-mail
From: sthaug@nethelp.no (Steinar Haug)
Newsgroups: comp.protocols.tcp-ip.domains,comp.unix.bsd.freebsd.misc
Subject: Re: Classless IN-ADDR.ARPA and resolver PROBLEM (gethostby*.getanswer)
Date: 05 Jun 1996 10:28:41 GMT
Organization: Nethelp Consulting, Trondheim, Norway
Lines: 27
Distribution: inet
Message-ID: <4p3ngp$4uu@verdi.nethelp.no>
References: <slrn4qu6d8.3vl.map@marikit.iphil.net> <slrn4qvae1.9ft.map@marikit.iphil.net>
	<4ou6mu$1hm@verdi.nethelp.no> <4p3l2e$ce1@vtc.tacom.army.mil>
NNTP-Posting-Host: trane.uninett.no
In-reply-to: w8sdz@mail.petersen.net's message of 5 Jun 1996 09:46:54 GMT
Xref: euryale.cc.adfa.oz.au comp.protocols.tcp-ip.domains:10596 comp.unix.bsd.freebsd.misc:20692

[Keith Petersen]

|   : You should upgrade to BIND 4.9.3. The official home of BIND is
|   
|   :         ftp://ftp.vix.com/pub/bind/release/4.9.3/bind-4.9.3-REL.tar.gz
|   
|   When I tried to compile this release on FreeBSD-2.1STABLE it immediately
|   errored out with:
|   
|   $ make
|   /usr/home/w8sdz/nbind/native.b/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
|   
|   Stop.
|   *** Error code 1
|   
|   Stop.

This is a well known problem. FreeBSD doesn't need the compatibility
definitions in compat/include. Either remove compat/include/sys/cdefs.h,
or remove -I../compat/include from the Makefile.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no