[unixODBC-dev] Compilation problem

Nimish Bhargava nimish.bhargava at gmail.com
Mon Feb 23 10:46:38 GMT 2009


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090223/e2d0afa9/attachment.html>

More information about the unixODBC-dev mailing list