Summary: | qt-4.1.3 fails to compile with gcc-4.1.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Grant Goodyear (RETIRED) <g2boojum> |
Component: | [OLD] Library | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | flameeyes |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Grant Goodyear (RETIRED)
![]() hmm, but it works out of the box for you with a lesser gcc ? (In reply to comment #1) > hmm, but it works out of the box for you with a lesser gcc ? Um, it looks like the answer is "no", at least w/ gcc-3.4.6-r1. g++ -m64 -shared -o libqjpeg.so .obj/release-shared/main.o .obj/release-shared/qjpeghandler.o -L/usr/lib64 -L/usr/lib64/mysql -L/var/tmp/portage/qt-4.1.3/work/qt-x11-opensource-src-4.1.3/lib -ljpeg -lQtGui -L/usr/lib64 -L/usr/lib64/mysql -L/var/tmp/portage/qt-4.1.3/work/qt-x11-opensource-src-4.1.3/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -lpthread -ldl ../../../sql/drivers/mysql/qsql_mysql.cpp: In member function `virtual bool QMYSQLDriver::open(const QString&, const QString&, const QString&, const QString&, int, const QString&)': ../../../sql/drivers/mysql/qsql_mysql.cpp:965: error: `CLIENT_MULTI_STATEMENTS' was not declared in this scope ../../../sql/drivers/mysql/qsql_mysql.cpp:965: warning: unused variable 'CLIENT_MULTI_STATEMENTS' what mysql version(s) do you have installed? Looks like the headers aren't where Qt expects them to be. (In reply to comment #3) > what mysql version(s) do you have installed? Looks like the headers aren't > where Qt expects them to be. I had mysql 4.1.19. I rebuilt qt with mysql-5.0.21, and that compiles just fine. Ah, well, I'd been meaning to learn how to dump tables and upgrade my mythtv. never seen this elsewhere. calling it a fluke, I suppose. |