[unixODBC-dev] Compilation problem

Nick Gorham nick at lurcher.org
Mon Feb 23 11:04:16 GMT 2009

Nimish Bhargava wrote:

>I am building unixODBC 2.2.14 on CentOS 5.2 x86_64 architecture.
>g++ version is 4.1.2.
>However, I am unable to build it as it shows the following error.
>results.cpp: In member function 'void dExtendedFetch::Ok()':
>results.cpp:2608: error: cannot convert 'SQLUINTEGER*' to 'SQLULEN*' for
>argument '4' to 'SQLRETURN SQLExtendedFetch(void*, SQLUSMALLINT, SQLLEN,
>I used the following options for configuring ODBC.
>./configure --prefix=$HOME --enable-stats=no
>Do I need to define something else too for compiling on 64 bit.
>I could build 2.2.12 easily with these options and generated Makefiles.
Hi, its a known problem (sorry). If you need the GUI parts, I will send 
you some replacement files that will fix the issue, if you don't then 
just disable the GUI parts and it will compile OK.


More information about the unixODBC-dev mailing list