[cups.bugs] [MOD] STR #1668: snmp.c: structure has no member named `ifa_ifu'

Bernd Krumböck b.krumboeck at rewe-group.at
Tue May 9 04:41:40 PDT 2006


[STR New]

Problem:

Compiling snmp.c...
snmp.c: In function `get_interface_addresses':
snmp.c:1379: error: structure has no member named `ifa_ifu'
snmp.c:1380: error: structure has no member named `ifa_ifu'
snmp.c:1385: error: structure has no member named `ifa_ifu'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.



On OS where ifaddrs.h not exists the struct ifaddrs from the file
cups/http-private.h is used. This struct should be extended to match the
needs from backend/snmp.c

The attached patch should correct this problem (created on HPUX with diff
-c).

Link: http://www.cups.org/str.php?L1668
Version: 1.2.0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-1.2.0-ifaddrs.patch.gz
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20060509/a0cbafe0/attachment.ksh>


More information about the cups-devel mailing list