Net-Snmp compilation issues on hpux 11.31

Naresh Kumar Panthangi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,

I have been doing Net-SNMP build on hpux 11.31 IA system.

I came across the below errors

=========================================================================
/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!
=============================================================================


While investigating the same error, I could see that the "rtentry" structure
as unknown in the config.log file.
Actually it should be "checking type of rtentry structure... BSD-4.4"

Please find the porting of config.log below
===============================================
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
=================================================

The same issues was discussed and raised bug(ID: 202380: Compilation
problems on HP-UX 11.31).

Could you please let me know how to fix this ?


Regards,
Naresh Kumar P

------------------------------------------------------------------------------
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

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.