IBM Support

IJ35318: MMFIND FAILS TO COMPILE IN CONVERTTIME_POLTOGNU

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When compiling sample program mmfind
    
    <run make clean>
    make
    --makefile=/usr/lpp/mmfs/samples/ilm/mmfindUtil_processOu
    tputFile.sampleMakefile clean
    rm -r mmfindUtil_processOutputFile
    
    <run make - note warning messages. >
    make
    --makefile=/usr/lpp/mmfs/samples/ilm/mmfindUtil_processOu
    tputFile.sampleMakefile
    cc -g -o mmfindUtil_processOutputFile
    mmfindUtil_processOutputFile.c
    mmfindUtil_processOutputFile.c: In function
    ?convertTime_polToGNU?:
    mmfindUtil_processOutputFile.c:778:2: warning: implicit
    declaration of function ?strptime?; did you mean
    ?strftime?? [-Wimplicit-function-declaration]
      strptime(time, "%Y-%m-%d %H:%M:%S", &time_tm);
      ^~~~~~~~
      strftime
    
    Reported in:
    Spectrum Scale 5.1
    

Local fix

Problem summary

  • Spectrum Scale ships several ilm samples. One
    of them is a mmfind tool and to use the tool,
    findUtil_processOutputFile.c
    needs to be compiled. But the compilation of
    findUtil_processOutputFile.c fails on some Linux distros.
    

Problem conclusion

  • This problem is fixed in 5.1.2  PTF 1
    To see all Spectrum Scale APARs and
    their respective fix solutions refer to page
    https://public.dhe.ibm.com/storage/spectrumscale/spectrum_scale_
    apars.html
    
    Benefits of the solution:
    mmfind can be run on all Linux distros without
    modifying findUtil_processOutputFile.c.
    
    Work around:
    Modify mmfindUtil_processOutputFile.c
    before compiling it.
    
    Problem trigger:
    Compiling mmfindUtil_processOutputFile.c
    
    Symptom:
    Component Level Outage
    
    Platforms affected:
    All
    
    Functional Area affected:
    Admin Commands
    
    Customer Impact:
    Suggested
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ35318

  • Reported component name

    SPEC SCALE STD

  • Reported component ID

    5737F33AP

  • Reported release

    511

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-10-05

  • Closed date

    2021-10-13

  • Last modified date

    2021-10-13

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

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

Fix information

  • Fixed component name

    SPEC SCALE STD

  • Fixed component ID

    5737F33AP

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STXKQY"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"511","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
14 October 2021