[freetds] COMPILATION UNDER QNX 4.25
Lowden, James K
LowdenJK at bernstein.com
Mon Jul 21 17:37:21 EDT 2003
> From: GUTIERREZ Pablo TESIS-TAMSA [mailto:Tesgup at tamsa.com.mx]
> Sent: July 21, 2003 3:19 PM
>
> QNX4 doesn't have any iconv library, so my build uses
> src/replacementes/iconv.c, and at least in that file EILSEQ is used.
Right, OK, thanks. That's my handiwork. Now I begin to understand the
problem.
In GNU libiconv, they have to deal with systems like yours, that lack
EILSEQ. There are about 60 lines of m4 macro code to DTRT in their
distribution, cf. m4/eilseq.m4. They specifically avoid defining EILSEQ as
EINVAL.
For now for yourself, you could define EILSEQ as EINVAL. That will get you
compiling. I'm going to follow GNU's lead and use a more general approach.
I'll borrow GNU's m4 code -- Thank you, Bruno Haible! -- and when I'm done,
our configure script will notice you're missing EILSEQ and add one
appropriately.
--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.
More information about the FreeTDS
mailing list