bind 9 on tru64

From: <ldg_at_ulysium.net>
Date: Mon, 31 Mar 2003 23:52:55 -0500

Hello,

I compiled bind 9.2.2rc1 recently and now updating to 9.2.2 and I had posted
about a problem on the bind list which didn't get any answer.
I guess it can also be a tru64 issue, which really should be fixed in bind
with the proper guessing of what to do on this platform.
I was able to compile bind 9 only after making a few changes to a system
header file to avoid the errors and finish the compile process, but
obviously this isn't the way it should be fixed and is certainly not a
permanent fix either, since those system header files should be returned to
normal after bind is compiled.

What happens is that 3 variables defined in /usr/include/unistd.h are
re-defined again in the bind source in lib/bind/port_after.h lines 366, 371
and 375 in a way that causes an error on compatibility. Those variables are
getnetgrent, setnetgrent and innetgr and in /usr/include/unistd.h at lines
703,704 and 720 and they're in an ifdef group of _OSF_SOURCE which obviously
must get defined somewhere because those variables are colliding.

The only way I could compile all the way is by commenting out those lines in
unistd.h so everything else seems to work ok after that.

What would be the proper fix for this?
(this is on tru64 5.1b)

-- 
Didier Godefroy
mailto:dg_at_ulysium.net
Received on Tue Apr 01 2003 - 11:20:45 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT