[unixODBC-dev] unixODBC 2.2.14 and 64-bit Unix OBDC/Connector (MySQL)

Nick Gorham nick at lurcher.org
Tue Dec 2 08:02:25 GMT 2008


Ida Schonfeld wrote:

> Hello,
>
> I’m working with the recent release from unixODBC and MySQL on 
> OpenSuse 10.2 (64 bit). Since this new release I’m trying to build the 
> Sources of the MySQL driver again but there is a conflict. It seems 
> that the Function declarations in the Driver and in unixODBC are not 
> the same. Can somebody maybe give me a hint how I can solve this problem?
>
> The unixODBC is built for 64 bit so that SQLULEN/SQLLEN is 8 byte and 
> SQLINTEGER/SQLUINTEGER is 4 byte as well as the following 
> typedeclarations:
>
>typedef SQLULEN SQLTRANSID; 
>
>typedef SQLULEN SQLROWCOUNT; 
>
>typedef SQLUINTEGER SQLROWSETSIZE; 
>
>typedef SQLLEN SQLROWOFFSET; 
>

The MySQL Driver prototypes need updating, just look at the location of 
the errors and the unixODBC header files and change them.

-- 
Nick


More information about the unixODBC-dev mailing list