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.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!news2.acs.oakland.edu!news.tacom.army.mil!mail.petersen.net!w8sdz From: w8sdz@mail.petersen.net (Keith Petersen) Newsgroups: comp.protocols.tcp-ip.domains,comp.unix.bsd.freebsd.misc Subject: Re: Classless IN-ADDR.ARPA and resolver PROBLEM (gethostby*.getanswer) Followup-To: comp.protocols.tcp-ip.domains,comp.unix.bsd.freebsd.misc Date: 6 Jun 1996 19:23:47 GMT Organization: Vetronics Technology Center, US Army TACOM, Warren, Michigan USA Lines: 42 Distribution: inet Message-ID: <4p7b83$9fk@vtc.tacom.army.mil> References: <slrn4qu6d8.3vl.map@marikit.iphil.net> <slrn4qvae1.9ft.map@marikit.iphil.net> <4p3ngp$4uu@verdi.nethelp.no> NNTP-Posting-Host: mail.petersen.net X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.protocols.tcp-ip.domains:10616 comp.unix.bsd.freebsd.misc:20794 Steinar Haug (sthaug@nethelp.no) wrote: : [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 Thanks for the pointer. I looked in Makefile and found the first reference to /compat/include and commented it out. #COMPINCL = compat/include After I did that it compiled without error and is now running on my FreeBSD-2.1STABLE machine. BTW, I did apply Patch1 before compiling. Thanks for the reminder. Keith Petersen Petersen Data Management w8sdz@Mail.Petersen.Net