Operating System - Tru64 Unix
1752578 Members
5022 Online
108788 Solutions
New Discussion юеВ

net-snmp error compiling

 
SOLVED
Go to solution
Dafnis Tejera
Occasional Contributor

net-snmp error compiling

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
#make test
....
....
....
CHECK_OVERFLOW_U(tmpint,12);
------------^
cc: Error: asn1.c, line 3246: In this statement, "UINT32_MAX" is not declared. (
undeclared)
CHECK_OVERFLOW_U(high,13);
----^
cc: Error: asn1.c, line 3247: In this statement, "UINT32_MAX" is not declared. (
undeclared)
CHECK_OVERFLOW_U(low,13);
----^
cc: Error: asn1.c, line 3432: In this statement, "UINT32_MAX" is not declared. (
undeclared)
CHECK_OVERFLOW_U(low,14);
----^
make[1]: *** [asn1.lo] Error 1
make[1]: Leaving directory `/usr/local/src/netsnmp/net-snmp-5.2.2/snmplib'
make: *** [subdirs] Error 1
#

any help appreciated
Daf
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: net-snmp error compiling

I just want to know why you don't you use the provided snmp daemon and the insight agents? Do you need something particular?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Dafnis Tejera
Occasional Contributor

Re: net-snmp error compiling

ok, I want to monitor 2 SAN Switch and Network Management Station (NMS) is needed.

Tru64 provides snmpd daemon as SNMP agent.

That's why I'm installing net-snmp. For capture the SAN Switch's traps.

Tell me if I wrong.

Ivan Ferreira
Honored Contributor
Solution

Re: net-snmp error compiling

You are right. For this error I cannot help, sorry, but you can use HP System Insight Manager to manage your hp products.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?