tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: J Bacher <jb@jbacher.com>
Subject: SUMMARY:  Tru64 5.1a and Bind 8.3.3
Date: Wed, 03 Jul 2002 15:26:33 -0500	[thread overview]
Message-ID: <4.2.2.20020703152017.01d10f00@localhost> (raw)

Thank you both Oisin and Glenn.  8.3.3 build successful.


Problem:

"cc: Error: ../../include/netgroup.h, line 14: In this declaration, the type
of "innetgr" is not compatible with the type of a previous declaration of
"innetgr" at line number 704 in file /usr/include/unistd.h. (notcompat)
int innetgr(const char *netgroup, const char *machine,
----^
*** Exit 1"



Resolution:

from Oisin McGuinness

"On my Tru64 5.1 box, the system unistd.h header does not
contain the various netgroup routines, although they are defined routines
and have a man page. Evidently someone fixed the lack of the header
declarations by inserting them into unistd.h. Since the Bind header file
is protected by #ifndef netgroup_h (at least in the Bind 9 copy), all
you should need to do on your development setup is make
sure your build defines netgroup_h somewhere reasonable as a C defined.
(E.g, in src/port/decunix/include/port_before.h...)"


from Glenn at notes.cc.sunysb.edu

"add a "-Dnetgroup_h" to the cc line at the beginning of
the Makefile.set file in ..src/port/decunix.

It should look like:
'CC=cc -std -Dnetgroup_h' "



                 reply	other threads:[~2002-07-03 20:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox