My Oracle Support Banner

Batch Programs Not Compiling on Solaris Servers: "Fatal Error: Command Failed for Target" Occurs (Doc ID 1965533.1)

Last updated on FEBRUARY 20, 2019

Applies to:

Oracle Retail Merchandising System - Version 14.0 and later
Information in this document applies to any platform.

Symptoms

During Retail Merchandising System (RMS) 14.0 installation, batch programs are not compiling successfully on Solaris servers.

 

"Error: -------------------------------------------------------------------------------------------------
  [exec] <TIMESTAMP> ------- Start Pro*C Compilation Errors output -------
  [exec] make: Fatal error: Command failed for target `create_po.o'
  [exec] make: Fatal error: Command failed for target `rms'
  [exec] <TIMESTAMP> ------- End Pro*C Compilation Errors output -------
  [exec] <TIMESTAMP> ERROR: 2 errors while compiling, see <SOURCE DIR>/libretek.log for full details
  [exec] <TIMESTAMP> Executing make -f retek.mk install 2>&1
  [exec] <TIMESTAMP> Command succeeded
  [exec] <TIMESTAMP> Errors while compiling libraries, attempting proc compile
  [exec] <TIMESTAMP> Compiling Pro*C batch in <SOURCE DIR>
  [exec] <TIMESTAMP> Executing make -f mts.mk clobber 2>&1
  [exec] <TIMESTAMP> Command succeeded
  [exec] <TIMESTAMP> Executing { make -f mts.mk depend || make -f mts.mk depend ; } 2>&1
  [exec] <TIMESTAMP> Command succeeded
  [exec] <TIMESTAMP> Executing make -f mts.mk PRODUCT_PROCFLAGS=dynamic=ansi ditinsrt 2>&1
  [exec] <TIMESTAMP> Command succeeded
  [exec] <TIMESTAMP> Executing make -f mts.mk rms-ALL recs-ALL resa-ALL rtm-ALL fif-ALL 2>&1
  [exec] <TIMESTAMP> ------- Start Pro*C Compilation Errors output -------
  [exec] make: Fatal error: Command failed for target `onictext.o'
  [exec] make: Fatal error: Command failed for target `rms-ALL'
  [exec] <TIMESTAMP> ------- End Pro*C Compilation Errors output -------
  [exec] <TIMESTAMP> ERROR: 2 errors while compiling, see <SOURCE DIR>/sr

ERROR
-----------------------

 [exec] <TIMESTAMP> ------- Start Pro*C Compilation Errors output -------
  [exec] make: Fatal error: Command failed for target `onictext.o'
  [exec] make: Fatal error: Command failed for target `rms-ALL'
  [exec] <TIMESTAMP> ------- End Pro*C Compilation Errors output -------
  [exec] <TIMESTAMP> ERROR: 2 errors while compiling, see <SOURCE DIR>/srcall.log for full details
  [exec] <TIMESTAMP> Executing make -f mts.mk install 2>&1
  [exec] <TIMESTAMP> Command succeeded
  [exec] <TIMESTAMP> Errors while compiling Proc*C batch
  [exec] <TIMESTAMP> Failed to complete Post-action for action: RMSBATCH
  [exec] <TIMESTAMP> ORPatch session completed with errors
  [echo]
#######################################################################
  Install Summary
#######################################################################
  [echo] MMHOME: <MMHOME>
  [echo] STATUS: Installation Failed
  [echo] COMPONENTS:
  [echo] DB - RMS
  [echo] DB - RMS Demo Data
  [echo] Batch
  [echo]

BUILD FAILED

<INSTALLER DIR>/build.xml:1879: The following error occurred while executing this line:
<INSTALLER DIR>/build.xml:969: The following error occurred while executing this line:
<INSTALLER DIR>/build.xml:569: exec returned: 2
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
at net.sf.antcontrib.logic.TryCatchTask$CatchBlock.execute(TryCatchTask.java:137)
at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:225)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)"


Steps to Reproduce:

  1. Install database software.
  2. Create RMS instance.
  3. Run installer for Batch and Database.
  4. Note the above error during Pro C compiler phase.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.