esql error
Posted in 2003
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
I just set up a mandrake 9.1 system and I'm attempting to compile an .ec program and I get the following error: /usr/informix/lib/esql/libifgen.a(decconv.o)(.text+0x12c2): In function `dectodbl': : undefined reference to `errno' Does anyone have an Idea what the issue is? Thanks. M
Michael Wheeler wrote: > I just set up a mandrake 9.1 system and I'm attempting to compile an .ec > program and I get the following error: > > /usr/informix/lib/esql/libifgen.a(decconv.o)(.text+0x12c2): In function > `dectodbl': > : undefined reference to `errno' > > Does anyone have an Idea what the issue is? Thanks. M Versions! Versions? Versions! ESQL/C? Linux kernel? GNU C Library? Most likely, your Mandrake version is similar to RH 9 in that it objects to programs that misuse errno (that is, declare it inline as 'extern int errno;'. If done properly via the <errno.h> header, then all is well. If done badly, it barfs. -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/