Objectel Compiling Error -"Windows.h, Line 41: Error: CT_PERMANENT_INTERVAL Is Not Defined."

(Doc ID 2278402.1)

Last updated on NOVEMBER 22, 2017

Applies to:

Oracle Communications Objectel - Version 2.10.3 and later
Information in this document applies to any platform.

Goal

Unable to generate Objectel Custom Binaries on Objectel 2.10.3 on a new Environment (Server)

Getting below error when compiling the Binaries:

oracle@ocdesapp:~/applications/objectel/2.10.3.4/src/pedro/GetNetworkDetailsME $ make
CC -c -DCORELIB_API= -g -w -PIC -DSOL2 -DUNICODE -D_UNICODE -features=no%localfor -I. -I.. -I/u01/oracle/applications/objectel/2.10.3.4/ILIB -I/u01/oracle/applications/objectel/2.10.3.4/Include -I/u01/oracle/applications/objectel/2.10.3.4/ILIB/boost -I/u01/oracle/applications/objectel/2.10.3.4/ILIB/SunOS -D RC_INVOKED -D _X86_ -D WIN32_LEAN_AND_MEAN -D NOWINRES -D_UNIX_ -DAG_LINKAGE= -DUNICODE -D_UNICODE -D_INCLUDE_STDC_A1_SOURCE -D_INCLUDE__STDC_A1_SOURCE -DSOLARIS GetNetworkDetailsME.cpp
"/u01/oracle/applications/objectel/2.10.3.4/ILIB/SunOS/windows.h", line 41: Error: CT_PERMANENT_INTERVAL is not defined.
"/u01/oracle/applications/objectel/2.10.3.4/ILIB/SunOS/windows.h", line 41: Error: A declaration does not specify a tag or an identifier.
"GetNetworkDetailsME.cpp", line 349: Error: Cannot cast from AgCReferenceEntity to AgCReferenceEntity&.
3 Error(s) detected.
*** Error code 2
make: Fatal error: Command failed for target `GetNetworkDetailsME.o'


 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms