RE: Art Kagel 'dostats.ec' - compiling on HP-UX
Posted in 1999
This is what I use: CFLAGS=-g -Ae -Wl,+s -n -v +Onolimit EFLAGS=-I$(INFORMIXDIR)/incl/esql -L$(INFORMIXDIR)/lib/esql -keepccomment all : dostats dostats : dostats.ec esql $(CFLAGS) $(EFLAGS) dostats.ec -o dostats > N. Daniel Bonesana > SIEMENS-ITRON BUSINESS SERVICES S.A. > Balcarce 683, (C1064AAM) Buenos Aires, Argentina. > * 54 (11) 4320-5456 * dbones@siemens-itron.com.ar > > -----Original Message----- From: Adam Bradley [mailto:Adam.Bradley@ahmg.com.au] Sent: Thursday, October 21, 1999 12:44 AM To: informix-list@iiug.org Subject: Art Kagel 'dostats.ec' - compiling on HP-UX Hi all, I was wondering if somebody might be able to help me.......I have extracted Art Kagel's 'dostats.ec' utility from 'utils2_ak' but I am having trouble compiling it. I am not a programmer myself so please forgive my naivety......... I am running IDS 7.31 on a HP-UX(Unix) Box - I know for a fact that we have an ansi-c compiler installed. I have tried to compile 'dostats.ec' using the following switches: esql -ansi -o dostats dostats.ec esql -o dostats dostats.ec .....but both give me the same result,namely: esqlc: "dostats.ec", line 1337: Warning -33036: This line does not conform to AN SI X3.135-1989. 35 warning(s) cc: "/home/kenny/informix.731/incl/esql/locator.h", line 111: error 1705: Functi on prototypes are an ANSI feature. cc: "/home/kenny/informix.731/incl/esql/locator.h", line 113: error 1705: Functi on prototypes are an ANSI feature. cc: "/home/kenny/informix.731/incl/esql/locator.h", line 115: error 1705: Functi on prototypes are an ANSI feature. cc: "/home/kenny/informix.731/incl/esql/locator.h", line 117: error 1705: Functi on prototypes are an ANSI feature. cc: "dostats.ec", line 214: error 1705: Function prototypes are an ANSI feature. cc: "dostats.ec", line 215: error 1705: Function prototypes are an ANSI feature. cc: "dostats.ec", line 216: error 1705: Function prototypes are an ANSI feature. cc: "dostats.ec", line 217: error 1705: Function prototypes are an ANSI feature. cc: "dostats.ec", line 218: error 1705: Function prototypes are an ANSI feature. cc: "dostats.ec", line 220: error 1705: Function prototypes are an ANSI feature. cc: "dostats.ec", line 238: error 1705: Function prototypes are an ANSI feature. cc: "dostats.ec", line 1426: error 1705: Function prototypes are an ANSI feature