devxlogo

ESQL/C (9.2) UC3 Errors

ESQL/C (9.2) UC3 Errors

Question:
I have installed the version 9.2 of ESQLC, and when I try to run the program in the following manner:

  1. esql -e crdb.ec

  2. cc -c -I/home/informix/incl/esql crdb.c

  3. cc -ocrdb7.exe crdb.o  home/informix/lib/esql/libgen.a 
    /home/informix/lib/esql/libos.a /home/informix/lib/esql/libsql.a

We get the following error:

NCR High Performance C Compiler R3.0c(c) Copyright 1994-97, NCR Corporation(c) Copyright 1987-97, MetaWare IncorporatedUndefined         first referenced symbol               in fileifx_coll_update_pos  /home/informix/lib/esql/libsql.a(iqcollct.o)_chk_qual  /home/informix/lib/esql/libsql.a(iqsend.o)ifx_coll_next  /home/informix/lib/esql/libsql.a(iqcollct.o)

We get this error whenever we use any stmt like the following:

EXEC SQL CONNECT TO :dbase;

The same program worked perfectly fine with my previous version of ESQL/C. Please suggest how to fix. Has this got something to do with including a different library?

Answer:
Yes, it looks like some sort of a library problem. I’ve had the same problems with the later versions of ESQL/C and actually had to de-install the new version and re-install a 7.23 version to get it to work. Check your INCLUDE, PATH, and LIB environment settings and be sure that you’re hitting all the right spots. If that doesn’t work, call Informix Tech Support and see if they have seen this problem before.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist