Error with cperf compile
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
I'm trying to port an old Informix application circa Informix 4.x to Informix 7.3. Most of the applications compile without a hitch (4gl, ace and perform). However, I have one ESQL program that used by an ISQL perform screen. When I use cperf to compile the program I get a log list of errors. A small example: In file included from foo.c:2: /opt/informix/incl/esql/sqliapi.h:37: syntax error before `int' /opt/informix/incl/esql/sqliapi.h:38: syntax error before `int' /opt/informix/incl/esql/sqliapi.h:39: syntax error before `int' /opt/informix/incl/esql/sqliapi.h:39: parse error before `ifx_hostvar_t' /opt/informix/incl/esql/sqliapi.h:40: syntax error before `int' /opt/informix/incl/esql/sqliapi.h:40: parse error before `ifx_hostvar_t' /opt/informix/incl/esql/sqliapi.h:41: syntax error before `int' /opt/informix/incl/esql/sqliapi.h:42: syntax error before `int' The foo.c is generated from foo.ec. cperf automatically inserts the sqliapi into the foo.c file. I suspect I need to include a special arguement to the compile statement or I have the wrong sqliapi.h file. I would appreciate to hear from anyone with any hints, clues or suggestions.I'm using ISQL-cr 7.20 and ESQL-cr 9.16. Thanks, Stan Buskus -- Ting-a-ling! Ting-a-ling! - Kilgore Trout