Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

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

Closed

Description

@michaelrsweet

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

Activity

  1. michaelrsweet commented on May 9, 2006

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

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

  2. michaelrsweet commented on May 10, 2006

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

  3. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions