LINUX.ORG.RU

Qt-4.5.0-rc1 x86_64


0

0

Пытаюсь скомпилировать сабж под 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 установлены. Никто не сталкивался?

Ответ на: Re: Qt-4.5.0-rc1 x86_64 от linux4ever

Re: Qt-4.5.0-rc1 x86_64

В смысле? Система полностью обновлена, если вы об этом.

codeine-man ()

Re: Qt-4.5.0-rc1 x86_64

мне помогло выключение odbc в опциях сборки. а уже вроде есть патч. посмотри у них на форуме.

sid350 ★★★★★ ()
Ответ на: Re: Qt-4.5.0-rc1 x86_64 от sid350

Re: Qt-4.5.0-rc1 x86_64

Пробовал отключение odbc, не помогло. А на чьем сайте, TrollTech или ArchLinux?

codeine-man ()

Re: Qt-4.5.0-rc1 x86_64

В Генту собрал без проблем с поддержкой только sqlite, без mysql, postgresql, odbc. Опции ./configure нужны?

question4 ★★★★★ ()
Ответ на: Re: Qt-4.5.0-rc1 x86_64 от question4

Re: Qt-4.5.0-rc1 x86_64

> Чтобы отключить odbc, нужен ключ -no-sql-odbc.

Спасибо, вечером попробую.

codeine-man ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.