Skip to Content.
Sympa Menu

freetds - RE: [freetds] Announcement: 0.61.2

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: GUTIERREZ Pablo TESIS-TAMSA <Tesgup AT tamsa.com.mx>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Announcement: 0.61.2
  • Date: Tue, 12 Aug 2003 18:05:24 -0500

Hi james, I wonder why you didn't include your new configure script
(referred in the mail below) in this release (0.61.2) , since it worked OK
in QNX 4.25.

Regards,
Pablo.
-----Original Message-----
From: GUTIERREZ Pablo TESIS-TAMSA
Sent: Monday, July 21, 2003 4:20 PM
To: 'FreeTDS Development Group'
Subject: RE: [freetds] COMPILATION UNDER QNX 4.25

Finally, with the snapshot from www.schemamania.org, the file
"include/config.h" was generated OK.

The only detail now is that "include/config.h" defines #HAVE_SYS_SELECT_H
and my previous patch expects #HAVE_SELECT_H.
#HAVE_SYS_SELECT_H seems to be a better option, so I send another patch to
correct this. (the patch is for src/tds/login.c, src/tds/write.c and
src/tds/read.c)

I hope you can apply it.
Thanks a lot,
Pablo.

-----Original Message-----
From: Lowden, James K [mailto:LowdenJK AT bernstein.com]
Sent: Monday, July 21, 2003 2:37 PM
To: 'FreeTDS Development Group'
Subject: RE: [freetds] COMPILATION UNDER QNX 4.25

> 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





Archive powered by MHonArc 2.6.24.

Top of Page