Re: compile myschema utility
Posted in 2000
eonder@my-deja.com wrote: > > Hello > > I have Dec/alpha UNIX OSF1 V 4.0 alpha, Informix Dynamic Server 7.31 > and ESQL 7.10. Upgrade to CSDK 2.40 or later -- free at Intraware (http://www.intraware.com) > I have problem to compile myschema utility: > when I compile the software using the follow command: > make -f myschema.mk.norcs > this error occurs: > esql -O3 -c myschema.ec > esql -O3 -c blobfuncs.ec > cc -O3 -c cleancat.c > esql -O3 -c format_triggers.ec > cc: Error: myschema.eh, line 152: Missing type specifier or type > qualifier. (mi) > loc_t exprtext; > ----^ > *** Exit 1 > Stop. > > I corrected the error giving in the source code the follow row: > EXEC SQL INCLUDE locator; Using a more recent version of ESQL/C would have included this more or less automatically, so while your change is necessary for the long-unsupported 7.1x versions of ESQL/C, it isn't necessary for most current versions. > and the compilation was successful, but when I executed the command > myschema, it generated a core dump: > informix.beta> myschema -d s2db -t mganag > Writing full schema DDL to: stdout > Memory fault(coredump) > informix.beta> Art may be able to help you if you can provide a stack trace from the debugger. Beyond 'something is wrong', there isn't enough information for anyone to be able to help you unless they have your rather weird product combination -- which is unlikely. Strong recommendation: upgrade to CSDK (Client SDK) and recompile. If you still have problems, then maybe there'll be more interest in helping. > Can anyone help me in this matter? > Regards Enrico > > Sent via Deja.com http://www.deja.com/ > Before you buy. -- Yours, Jonathan Leffler (Jonathan.Leffler@Informix.com) #include <disclaimer.h> Guardian of DBD::Informix v1.00.PC1 -- http://www.perl.com/CPAN "I don't suffer from insanity; I enjoy every minute of it!"