[EMAIL PROTECTED] wrote:
Hi, I'm installing net-snmp ver 5.2.2 on Tru64 ver 5.1B.
Using the following procedure:

#CC=cc ./configure --with-out-mib-modules= "mibII/tcpTable mibII/udpTable"
or
#CC=cc ./configure
[...]
cc: Error: asn1.c, line 3246: In this statement, "UINT32_MAX" is not declared. (

A 64-bit fix, applied between 5.2.2.pre4 and 5.2.2.rc1, broke the build on Tru64 Unix. Please apply the attached patch, recompile and report back (including "make test" output as non-root and as root).

BTW, --with-out-mib-modules= "mibII/tcpTable mibII/udpTable" isn't necessary anmore with 5.2.2 on Tru64.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)
Index: ./include/net-snmp/system/osf5.h
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/include/net-snmp/system/osf5.h,v
retrieving revision 1.3
diff -u -r1.3 osf5.h
--- ./include/net-snmp/system/osf5.h	14 Apr 2004 09:53:18 -0000	1.3
+++ ./include/net-snmp/system/osf5.h	10 Dec 2005 08:50:36 -0000
@@ -20,3 +20,7 @@
 #  undef NETSNMP_ENABLE_INLINE
 #  define NETSNMP_ENABLE_INLINE 0
 #endif
+
+#ifndef UINT32_MAX
+#  define UINT32_MAX UINT_MAX
+#endif

Reply via email to