NetSNMP v5.2.1 fails to compile on HP-UX 11.31 IA64

Logeswari Viswanath <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,

We encountered below error when compiling NetSNMP v5.2.1 on HP-UX
11.31 IA system.

==============================================================================================================================
/bin/sh ../../libtool  --mode=compile cc -I../../include -I.
-I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/opens
sl/include   +Z +DD32  -Dhpux11  -c -o mibII/route_write.lo mibII/route_write.c
rm -f mibII/.libs/route_write.lo
cc -I../../include -I. -I../../agent -I../../agent/mibgroup
-I../../snmplib -I/opt/openssl/include +Z +DD32 -Dhpux11 -c mibII/
route_write.c  +Z -DPIC -o mibII/.libs/route_write.lo
"mibII/route_write.c", line 127: error #2136: struct "radix_node" has
no field "rn_key"
      memcpy(&route.rt_dst, &dst, sizeof(struct sockaddr_in));
                    ^

"mibII/route_write.c", line 192: error #2136: struct "radix_node" has
no field "rn_key"
      memcpy(&route.rt_dst, &dst, sizeof(struct sockaddr_in));
                    ^

2 errors detected in the compilation of "mibII/route_write.c".

Net-SNMP gmake failed!
================================================================================================================================

Some interesting items from configure log :

=====================================================
checking for rtentry.rt_dst... no
checking type of rtentry structure... Unknown
unknown
checking for struct rtentry... rtentry
checking for rtentry.rt_unit... no
checking for rtentry.rt_refcnt... no
checking for rtentry.rt_hash... no
checking for rtentry.rt_use... No
======================================================


Is this a known issue? If so, can anyone let me know the fix for this issue?

Regards,
Logeswari

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.