IBM Support

IJ47905: UNAMEX SHOULD BE DECLARATED IN <SYS/UTSNAME.H> APPLIES TO AIX 7200-05

 

APAR status

  • Closed as program error.

Error description

  • The declaration for documented unamex function is not
    present in sys/utsname.h:
    
    int unamex ( Name)
    struct xutsname *Name;
    

Local fix

  • add the following to the "c" file calling unamex:
    
    extern int unamex(struct xutsname *);
    

Problem summary

  • No function prototype checking for the function
    unamex during compilation.
    

Problem conclusion

  • Add unamex function declaration to shipped header.
    

Temporary fix

Comments

  • 7200-05 - use AIX APAR IJ47905
    7300-02 - use AIX APAR IJ49960
    

APAR Information

  • APAR number

    IJ47905

  • Reported component name

    AIX V7.2

  • Reported component ID

    5765CD200

  • Reported release

    720

  • Status

    CLOSED PER

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-08-15

  • Closed date

    2023-08-15

  • Last modified date

    2024-12-12

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

    IJ46507

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

Fix information

  • Fixed component name

    AIX V7.2

  • Fixed component ID

    5765CD200

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11S","label":"AIX 7.2 HIPERS- APARs and Fixes"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
13 December 2024