Re: isqlperl-1.2 with ESQL/C-5.01 problem
Posted in 1994
>Date: Mon, 9 May 1994 17:25:58 +0000 >From: dba@althingi.is >Subject: isqlperl-1.2 with ESQL/C-5.01 problem >X-Informix-List-Id: <list.3927> >This version of isqlperl is for ESQL/C-4.x and there is no newer version? >When I try make, gcc gives this error: >sqlstype.c: In function `isql_type': >sqlstype.c:69 `SQ_GRANTGRP' undeclared (first use this function) >sqlstype.c:70: `SQ_REVOKGRP' undeclared (first use this function) >*** Error code 1 >make: Fatal error: Command failed for target `isqlperl.o' I can only find SQ_GRANTGRP in a 5.02 ESQL/C header, and it is marked as for the Japanese version only. I cannot find it in a 4.1x ESQL/C header. The code in sqlstype.c should therefore be revised to read: #ifdef SQ_GRANTGRP case SQ_GRANTGRP: .... case SQ_REVOKEGRP: .... #endif /* SQ_GRANTGRP */ I haven't lloked at the code, so I'm guessing, but the idea should be clear. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>