Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snmp.c: structure has no member named `ifa_ifu' #1668

Closed
michaelrsweet opened this issue May 9, 2006 · 2 comments
Closed

snmp.c: structure has no member named `ifa_ifu' #1668

michaelrsweet opened this issue May 9, 2006 · 2 comments

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2.0
CUPS.org User: krumboeck

Problem:

Compiling snmp.c...
snmp.c: In function get_interface_addresses': snmp.c:1379: error: structure has no member namedifa_ifu'
snmp.c:1380: error: structure has no member named ifa_ifu' snmp.c:1385: error: structure has no member namedifa_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).

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Thanks, confirmed. Will get rolled into 1.2.1 and 1.3svn (trunk) later today...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant