Every time I try to build mysql++ I get the followin error messages. ============================================================ mv -f .libs/string_util.lo string_util.lo /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -c datetime.cc In file included from coldata1.hh:8, from coldata2.hh:5, from coldata3.hh:12, from coldata4.hh:6, from coldata.cc:3: type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info() ': type_info1.hh:29: error: uninitialized member ' mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned char' type_info1.hh:29: error: uninitialized member 'mysql_ti_sql_type_info::_default ' with 'const' type 'const bool' In file included from coldata1.hh:8, from field_names1.hh:9, from result1.hh:15, from query1.hh:13, from connection1.hh:19, from connection2.hh:4, from connection3.hh:2, from connection.cc:2: type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info() ': type_info1.hh:29: error: uninitialized member ' mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned char' type_info1.hh:29: error: uninitialized member 'mysql_ti_sql_type_info::_default ' with 'const' type 'const bool' rm -f .libs/datetime.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer -Wp,-MD,.deps/datetime.pp -c -fPIC -DPIC datetime.cc -o .libs/datetime.lo make[2]: *** [coldata.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from coldata1.hh:8, from datetime1.hh:16, from datetime2.hh:4, from datetime3.hh:2, from datetime.cc:9: type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info() ': type_info1.hh:29: error: uninitialized member ' mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned char' type_info1.hh:29: error: uninitialized member 'mysql_ti_sql_type_info::_default ' with 'const' type 'const bool' make[2]: *** [connection.lo] Error 1 make[2]: *** [datetime.lo] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql++-1.7.9-r3/work/mysql++-1.7.9' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-db/mysql++-1.7.9-r3 failed. !!! Function src_compile, Line 85, Exitcode 2 !!! unable to make ============================================================ My emerge info: ============================================================ Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" 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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow X acl acpi alsa apache2 apm arts audiofile avi bcmath berkdb bindist bitmap-fonts bonobo bzlib calendar caps cdb cdr cpdflib crypt cscopectype cups curl dbase directfb divx4linux doc dvd dvdr emacs encode esd fastcgi fbcon firebird flac foomaticdb ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hardened imagemagic imlib innodb ipv6 jabber jack java jikes joystick jpeg kde kerberos lcms ldap leim libg++ libwww linguas_de mad maildir mailwrapper mbox mcal mikmod mime mmx mng motif mozilla mpeg mule mysql nas ncurses nis nls nocardbus odbc oggvorbis opengl oss osspcre pam pda pdflib perl pic png portaudio postgres ppds python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp socks5 speex spell ssl svga tcltk tcpd tiff truetype unicode usb vhosts video_cards_radeon wmf x86 xine xinerama xml2 xml2xmms xmms xosd xpm xprint xv xvid zlib" ============================================================ Reproducible: Always Steps to Reproduce: 1.emerge mysql++ 2. 3. Actual Results: Compile terminates. Expected Results: Compile shall be successfull.
same problem here
see bug 49590 the patch in the comment fix the problem to me
*** This bug has been marked as a duplicate of 65333 ***