Re: INFORMIX 4 GL ERRORR
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
In article <37E7CDDC.5FD494CF@bloomberg.net>, kagel@bloomberg.net wrote: > SANDIP SAMANTA wrote: > > > > Hi Gurus, > > > > I am facing a problem when I am trying to recompile my old Informix > > 4GL file. It worked fine on INFORMIX 4GL 6 version. But when I tried > > to recompile it on 7.20 version then I am getting below error. i had > > tried to find out the problem thru finderr command but I did not get > > any clue. > > > > Another thing my source programme has total 3079 line but all error > > line is showing more than 25000 line. How it is showing ? > [SNIP] > > | > > | The following errors were discovered during compilation. > > | > > |esqlc: "bomiqs.ec", line 1747: Warning -33065: Cursor/statement id 'I000063FC_0D16E8D2' is too long when prefixed by module name. > > |esqlc: "bomiqs.ec", line 1758: Warning -33065: Cursor/statement id 'I000063FC_0D16E8D2' is too long when prefixed by module name. > [Lots of the same SNIPPED] > > Looks like you are using a makefile to recompile and it is picking up the > .ec files generated by 4Gl 6.xx and trying to compile it with esql instead > of compiling the 4GL source with c4gl. Try deleting the .ec and .c files > that correspond to your .4gl source files. If you want to leave the .ec > files around for debugging then one way around this is to make sure you > clear the suffixes and have .4gl preceed .ec which preceeds .c in your > new list. Also define ONLY a .4gl.o implicit rule and no .4gl.ec implicit > rule, just add the "-keep" option to the c4gl command line. So your > makefile should start (assuming you use RCS I have included RCS suffixes > also): > > .SUFFIXES: > .SUFFIXES: .4gl,v .ec,v .c,v .l,v .y,v .h,v .h .4gl .ec .l .y .c .o > > Art S. Kagel > I get the same error only with i4gl. c4gl wors fine. Klaus Gotthardt Sent via Deja.com http://www.deja.com/ Before you buy.
kgo@my-deja.com wrote: > > In article <37E7CDDC.5FD494CF@bloomberg.net>, > kagel@bloomberg.net wrote: > > SANDIP SAMANTA wrote: > > > > > > Hi Gurus, > > > > > > I am facing a problem when I am trying to recompile my old Informix > > > 4GL file. It worked fine on INFORMIX 4GL 6 version. But when I tried > > > to recompile it on 7.20 version then I am getting below error. i had > > > tried to find out the problem thru finderr command but I did not get > > > any clue. > > > > > > Another thing my source programme has total 3079 line but all error > > > line is showing more than 25000 line. How it is showing ? > > [SNIP] > > > | > > > | The following errors were discovered during compilation. > > > | > > > |esqlc: "bomiqs.ec", line 1747: Warning -33065: Cursor/statement id > 'I000063FC_0D16E8D2' is too long when prefixed by module name. [SNIP] > > I get the same error only with i4gl. > c4gl wors fine. Same problem, same response. I believe that you are trying to link objects compiled with an earlier version with newly compiled ones. This will almost always cause problems. Remove all .o files and all .c and .ec files corresponding to the executable you are trying to link. Also if you have any 4GL in libraries recompile and rebuild the libraries also. Now try to recreate the project. Art S. Kagel