trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

SOLVED Re: [trinity-devel] Qt3 - FTBFS... Tim are these related to your changes or mysql's??

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 06 Aug 2012 23:06:10 -0500
On 08/06/2012 09:16 PM, David C. Rankin wrote:
> On 08/06/2012 08:56 PM, David C. Rankin wrote:
>> .obj/qsql_odbc.o ../../../../src/sql/drivers/odbc/qsql_odbc.cpp
>> ../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'QString
>> qGetStringData(SQLHANDLE, int, int, bool&, bool)':
>> ../../../../src/sql/drivers/odbc/qsql_odbc.cpp:285:21: error: cannot convert
>> 'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to
>> 'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN,
>> SQLLEN*)'
> 
> I think this is me. I have seen this before with TQt3 -- now I just have to
> remember how I fixed it :)
> 


  It was me -- sort of. It built on i686 and did not build on x86_64. All I did
was to add:

  sed -i 's|lib64|lib|g' mkspecs/linux-g++-64/qmake.conf

and

  -I/usr/include/libiodbc \

and it is building again. Sorry about the noise :)



-- 
David C. Rankin, J.D.,P.E.