This is a discussion on Re: Tru64 ver 5.1B error compiling net-snmp ver 5.2.2 within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --------------020404090406000400040006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--------------020404090406000400040006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit yayo@cimex.com.cu 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) --------------020404090406000400040006 Content-Type: text/x-patch; name="net-snmp-5.2.2-build-tru64.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="net-snmp-5.2.2-build-tru64.diff" 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 --------------020404090406000400040006-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |