../../../../src/sql/drivers/mysql/qsql_mysql.cpp:664: error: 'class QMYSQLResultPrivate' has no member named 'result' ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:664: error: `mysql_field_seek' undeclared (first use this function) ../../../../src/sql/drivers/mysql/qsql_mysql.cpp: At global scope: ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:669: error: syntax error before `*' token ../../../../src/sql/drivers/mysql/qsql_mysql.cpp: In member function `virtual bool QMYSQLDriver::beginTransaction()': ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:685: error: 'class QMYSQLDriverPrivate' has no member named 'mysql' ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:685: error: `mysql_query' undeclared (first use this function) ../../../../src/sql/drivers/mysql/qsql_mysql.cpp: In member function `virtual bool QMYSQLDriver::commitTransaction()': ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:703: error: 'class QMYSQLDriverPrivate' has no member named 'mysql' ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:703: error: `mysql_query' undeclared (first use this function) ../../../../src/sql/drivers/mysql/qsql_mysql.cpp: In member function `virtual bool QMYSQLDriver::rollbackTransaction()': ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:721: error: 'class QMYSQLDriverPrivate' has no member named 'mysql' ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:721: error: `mysql_query' undeclared (first use this function) ../../../../src/sql/drivers/mysql/qsql_mysql.cpp: In member function `virtual QString QMYSQLDriver::formatValue(const QSqlField*, bool) const': ../../../../src/sql/drivers/mysql/qsql_mysql.cpp:740: error: ` mysql_escape_string' undeclared (first use this function) {standard input}: Assembler messages: {standard input}:27: Error: symbol `_ZN12QMYSQLDriver12setOpenErrorE' is already defined {standard input}:33: Error: symbol `_ZN12QMYSQLDriver7setOpenE' is already defined {standard input}:40: Error: symbol `_ZN12QMYSQLDriver12setOpenErrorE' is already defined make[3]: *** [.obj/qsql_mysql.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql' make[2]: *** [sub-mysql] Error 2 make[2]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/plugins/src/sqldrivers' make[1]: *** [sub-sqldrivers] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/plugins/src' make: *** [sub-plugins] Error 2 !!! ERROR: x11-libs/qt-3.3.4-r8 failed. !!! Function src_compile, Line 191, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 Xaw3d aalib acpi aim aimextras alsa apache2 apm arts artswrappersuid atlas authdaemond avi bash-completion berkdb big-tables bitmap-fonts bzip2 ccache cdb cddb cdparanoia cdr cdrom clamav cli crypt cscope css ctype cups curl curlwrappers dga dio dnd dpms dri dts dv dvb dvd dvdr dvdread dxr3 eds emacs encode erandom expat extensions fam fame ffmpeg fftw flac flash font-server fontconfig foomaticdb fortran fping ftp gatos gcj gd gdbm geometry gif gimp gimpprint glibc-compat20 glut glx gmail gmailtimestamps gmp gmtfull gmthigh gmtsuppl gmttria gpm graphicsmagick gsl gstreamer gtk gtk2 gtkhtml guile hbci iconv icq id3 idea imagemagick imap imlib inifile innodb java javascript jp2 jpeg jpeg2k junit kcal kde kdepim kerberos lame lcd lcms libclamav libg++ libwww linuxthreads-tls log4j logrotate lua lzo lzw mad maildir maildrop mcal mcve memlimit mhash mikmod mime ming mjpeg mmap mmx mmxext mng mono motif mozcalendar mozdevelop mozilla mozsha1 mozsvg mp3 mpeg mplayer msn msnextras mysql mysqli ncurses net network nls nptl nsplugin nspr ntfs ntlm odbc offensive ogg oggvorbis openal opengl openssl oss overload pam pango pascal password passwordsave pcntl pcre pdf pdflib pear pear-db perl perlsuid php png posix postfix python qt quicktime rar rdesktop readline real reiser4 reiserfs rpc rplay rss rtc samba sasl sblive scanner scp sdl session sharedext sharedmem shorten sid silc skey slang slp smime smp soap sockets speedo speex spell spl sql sse ssl svga swat sysfs szip tcpd threads tiff tokenizer transcode truetype truetype-fonts type1 type1-fonts udev underscores unicode urandom usb vcd vcdimager vfat vhosts videos virtual-users virus-scan vorbis win32codecs winbind withsamplescripts wma wmf xanim xchatdccserver xchattext xcomposite xext xft xine xinerama xinetd xml2 xmlreader xmlrpc xmms xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yaz zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Problem goes away if I add MAKEOPTS="" to make.conf.
I have this same problem... on AMD64
It seems that I might be getting the same error with qt-3.3.4-r9 Trying with MAKEOPTS="" in my make.conf to see if it solves this.. ===================== ln -s libqt-mt.so.3.3.4 libqt-mt.so ln -s libqt-mt.so.3.3.4 libqt-mt.so.3 ln -s libqt-mt.so.3.3.4 libqt-mt.so.3.3 rm -f ../lib/libqt-mt.so.3.3.4 rm -f ../lib/libqt-mt.so rm -f ../lib/libqt-mt.so.3 rm -f ../lib/libqt-mt.so.3.3 mv -f libqt-mt.so.3.3.4 libqt-mt.so libqt-mt.so.3 libqt-mt.so.3.3 ../lib/ make[1]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/src' cd qmake && make make[1]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/qmake' make[1]: `qmake' is up to date. make[1]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/qmake' cd src/moc && make make[1]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/src/moc' make[1]: Nothing to be done for `first'. make[1]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/src/moc' cd src && make make[1]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/src' make[1]: Nothing to be done for `first'. make[1]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/src' cd plugins/src && make make[1]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src' cd accessible && make -f Makefile make[2]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/accessible' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/accessible' cd codecs && make -f Makefile make[2]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/codecs' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/codecs' cd imageformats && make -f Makefile make[2]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/imageformats' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/imageformats' cd sqldrivers && make -f Makefile make[2]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers' cd mysql && make -f Makefile make[3]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql' /tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/bin/qmake -spec /tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -o /tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/./plugins/src/sqldrivers/mysql /tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql/mysql.pro cd /tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/./plugins/src/sqldrivers/mysql make Makefile make[4]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql' make[4]: `Makefile' is up to date. make[4]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql' make[3]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql' make[3]: Entering directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql' g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -march=pentium4 -O3 -pipe -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/main.o main.cpp In file included from main.cpp:38: ../../../../src/sql/drivers/mysql/qsql_mysql.h:49:19: mysql.h: No such file or directory In file included from main.cpp:38: ../../../../src/sql/drivers/mysql/qsql_mysql.h:69: error: ISO C++ forbids declaration of `MYSQL_RES' with no type ../../../../src/sql/drivers/mysql/qsql_mysql.h:69: error: expected `;' before '*' token ../../../../src/sql/drivers/mysql/qsql_mysql.h:90: error: expected `)' before '*' token ../../../../src/sql/drivers/mysql/qsql_mysql.h:108: error: ISO C++ forbids declaration of `MYSQL' with no type ../../../../src/sql/drivers/mysql/qsql_mysql.h:108: error: expected `;' before '*' token make[3]: *** [.obj/main.o] Error 1 make[3]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers/mysql' make[2]: *** [sub-mysql] Error 2 make[2]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src/sqldrivers' make[1]: *** [sub-sqldrivers] Error 2 make[1]: Leaving directory `/tmp/portage/qt-3.3.4-r9/work/qt-x11-free-3.3.4/plugins/src' make: *** [sub-plugins] Error 2 !!! ERROR: x11-libs/qt-3.3.4-r9 failed. Call stack: ebuild.sh, line 1557: Called dyn_compile ebuild.sh, line 966: Called src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. my emerge info ash@deimos:~ ] emerge --info Portage 2.1_pre6-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1400MHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.4.3-r4, 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx" DISTDIR="/home/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://192.168.69.11/gentoo http://gentoo.recoil.net.nz/gentoo ftp://ftp2.jetstreamgames.co.nz/pub/gentoo ftp://ftp.citylink.co.nz/gentoo" LANG="c" LC_ALL="C" MAKEOPTS="" PKGDIR="/home/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/home/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow X aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 crypt cups curl dba dri eds emboss encode foomaticdb fortran gd gdbm gif gnome gnome2 gpm gstreamer gtk gtk2 imlib ipv4 ipv6 ithreads java jpeg kde kerberos ldap libg++ libwww mad maildir mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nptlonly odbc ogg oggvorbis opengl oss pam pda pdflib perl php pic png pthreads python qt quicktime radeon readline samba sasl sdl session slang spell ssl svga tcltk tcpd threads truetype truetype-fonts type1-fonts usb vhosts vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
setting MAKEOPTS="" did not work for me..
what version of mysql do you all have installed? Maybe something has changed there?
I had x86 stable at the time. 4.1.x.
mysql-5.0.18 here... * dev-db/mysql Available versions: 3.23.58-r1 4.0.25-r2 4.0.26 4.1.14 4.1.16 4.1.16-r30 4.1.18-r30 [M]4.1.18-r60 5.0.17 5.0.18 5.0.18-r30 [M]5.0.18-r60 [M]5.0.19 [M]5.1.4_alpha-r30 [M]5.1.6_alpha-r30 [M]5.1.7_beta Installed: 5.0.18-r30 Homepage: http://www.mysql.com/ Description: A fast, multi-threaded, multi-user SQL database server
But the slotted mysqls? I wonder if it's mixing versions when it compiles?
only have the one version 5.0.18-r30 installed here..
I can confirm this behaviour, with glibc-2.4, mysql-5.0.18-r30, and qt-3.3.4-r9. Playing with some USE flags, but here's my current emerge --info: monolith bin # emerge --info Portage 2.1_pre6-r3 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r0, 2.6.14-g entoo-r4 i686) ================================================================= System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/ 3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kd e/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/con fig /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozi lla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /e tc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac alsa apache2 apm arts asf avi berkdb bitmap-fonts cddb crypt cups dba directfb divx4linux dri dts dvd dvdread eds emboss encode f77 fb con ffmpeg fftw firefox flac foomaticdb fortran gd gdbm gif gimp glibc-omitfp gn ome gphoto2 gpm gstreamer gtk gtk2 hal ieee1394 imlib immqt-bc ipv6 jack java ja vascript joystick jpeg kde kdexdeltas libg++ libwww lm_sensors mad mikmod mmx mm xext modplug motif mozilla mozxmlterm mp3 mpeg musicbrainz mysql mythtv ncurses network nls nptl nptlonly nvidia oav offensive ogg oggvorbis openal opengl oss p am pcre pdflib perl png ppds python qt quicktime readline real samba scanner sdl session slang sndfile snmp spdif spell sse ssl svga tcpd transcode truetype tru etype-fonts type1-fonts unicode usb v4l v4l2 visualization vorbis win32codecs wx gtk1 wxwindows x86 xcomposite xine xinerama xml2 xmms xprint xscreensaver xv xvi d zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
A rebuild of mysql solved the problem--why is mySQL not merged prior to Qt with USE=mysql?
I can also confirm a successful emerge of qt after a mysql recompile :)
*** Bug 130799 has been marked as a duplicate of this bug. ***
*** Bug 130967 has been marked as a duplicate of this bug. ***
I too have a very large make.conf USE flag setup (took the failed GLI install's USE settings - my bug for that was blamed on FS or conn, but seems to only happen in GLI not manual and badblocks reported nothing after hours...) and same make j2. Tried removing the j2 and no good. emerged mysql first and worked fine.
If you still have this issue, please reopen. Works fine here, and no report for over a year.