IBM Support

IV48356: PCAP_GET_SELECTABLE_FD() IS MISSING #DEFINE IN HEADER FILE APPLIES TO AIX 6100-08

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • pcap_get_selectable_fd() missing #DEFINE in
    /usr/include/pcap.h header file
    

Local fix

  • add the following line to /usr/include/pcap.h
      int   pcap_get_selectable_fd(pcap_t *);
    just below
      int   pcap_minor_version(pcap_t *);
    

Problem summary

  • Compiling a program which uses pcap_get_selectable_fd()
    function which is defined in libpcap.a library using C++
    compiler throws following error message:
    
    # cc -o pcap_example pcap_example.cpp -lpcap
    "pcap_example.cpp", line 26.17: 1540-0274 (S) The name lookup
    for "pcap_get_selectable_fd" did not find a declaration.
    

Problem conclusion

  • Added declaration of function pcap_get_selectable_fd() in
    pcap.h.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV48356

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-09-12

  • Closed date

    2013-09-12

  • Last modified date

    2014-02-17

  • APAR is sysrouted FROM one or more of the following:

    IV45869

  • APAR is sysrouted TO one or more of the following:

    U864752

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U864752

       UP14/02/17 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 February 2014