tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  Tru64 5.1a and Bind 8.3.3
@ 2002-07-03 20:26 J Bacher
  0 siblings, 0 replies; only message in thread
From: J Bacher @ 2002-07-03 20:26 UTC (permalink / 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' "



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-03 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-03 20:26 SUMMARY: Tru64 5.1a and Bind 8.3.3 J Bacher

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