Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Informix
Expertise: Beginner
May 2, 2000

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 Incorporated
Undefined         first referenced
 symbol               in file
ifx_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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap