Here is a copy of the current run. Although we are running on Redhat Linux, the same code is bundled with the Windows API. Trying to compile with a Microsoft C compiler yields this same complaint.
rmdy-papr02.comp.wepco.com{xxremedy}27: cd driver /opt/bmc_software/Remedy/ARSystem/api/src/driver rmdy-papr02.comp.wepco.com{xxremedy}28: make cc -m32 -g -DDEBUG -D_REENTRANT -malign-double -I../include -I../../include -c -o api.o api.c api.c:24:24: wfd_shared.h: No such file or directory api.c: In function `APIWFDSetDebugMode': api.c:11278: error: `WFD_STOP_START_API' undeclared (first use in this function) api.c:11278: error: (Each undeclared identifier is reported only once api.c:11278: error: for each function it appears in.) api.c:11283: error: `WFD_STOP_QUALIFIER' undeclared (first use in this function) api.c:11288: error: `WFD_STOP_P1_ACTION' undeclared (first use in this function) api.c:11293: error: `WFD_STOP_P2_ACTION' undeclared (first use in this function) api.c:11298: error: `WFD_STOP_P3_ACTION' undeclared (first use in this function) api.c:11303: error: `WFD_STOP_END_API' undeclared (first use in this function) api.c:11308: error: `WFD_STOP_ESC_ACTION' undeclared (first use in this function) api.c:11313: error: `WFD_STOP_CMDB' undeclared (first use in this function) make: *** [api.o] Error 1 rmdy-papr02.comp.wepco.com{xxremedy}29: The top of aie.c is ________________________________________________ /* File: api.c */ #include <stdlib.h> #ifdef _WIN32 #include <time.h> #ifndef snprintf #define snprintf _snprintf #endif #define strcasecmp _stricmp /* Case-insensitive compare on Windows */ #else /* _WIN32 */ #include <unistd.h> #endif /* _WIN32 */ #include <stdio.h> #include <string.h> #include "ar.h" #include "arextern.h" #include "arfree.h" #include "api.h" #include "get.h" #include "globals.h" #include "print.h" #include "util.h" #include "wfd_shared.h" #include "arerrno.h" ________________________________________________ The errors are found in this subroutine: Lines 11259 through 11320. /*********************************************************************** ******/ /* */ /* APIWFDSetDebugMode */ /* */ /*********************************************************************** ******/ int APIWFDSetDebugMode() { int result = 0; unsigned int debugMode = 0; ARStatusList status = {0, NULL}; /* Get parameters */ if( NOT_WFD_QUIET ) DriverPrintHeader("WFD SET DEBUG MODE"); DriverPrintHeader( "Debug Mode to set (stop at)? : " ); if( GetARBoolean(" Begin API (T): ", TRUE) ) debugMode |= WFD_STOP_START_API; else debugMode &= ~WFD_STOP_START_API; if( GetARBoolean(" Qualifier (T): ", TRUE) ) debugMode |= WFD_STOP_QUALIFIER; else debugMode &= ~WFD_STOP_QUALIFIER; if( GetARBoolean(" Phase 1 (T): ", TRUE) ) debugMode |= WFD_STOP_P1_ACTION; else debugMode &= ~WFD_STOP_P1_ACTION; if( GetARBoolean(" Phase 2 (T): ", TRUE) ) debugMode |= WFD_STOP_P2_ACTION; else debugMode &= ~WFD_STOP_P2_ACTION; if( GetARBoolean(" Phase 3 (T): ", TRUE) ) debugMode |= WFD_STOP_P3_ACTION; else debugMode &= ~WFD_STOP_P3_ACTION; if( GetARBoolean(" End API (T): ", TRUE) ) debugMode |= WFD_STOP_END_API; else debugMode &= ~WFD_STOP_END_API; if( GetARBoolean(" Esc Action (T): ", TRUE) ) debugMode |= WFD_STOP_ESC_ACTION; else debugMode &= ~WFD_STOP_ESC_ACTION; if( GetARBoolean(" CMDB (T): ", TRUE) ) debugMode |= WFD_STOP_CMDB; else debugMode &= ~WFD_STOP_CMDB; /* Call routine */ return APIWFDDoSetDebugMode( debugMode ); } _________________________________________________ Thorin -----Original Message----- From: Lyle Taylor [mailto:tayl...@ldschurch.org] Sent: Tuesday, August 11, 2009 2:56 PM Subject: Re: File wfd_shared.h Where is this file actually being included from? Perhaps you could post the entire error text that the compiler is printing. Lyle -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Marty.Thorin Sent: Tuesday, August 11, 2009 1:46 PM To: arslist@ARSLIST.ORG Subject: File wfd_shared.h Good afternoon: Our system is ARS 7.5 Patch 1. I am trying to compile the API example 'Driver'. The first file to compile, api.c, fails because it is missing the include file wfd_shared.h. Does anyone have a copy of this file that they would post for me? Thank you, Thorin We Energies Milwaukee, WI _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"