[OpenSER-Devel] unixodbc module / SQL_WLONGVARCHAR / Debian Sarge

Henning Westerholt henning.westerholt at 1und1.de
Mon May 19 10:44:05 CEST 2008


On Friday 16 May 2008, Henning Westerholt wrote:
> > technically spoken, you're right. But on deb-sarge i get the following
> > compiling errors:
> >
> > res.c: In function `get_columns':
> > res.c:127: error: `SQL_WLONGVARCHAR' undeclared (first use in this
> > function)
> > res.c:127: error: (Each undeclared identifier is reported only once
> > res.c:127: error: for each function it appears in.)
> >
> > The package building for sarge does not work anymore...
> > I think, there must be some way to cope with this (somehow an "#ifdef"
> > or something...) in order to keep it compatible with older versions of
> > linux/unixodbc....
>
> Hi Carsten,
>
> sarge reached the end of life a few month ago.. But you could check for
> ODBCVER in sql.h. On my system its "#define ODBCVER 0x0351", it should be
> posible to use this for an #ifdef.

Hi Carsten,

to be more precise, its in /usr/include/sql.h, on my system. If you can give 
me the version that is present in your library, or even better, send me a 
short patch ;-) then i will include this in the 1.3 branch of course.

Cheers,

Henning



More information about the Devel mailing list