Summary: | media-plugins/kipi-plugins-0.1.0_beta2 build fails with undefined reference to `std::basic_istream | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Klaffenboeck <martin.klaffenboeck> |
Component: | New packages | Assignee: | Gentoo KDE team <kde> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | juergennagel, schulz.benjamin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Klaffenboeck
2005-12-14 05:22:56 UTC
I experience the same error. In my case, however, the error occurs with kipi-plugins-0.1.0-rc1. make[3]: Entering directory `/var/tmp/portage/kipi-plugins-0.1.0_rc1/work/kipi-plugins-0.1.0-rc1/kipi-plugins/imagesgallery' /usr/qt/3/bin/moc ./plugin_imagesgallery.h -o plugin_imagesgallery.moc /usr/qt/3/bin/moc ./imgallerydialog.h -o imgallerydialog.moc /usr/qt/3/bin/moc ./imagesgallery.h -o imagesgallery.moc /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -frename-registers -funit-at-a-time -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o exifrestorer.lo exifrestorer.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -frename-registers -funit-at-a-time -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o plugin_imagesgallery.lo plugin_imagesgallery.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -frename-registers -funit-at-a-time -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o imgallerydialog.lo imgallerydialog.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -frename-registers -funit-at-a-time -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o imagesgallery.lo imagesgallery.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -frename-registers -funit-at-a-time -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kipiplugin_imagesgallery.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib plugin_imagesgallery.lo imgallerydialog.lo imagesgallery.lo exifrestorer.lo -lkparts -lkipi .libs/exifrestorer.o: In function `ExifRestorer::readFile(QString const&, ExifRestorer::ReadMode)': exifrestorer.cpp:(.text+0x1736): undefined reference to `std::basic_istream<char, std::char_traits<char> >::seekg(long long, std::_Ios_Seekdir)' collect2: ld returned 1 exit status make[3]: *** [kipiplugin_imagesgallery.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kipi-plugins-0.1.0_rc1/work/kipi-plugins-0.1.0-rc1/kipi-plugins/imagesgallery' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kipi-plugins-0.1.0_rc1/work/kipi-plugins-0.1.0-rc1/kipi-plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kipi-plugins-0.1.0_rc1/work/kipi-plugins-0.1.0-rc1' make: *** [all] Error 2 !!! ERROR: media-plugins/kipi-plugins-0.1.0_rc1 failed. !!! Function kde_src_compile, Line 175, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -frename-registers -funit-at-a-time" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -frename-registers -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.inode.at/source http://mirror.hamakor.org.il/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://ftp.tugraz.at/pub/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac acl acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr cjk crypt cscope cups curl dbus dts dvd emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm ggi gif glut gmp gnutls gphoto2 gtk gtk2 hal hardened idn imagemagick imap imlib ipv6 jabber java jikes jpeg junit kde kdeenablefinal kdexdeltas lcms ldap lesstif libg++ libwww lm_sensors mad matroska mikmod mmx mng motif mozsvg mp3 mpeg mysql ncurses nptl odbc ogg oggvorbis opengl oss pam pcre pdflib perl pic png postgres ppds python qt quicktime rdesktop readline recode ruby samba sasl scanner sdl slang slp speex spell sse ssl svg svga tcltk tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf wxwindows xine xinerama xml2 xosd xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS the compile completes with gcc-3.3.6 instead of gcc-3.4.5 on my system (see gcc-config). rob. You can't mix c++ libs compiles with gcc 3.3 and 3.4. After upgrading you have to rebuild them all. *** Bug 159411 has been marked as a duplicate of this bug. *** can someone tell me what to do? eg what I have to rebuild? Thanks, Benni (In reply to comment #5) > can someone tell me what to do? > eg what I have to rebuild? > Thanks, Benni Follow the gcc upgrade guide: http://www.gentoo.org/doc/en/gcc-upgrading.xml |