It likely doesn't compile because the source file is rather old and no
longer maintained. I have found an alternative though - a web interface
where a hosts file can be punched in and a zone file returned:
http://pgl.yoyo.org/adservers/hosts2zonefile.php
Also on this website is described a rather clever scheme for using the name
server to block pop-up ads.
Works quite well - they just need a utility for creating the reverse zone as
well.
George
George Bell wrote:
> I'm having a lot of difficulty finding a working host.cvt - a utility for
> bind8 that converts /etc/hosts.conf to a zone file. I tried to compile it
> from source on " sources.isc.org/network/utils ". But it does not compile
> due to what appears to be bugs in the program:
>
> main.c:44: conflicting types for `sys_errlist'
> /usr/include/stdio.h:552: previous declaration of `sys_errlist'
> main.c: In function `rdsoa':
> main.c:416: warning: extern declaration of `open' doesn't match global one
> main.c:431: warning: assignment makes pointer from integer without a cast
> main.c: In function `strsave':
> main.c:453: warning: type mismatch with previous implicit declaration
> main.c:431: warning: previous implicit declaration of `malloc'
> make: *** [main.o] Error 1
>
> Looking on google I can find only patches.
> Rpmseek turned up zip also.
>
> Anyone know where I could find a working version?
>
> George
>
--
#
#...