Hi, I have been trying to install qtiplot for several weeks now without success. I get the numerous "undefined reference" error messages. It seems that the qwt or qwtplot3d may be the problem. Here is a sample of the error messages I get every time I try to install qtiplot (the output is bit long but I'll post only the top most part). graph.cpp:(.text+0x1bc1d): undefined reference to `QwtPlot::curve(long)' graph.cpp:(.text+0x1bcfd): undefined reference to `QwtCurve::style() const' graph.cpp:(.text+0x1bdcc): undefined reference to `QwtCurve::pen() const' graph.cpp:(.text+0x1beac): undefined reference to `QwtCurve::pen() const' graph.cpp:(.text+0x1bf87): undefined reference to `QwtCurve::pen() const' graph.cpp:(.text+0x1c05f): undefined reference to `QwtCurve::symbol() const' graph.cpp:(.text+0x1c410): undefined reference to `QwtCurve::brush() const' graph.cpp:(.text+0x1c4f0): undefined reference to `QwtCurve::brush() const' graph.cpp:(.text+0x1c5d0): undefined reference to `QwtCurve::brush() const' ../tmp/qtiplot/graph.o: In function `Graph::saveCurves()': graph.cpp:(.text+0x1e365): undefined reference to `QwtPlot::curve(long)' graph.cpp:(.text+0x1e36f): undefined reference to `QwtCurve::title() const' graph.cpp:(.text+0x1e940): undefined reference to `QwtCurve::dataSize() const' graph.cpp:(.text+0x1ed05): undefined reference to `QwtCurve::title() const' ../tmp/qtiplot/graph.o: In function `Graph::setAxesTitleColor(QStringList)': graph.cpp:(.text+0x1f202): undefined reference to `QwtScale::setTitleColor(QColor const&)' graph.cpp:(.text+0x1f228): undefined reference to `QwtPlot::axis(int) const' ../tmp/qtiplot/graph.o: In function `Graph::saveErrorBars()': graph.cpp:(.text+0x1f271): undefined reference to `QwtPlot::curveKeys() const' graph.cpp:(.text+0x1f3bc): undefined reference to `QwtPlot::curve(long)' ../tmp/qtiplot/graph.o: In function `Graph::move(QPoint const&)': graph.cpp:(.text+0x20169): undefined reference to `QwtPlot::curve(long)' graph.cpp:(.text+0x20185): undefined reference to `QwtPlot::curveKeys() const' graph.cpp:(.text+0x20300): undefined reference to `QwtCurve::dataSize() const' graph.cpp:(.text+0x20321): undefined reference to `QwtCurve::dataSize() const' graph.cpp:(.text+0x20362): undefined reference to `QwtCurve::dataSize() const' graph.cpp:(.text+0x204bb): undefined reference to `QwtPlotMappedItem::xAxis() const' graph.cpp:(.text+0x2051d): undefined reference to `QwtPlotMappedItem::yAxis() const' graph.cpp:(.text+0x20572): undefined reference to `QwtCurve::setData(QMemArray<double> const&, QMemArray<double> const&)' ../tmp/qtiplot/graph.o: In function `Graph::moveBy(int, int)': graph.cpp:(.text+0x209b0): undefined reference to `QwtPlot::curve(long)' graph.cpp:(.text+0x209e3): undefined reference to `QwtPlotMappedItem::xAxis() const' graph.cpp:(.text+0x20a27): undefined reference to `QwtPlotMappedItem::yAxis() const' ../tmp/qtiplot/graph.o: In function `Graph::removePoint()': graph.cpp:(.text+0x20a8c): undefined reference to `QwtPlot::curve(long)' graph.cpp:(.text+0x20aab): undefined reference to `QwtPlot::curveKeys() const' graph.cpp:(.text+0x20e42): undefined reference to `QwtPlot::curve(long)' ../tmp/qtiplot/graph.o: In function `Graph::translateCurveTo(QPoint const&)': graph.cpp:(.text+0x210cd): undefined reference to `QwtPlot::curve(long)' graph.cpp:(.text+0x2117a): undefined reference to `QwtCurve::dataSize() const' ../tmp/qtiplot/graph.o: In function `Graph::setAxisScale(int, QStringList const&)': graph.cpp:(.text+0x21603): undefined reference to `QwtPlot::setAxisOptions(int, int)' graph.cpp:(.text+0x21693): undefined reference to `QwtPlot::setAxisOptions(int, int)' ../tmp/qtiplot/graph.o: In function `Graph::setAutoScale()': graph.cpp:(.text+0x21990): undefined reference to `QwtPlot::setAxisOptions(int, int)' graph.cpp:(.text+0x219e5): undefined reference to `QwtPlot::setAxisOptions(int, int)' graph.cpp:(.text+0x21aec): undefined reference to `QwtPlot::setAxisOptions(int, int)' ../tmp/qtiplot/graph.o:graph.cpp:(.text+0x21b0f): more undefined references to `QwtPlot::setAxisOptions(int, int )' follow AND THEN THIS GOES ON FOR A COUPLE OF PAGES .... until ../tmp/qtiplot/moc_plot.o: In function `Plot::qt_invoke(int, QUObject*)': moc_plot.cpp:(.text+0x6bb): undefined reference to `QwtPlot::qt_invoke(int, QUObject*)' ../tmp/qtiplot/moc_plot.o: In function `Plot::qt_emit(int, QUObject*)': moc_plot.cpp:(.text+0x702): undefined reference to `QwtPlot::qt_emit(int, QUObject*)' moc_plot.cpp:(.text+0x717): undefined reference to `QwtPlot::staticMetaObject()' moc_plot.cpp:(.text+0x810): undefined reference to `QwtPlot::staticMetaObject()' moc_plot.cpp:(.text+0x89b): undefined reference to `QwtPlot::staticMetaObject()' moc_plot.cpp:(.text+0x923): undefined reference to `QwtPlot::staticMetaObject()' ../tmp/qtiplot/moc_plot.o: In function `Plot::qt_property(int, int, QVariant*)': moc_plot.cpp:(.text+0x9cc): undefined reference to `QwtPlot::qt_property(int, int, QVariant*)' ../tmp/qtiplot/moc_plot.o: In function `Plot::qt_cast(char const*)': moc_plot.cpp:(.text+0x1ae): undefined reference to `QwtPlot::qt_cast(char const*)' ../tmp/qtiplot/moc_plot.o:(.gnu.linkonce.r._ZTV4Plot+0x1d8): undefined reference to `QwtPlot::drawContents(QPain ter*)' ../tmp/qtiplot/moc_plot.o:(.gnu.linkonce.r._ZTV4Plot+0x1e8): undefined reference to `QwtPlot::lgdClicked()' ../tmp/qtiplot/moc_plot.o:(.gnu.linkonce.r._ZTV4Plot+0x1f8): undefined reference to `QwtPlot::insertLegendItem(l ong)' ../tmp/qtiplot/moc_plot.o:(.gnu.linkonce.r._ZTV4Plot+0x1fc): undefined reference to `QwtPlot::updateLegendItem(l ong)' ../tmp/qtiplot/moc_plot.o: In function `Plot::metaObject() const': moc_plot.cpp:(.gnu.linkonce.t._ZNK4Plot10metaObjectEv+0x12): undefined reference to `QwtPlot::staticMetaObject() ' collect2: ld returned 1 exit status make: *** [qtiplot] Error 1 !!! ERROR: sci-visualization/qtiplot-0.8.2 failed. Call stack: ebuild.sh, line 1525: Called dyn_compile ebuild.sh, line 928: Called src_compile qtiplot-0.8.2.ebuild, line 32: Called die !!! emake failed. !!! If you need support, post the topmost build error, and the call stack if relevant. 1. Steps: emerge qtiplot 2. Reproducible : ALWAYS Note that I have recompile the entire system twice with 1) emerge -eN system 2) emerge -eN world I still get the same error messages with the qtiplot failing to build. =============================================================================== Portage 2.1_pre9-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre18 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache cvs distcc distlocks metadata-transfer noauto sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.nrc.ca/pub/systems/linux/gentoo/ http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net ftp://ftp.ussg.iu.edu/pub/linux/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="x86 X aac aalib alsa apm arts avi berkdb bitmap-fonts cli crypt cups divx4linux dri eds emboss encode faad2 fbdev foomaticdb fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde libg++ libwww live mad mikmod motif mp3 mpeg nas ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_vesa video_cards_vga video_cards_fbdev video_cards_nv video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
*** Bug 131363 has been marked as a duplicate of this bug. ***
what version of qwt do you have installed? My guess is that this won't work with qwt_5
(In reply to comment #2) > what version of qwt do you have installed? My guess is that this won't work > with qwt_5 > Yeah ... I have qwt_5_pre20060130 installed! I guess that answers my question as to why it wasn't working. I was hopping that this version wouldn't be so different so qtiplot could still compile anyways. I guess wrong! thanks for your help. Paul
Closing as INVALID - we already have =x11-libs/qwt-4* as a dependency.
(In reply to comment #4) > Closing as INVALID - we already have =x11-libs/qwt-4* as a dependency. > I have both qwt-4 and qwt-5 installed. How do I tell qtiplot to use qwt-4?