1.2.0 on Solaris: interface enumeration incompatible

Michael Sweet mike at easysw.com
Wed May 10 11:19:48 PDT 2006


Brandon S. Allbery KF8NH wrote:
> Compiling snmp.c...
> snmp.c: In function `get_interface_addresses':
> snmp.c:1379: structure has no member named `ifa_ifu'
> snmp.c:1380: structure has no member named `ifa_ifu'
> snmp.c:1385: structure has no member named `ifa_ifu'
> 
> The first problem is that Solaris uses (struct ifaddr), not (struct ifaddrs).  If you #define around that, you then get an error because Solaris doesn't store the interface name in the (struct ifaddr).
> 
> I have for the time being commented out the SNMP backend locally.

This is STR #1668; a complete patch is forthcoming...

What version of Solaris are you running?  AFAIK, all of our Solaris
build systems (7 through 10) compile out-of-the-box...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list