Compile ESQL/C SQL-92 on linux Redhat X86-64

Ton

New Member
I have an OpenEdge Release 10.2A03 as of Wed Feb 24 21:17:23 EST 2010 installed on a
Linux 2.6.18-194.el5 x86-64 box.

Has somebody already compiled esqlc programs on this machine and this OpenEdge version?

The problem is that when I run a compiled program the sqlca.sqlcode always returns 0 even if no more data found.

It could be possible that these are compiler or link options but I cannot find the reason.

I tried the dynsel.pc exemple and even with this programme I have the problem.

version gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
Options I use to compile the programmes :
-v -ansi -m64 -O -DDH_OS_UNIX_LINUXX86

Thanks for your help.

Ton.
 
Top