Пытаюсь скомпилировать сабж под Arch Linux. PKGBUILD отсюда: http://aur.archlinux.org/packages.php?ID=22368
При компиляции водзникает ошибка следующего типа:
../../../sql/drivers/odbc/qsql_odbc.cpp: In function ‘QString qGetStringData(void*, int, int, bool)’:
../../../sql/drivers/odbc/qsql_odbc.cpp:326: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to ‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp: In function ‘QVariant qGetBinaryData(void*, int)’:
../../../sql/drivers/odbc/qsql_odbc.cpp:379: ошибка: cannot convert ‘SQLUINTEGER*’ to ‘SQLULEN*’ for argument ‘7’ to ‘SQLRETURN SQLDescribeCol(void*, SQLUSMALLINT, SQLCHAR*, SQLSMALLINT, SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:395: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to ‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp: In function ‘QVariant qGetIntData(void*, int, bool)’:
../../../sql/drivers/odbc/qsql_odbc.cpp:424: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to ‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp: In function ‘QVariant qGetBigIntData(void*, int, bool)’:
../../../sql/drivers/odbc/qsql_odbc.cpp:444: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to ‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp: In function ‘QSqlField qMakeFieldInfo(const QODBCPrivate*, int)’:
../../../sql/drivers/odbc/qsql_odbc.cpp:495: ошибка: cannot convert ‘SQLUINTEGER*’ to ‘SQLULEN*’ for argument ‘7’ to ‘SQLRETURN SQLDescribeCol(void*, SQLUSMALLINT, SQLCHAR*, SQLSMALLINT, SQLSMALLINT*, SQLSMALLINT*, SQLULEN*, SQLSMALLINT*, SQLSMALLINT*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:509: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘7’ to ‘SQLRETURN SQLColAttribute(void*, SQLUSMALLINT, SQLUSMALLINT, void*, SQLSMALLINT, SQLSMALLINT*, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp: In member function ‘virtual QVariant QODBCResult::data(int)’:
../../../sql/drivers/odbc/qsql_odbc.cpp:979: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to ‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:992: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to ‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1005: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to ‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp: In member function ‘virtual int QODBCResult::numRowsAffected()’:
../../../sql/drivers/odbc/qsql_odbc.cpp:1072: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘2’ to ‘SQLRETURN SQLRowCount(void*, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp: In member function ‘virtual bool QODBCResult::exec()’:
../../../sql/drivers/odbc/qsql_odbc.cpp:1190: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1210: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1234: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1247: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1259: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1271: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1283: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1295: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1310: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1322: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1344: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1358: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1378: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
../../../sql/drivers/odbc/qsql_odbc.cpp:1395: ошибка: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to ‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
rm -f libqsvg.so
make[3]: *** [.obj/release-shared/qsql_odbc.o] Ошибка 1
make[3]: Leaving directory `/var/abs/local/qt-beta/src/qt-x11-opensource-src-4.5.0-rc1/src/plugins/sqldrivers/odbc'
make[2]: *** [sub-odbc-make_default] Ошибка 2
make[2]: Leaving directory `/var/abs/local/qt-beta/src/qt-x11-opensource-src-4.5.0-rc1/src/plugins/sqldrivers'
make[1]: *** [sub-sqldrivers-make_default] Ошибка 2
make[1]: *** Ожидание завершения заданий...
При этом mysql, postgresql, odbc установлены. Никто не сталкивался?