Programming Languages on Power

Power Programming Languages

IBM Power, including the AIX, IBM i, and Linux operating systems, support a wide range of programming languages, catering to both traditional enterprise applications and modern development needs.


#Power


#Servers
#Programminglanguages
 View Only
Expand all | Collapse all

Receiving compiler product files are missing or corrupted error message

  • 1.  Receiving compiler product files are missing or corrupted error message

    Posted 11/07/16 10:43 AM

    Originally posted by: JonTriebenbach/IBM


     

    We are attempting to rebuild some old existing cpp code.  The compile is failing with the following error:

     

    /usr/vac/bin/xlc_r  -g -O -I/usr/java5/include -I/usr/java5/include/aix  -D_LARGE_FILES -qnoansialias -qfullpath -qchars=signed -qlibansi -qcheck=null  -c -o DMU.o /home/etpcuser/c/DMU/DMU.cpp
    Compilation cannot proceed because one or more IBM compiler product files are missing or corrupted.  Reinstall the complete IBM XL C/C++ for AIX V12.1 compiler.
    <builtin>: recipe for target 'DMU.o' failed
    gmake: *** [DMU.o] Error 1
    ERROR: DMU package compilation failed

     

    Note the error message is calling out the V12.1 compiler version, but we have the 13.1 version installed.  No explanation on this mismatched version message.

     

    Are there additional logs available that may help us diagnose this compiler installation issue?  Are there additional compiler settings that may help us diagnose this issue?

     

    Thanks for any help.


    #C/C++andFortran
    #Ask-Question-Here--General-Compiler-Q-and-A


  • 2.  Re: Receiving compiler product files are missing or corrupted error message

    Posted 11/07/16 04:06 PM

    Originally posted by: Ray Kivisto


    Usually that error message occurs when there are one or more compiler packages not currently installed.

    The V12.1 compiler on AIX was the final version that installed to '/usr/vac'.  Starting with V13.1.0, the compiler installs to '/opt/IBM/xlC/V.R.M' (where V.R.M corresponds to the compiler version, release, and modification number). It was also the first release that allows you to have multiple compiler versions (V.R.M's) installed simultaneously to the default location.

    I expect you have V12.1 partially installed, if you need to use V12.1, please send me the output of 'lslpp -l vac\* xl\*', or you can debug which file is missing by running the compiler with 'truss /usr/vac/bin/xlc_r ...' (truss comes from the AIX OS fileset 'bos.sysmgt.serv_aid').

    To check if you have V13.1.0 installed, try running:
      /opt/IBM/xlC/13.1.0/bin/xlC -qversion
    or
      lslpp -l xl\*


    #C/C++andFortran
    #Ask-Question-Here--General-Compiler-Q-and-A