IDS on Linux (Core dump when using custom runner)
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Hi, I have a problem with creating a custom runner for rds. It seemed to compile ok but whenever I use it to execute a program I get a core dump. Using the standard runner 'fglgo' with the same program works ok. I also have a core dump with programs compiled with 'c4gl'. Looks like it points to my C compilier or libraries ??? I'm using: Red Had Linux (6.0) Kernal 2.2.5-15 EGCS -1.1.2-12 (c) Any ideas Thanks Dave
Dave wrote: > I have a problem with creating a custom runner for rds. It seemed > to compile ok but whenever I use it to execute a program I get a > core dump. Using the standard runner 'fglgo' with the same program > works ok. > > I also have a core dump with programs compiled with 'c4gl'. > > Looks like it points to my C compilier or libraries ??? > > I'm using: Red Had Linux (6.0) Kernal 2.2.5-15 > EGCS -1.1.2-12 (c) > > Any ideas The core dump occurs in routines called from setbuf() inside fgl_init(). Something is not happy with life. Some people have reported success with this; I can't. Some people have installed the compatability compiler and libraries (look for compat* RPM files on the main CD-ROM) and hacked c4gl and cfglgo to make it use the compatability mode compiler, and have then reported success. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN #include <disclaimer.h>
In article <37C62A6B.6647@earthlink.net>, Jonathan Leffler <jleffler@earthlink.net> wrote: >Dave wrote: >> I have a problem with creating a custom runner for rds. It seemed >> to compile ok but whenever I use it to execute a program I get a >> core dump. Using the standard runner 'fglgo' with the same program >> works ok. >> >> I also have a core dump with programs compiled with 'c4gl'. >> >> I'm using: Red Had Linux (6.0) Kernal 2.2.5-15 >> EGCS -1.1.2-12 (c) > >Some people have reported success with this; I can't. >Some people have installed the compatability compiler and libraries >(look for compat* RPM files on the main CD-ROM) and hacked c4gl and >cfglgo to make it use the compatability mode compiler, and have then >reported success. "Compatibility" meaning compatibility with Red Hat 5.2, which is the version the 7.24 tools were ported on. If problems persist even with the compat libraries and gcc, make sure a lack of the -fwritable-strings flag isn't the culprit. -- Alan Denney yosemite at accesscom.com "I find your argument strewn with gaping defects in logic." -- Spock
Dunno about that, but it worked a treat. Thanks Jonathan. Dave
I installed Informix-se 7.2 on a PC running red hat linux. I am able to
create and access databases using dbaccess, dbschema and i4gl. They all
run fine. However, I get core dump when I run chkenv. I also get core
dump when I run 4gl programs compiled using c4gl or i4gl. Any idea why?
and how can I resolve this problem?
Also, I used to compile 4gl programs using fglpc and run them using
fglgo. I don't see these two programs in the Linux installation?
Thanks for your time and help.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
lyassa@yahoo.com wrote:
>
> I installed Informix-se 7.2 on a PC running red hat linux. I am able to
> create and access databases using dbaccess, dbschema and i4gl. They all
> run fine. However, I get core dump when I run chkenv. I also get core
> dump when I run 4gl programs compiled using c4gl or i4gl. Any idea why?
> and how can I resolve this problem?
>
> Also, I used to compile 4gl programs using fglpc and run them using
> fglgo. I don't see these two programs in the Linux installation?
Fglpc and fglgo are part of the 4GL Rapid Development System (RDS) which
is not ported to Linux. You have the compiled version of 4GL which
produces native executables so you do not need a runner like fglgo. You
may have library version problems or compiler problems depending on what
release/distribution of Linux you have. There are problems with using
libc5 and certain egcs versions. Research previous posts on the IIUG Web
site if Jonathan Leffler does not answer right away. This has been dealt
with before.
Art S. Kagel