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

Henning Westerholt henning.westerholt at 1und1.de
Fri May 16 17:54:31 CEST 2008


On Friday 16 May 2008, Carsten Bock 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.

Cheers,

Henning



More information about the Devel mailing list