problems compiling snmp++v3.2.5a

Buchan, Mike MikeB____dmecorp.net
Fri Feb 7 19:20:59 CET 2003


I found it.. sorry.. had to comment out a line in config_snmp_pp.h.
We do not use IPv6.

Mike Buchan

-----Original Message-----
From: Buchan, Mike [mailto:MikeB____dmecorp.net]
Sent: Friday, February 07, 2003 10:33 AM
To: agentpp-dl____agentpp.com
Subject: problems compiling snmp++v3.2.5a



Hello,

I have been trying to compile the latest version of snmp++ (v3.2.5a) and
have been getting the following failure:

uxsnmp.cpp: In function `int receive_snmp_response(int, Pdu &)':
uxsnmp.cpp:316: `struct sockaddr_storage' has no member named `ss_family'
uxsnmp.cpp: In function `int receive_snmp_notification(int, Pdu &,
SnmpTarget **)':
uxsnmp.cpp:437: `struct sockaddr_storage' has no member named `ss_family'

I have looked a little bit into it and the only similar member of struct
stockaddr_storage is sin_family.  Are these errors
due to typos or is there something I'm missing?  ...  or is there some place
else I should be asking this question?

Thank you for your help.
Mike Buchan





More information about the AGENTPP mailing list