Compilation problem

Nimish Bhargava <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
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

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.