I just tried to compile cvs-1.10 on an HP-UX 11.00 machine using the HP
ANSI/C-Compiler. It aborted compilation with
cc: "/usr/include/rpcsvc/nis.h", line 75: error 1584: Inconsistent type
declaration: "UNKNOWN".
in server.c
<rpcsvc/nis.h> is (indirectly) included in <shadow.h>. An ugly fix for
this is to #define UNKNOWN to something unlikely:
--- server.c.orig Mon Mar 27 11:06:44 2000
+++ server.c Mon Mar 27 11:07:01 2000
@@ -114,7 +114,9 @@
#ifdef AUTH_SERVER_SUPPORT
#ifdef HAVE_GETSPNAM
+#define UNKNOWN ShAdOw_UnKnOwN
#include <shadow.h>
+#undef UNKNOWN
#endif
#endif /* AUTH_SERVER_SUPPORT */
hp
--
_ | Peter J. Holzer | Yeah but I LIKE -w.
|_|_) | Sysadmin WSR / LUGA | I guess I'm from the old bondage and
| | | [EMAIL PROTECTED] | discipline school of programming.
__/ | http://www.hjp.at/ | -- Matthew Persico on dbi-users
PGP signature