Problems compiling (linking) ISQL custom Perform (cperf)
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
I suspect that you are using a different version of ESQL/C from the one used by ISQL. Which version of ISQL are you using? Which version of ESQL/C are you using? D Scot Linton wrote: > When compiling a simple ESQL/C program to make a custom Perform > executable using cperf I get a bunch of unresolved references. I've > had no luck finding what library or shared object needs to be linked. > Can anyone give me a typical command line to compile and link ? > > > # cperf custom_perf.ec -o custom_perf > Undefined first referenced > symbol in file > sqli_prep custom_perf.o > sqli_curs_locate custom_perf.o > sqli_curs_decl_dynm custom_perf.o > sqli_curs_fetch custom_perf.o > sqli_curs_open custom_perf.o > sqli_curs_close custom_perf.o > UX:ld: ERROR: custom_perf: fatal error: Symbol referencing errors. No > output wri > tten to custom_perf -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.62 -- see http://www.perl.com/CPAN #include <disclaimer.h>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> When compiling a simple ESQL/C program to make a custom Perform executable using cperf I get a bunch of unresolved references. I've had no luck finding what library or shared object needs to be linked. Can anyone give me a typical command line to compile and link ? <br> <p># cperf custom_perf.ec -o custom_perf <br>Undefined first referenced <br> symbol in file <br>sqli_prep custom_perf.o <br>sqli_curs_locate custom_perf.o <br>sqli_curs_decl_dynm custom_perf.o <br>sqli_curs_fetch custom_perf.o <br>sqli_curs_open custom_perf.o <br>sqli_curs_close custom_perf.o <br>UX:ld: ERROR: custom_perf: fatal error: Symbol referencing errors. No output wri <br>tten to custom_perf</html>