1752746 Members
4900 Online
108789 Solutions
New Discussion юеВ

Compiling ESQL

 

Compiling ESQL

We are using HPUX N class servers and Informix IDS 2000 database which is Informix ESQL 9.30 FC1 and IDS version 9.21.FC4. Could you any one have a sample make file to compile .ec program by using ANSCI/C.
4 REPLIES 4
Rainer von Bongartz
Honored Contributor

Re: Compiling ESQL


simnply edit $INFORMIXDIR/bin/esql and set

CC=${INFORMIXC=cc}
or
CC=${INFORMIXC=gcc}
according to you C-Compiler

then you can compile your .ec source with

esql abc.ec -o

Regards
rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...

Re: Compiling ESQL

Hi Rainer,
I am getting the following warning messages when I compile my .ec program

ld: Type mismatch for symbol "index"; resolving FUNC symbol (in file /usr/lib/pa20_64/libc.sl) to OBJECT symbol (in file ia_error.
o)
1 warnings.

How I can eliminate the above problems.

Senthil
Deepak Extross
Honored Contributor

Re: Compiling ESQL

Hi,
If you want to link to shared libraries/archives, you'll need to do this:
esql -L -l: -o

Re: Compiling ESQL

Hi,
Do you have any idea about what library to be included?

Senthil