Re.: Problem applying Security Advisory 2007-003 fix

"David H. Gutteridge" <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
>Hello,
>I'm having a problem with re-building bind per the recent Security 
>Advisory.
>The build fails with the following:
...
>I'm using the 3-0 branch on i386.  Not being much of a programmer I
>had to look up what "warning: implicit declaration of function" means.
>Assuming it wasn't a typo I searched for "dns_fwdtable_find2" in any
>header file under  /usr/src/dist/bind/ but didn't find any matches, so
>maybe it is a typo?  Anyone else having problems with this?
>
>Regards,
>Jeff

Hi Jeff,

The problem appears to be that the 3.0 series releases -- up to
3.0.2 -- did not have BIND 9.3.2, they had an earlier version.  You
need to update a fifth file via CVS for the compile to work for you
(at a minimum -- I'm on 3.1 and didn't have any problems, but I had
a look in the source tree for you).

Try the following, and recompile:

cvs update -r netbsd-3-0 dist/bind/lib/dns/include/dns/forward.h

That should fix it, unless there are other mismatches between 9.3.2 and
the older version.  If the above doesn't work, try updating the entire
BIND tree under dist/bind against netbsd-3-0, that should do it.  (3.0.3
will include 9.3.2nb1.)

Hope this helps,

Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.