[unixODBC-dev] Compilation problem

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


Nimish Bhargava wrote:

>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
>
>  
>
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.

-- 
Nick


More information about the unixODBC-dev mailing list