My Oracle Support Banner

RMS 14.1 Batch Installation Is Failing With Pro*C Compilation Errors On Linux (Doc ID 1969715.1)

Last updated on FEBRUARY 12, 2018

Applies to:

Oracle Retail Merchandising System - Version 14.1 and later
Linux x86-64

Symptoms

When installing Retail Merchandising System (RMS) 14.1 batch programs, the batch installation is failing with below errors:

  [exec] 01:19:17 02/11/2015 ------- Start Pro*C Compilation Errors output -------
  [exec] Error at line 34, column 11 in file /usr/include/stdio.h
  [exec] Error at line 15, column 10 in file /usr/include/_G_config.h
  [exec] Error at line 52, column 11 in file /usr/include/wchar.h
....
  [exec] PCC-F-02102, Fatal error while doing C preprocessing
  [exec] make: *** [4_5_4.o] Error 1
  [exec] 01:19:17 02/11/2015 ------- End Pro*C Compilation Errors output -------
  [exec] 01:19:17 02/11/2015 ERROR: 55 errors while compiling, see /home/retail/rms_batch_retail_home/oracle/lib/src/libretek.log for full details
  [exec] 01:19:17 02/11/2015 Executing make -f retek.mk install 2>&1
  [exec] 01:19:20 02/11/2015 Command succeeded
  [exec] 01:19:20 02/11/2015 Errors while compiling libraries, attempting proc compile
  [exec] 01:19:20 02/11/2015 Compiling Pro*C batch in /home/retail/rms_batch_retail_home/oracle/proc/src
  [exec] 01:19:20 02/11/2015 Executing make -f mts.mk -r clobber 2>&1
  [exec] 01:19:21 02/11/2015 Command succeeded
  [exec] 01:19:21 02/11/2015 Executing { make -f mts.mk -r depend || make -f mts.mk -r depend ; } 2>&1
  [exec] 01:19:21 02/11/2015 Command succeeded
  [exec] 01:19:21 02/11/2015 Executing make -f mts.mk -r PRODUCT_PROCFLAGS=dynamic=ansi ditinsrt 2>&1
  [exec] 01:19:21 02/11/2015 ------- Start Pro*C Compilation Errors output -------
  [exec] Error at line 34, column 11 in file /usr/include/stdio.h
....
BUILD FAILED

/DATA/software/CDROM/staging/rms/installer/build.xml:35: The following error occurred while executing this line:
/DATA/software/CDROM/staging/rms/installer/build.xml:2017: The following error occurred while executing this line:
/DATA/software/CDROM/staging/rms/installer/build.xml:1040: The following error occurred while executing this line:
/DATA/software/CDROM/staging/rms/installer/build.xml:601: exec returned: 2
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:443)
....
Caused by: /DATA/software/CDROM/staging/rms/installer/build.xml:2017: The following error occurred while executing this line:
/DATA/software/CDROM/staging/rms/installer/build.xml:1040: The following error occurred while executing this line:
/DATA/software/CDROM/staging/rms/installer/build.xml:601: exec returned: 2
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)

On checking the detailed logs further the following syntax errors are observed:

Pro*C/C++: Release 12.1.0.1.0 - Production on Wed Feb 11 01:19:21 2015

Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.

System default option values taken from: /DATA/oracle/app/db/product/12.1.0/dbhome_1/precomp/admin/pcscfg.cfg

Error at line 34, column 11 in file /usr/include/stdio.h
# include <stddef.h>
..........1
PCC-S-02015, unable to open include file
Error at line 15, column 10 in file /usr/include/_G_config.h
#include <stddef.h>
.........1
PCC-S-02015, unable to open include file
Error at line 52, column 11 in file /usr/include/wchar.h
# include <stddef.h>
..........1
PCC-S-02015, unable to open include file
Error at line 53, column 11 in file /usr/include/libio.h
# include <stdarg.h>
..........1
PCC-S-02015, unable to open include file
Syntax error at line 332, column 3, file /usr/include/libio.h:
Error at line 332, column 3 in file /usr/include/libio.h
size_t __pad5;
..1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
:

} char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
The symbol "enum," was substituted for "size_t" to continue.

Syntax error at line 364, column 62, file /usr/include/libio.h:
Error at line 364, column 62 in file /usr/include/libio.h
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
.............................................................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
:

Steps to Reproduce:
1. Install RMS 14.1 Database and Batches in a new $RETAIL_HOME OR install Batches separately in the same $RETAIL_HOME or same $RETAIL_HOME where database schema is installed. 
2. The Batch installation build will fail with Pro*C compilation errors.

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
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.