[unixODBC-dev] Compilation problem
Nimish Bhargava
nimish.bhargava at gmail.com
Mon Feb 23 10:46:38 GMT 2009
Hi
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,
SQLULEN*, SQLUSMALLINT*)'
I used the following options for configuring ODBC.
./configure --prefix=$HOME --enable-stats=no
--with-qt-dir=/usr/lib64/qt-3.3/
--with-qt-includes=/usr/lib64/qt-3.3/include/
--with-qt-libraries=/usr/lib64/qt-3.3/lib/
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.
Regards
Nimish
-------------- 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