Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128759 - qtiplot-0.8.1 doesn't compile
Summary: qtiplot-0.8.1 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 04:57 UTC by Mateusz Kotyrba
Modified: 2006-04-09 10:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Kotyrba 2006-04-04 04:57:30 UTC
Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 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-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer prelink sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee /usr/local/xgl-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d aac alsa apache2 asf audacious audiofile avi berkdb bitmap-fonts bonobo bzip2 cairo cdr cdrom cli compositor crypt crypto_openssl ctype cups curl dba dbus deskmenu dri dvd dvdr dvdread effects emboss encode esd exif expat extendedprefs fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp glitz glut gnome gphoto2 gpm gs gstreamer gtk gtk2 hal howl iconv idn imagemagick imlib infopipe ipv6 irssi isdnlog jabber jack java javascript jpeg kde lcms libg++ libwww mad memlimit menu mikmod mmx mmxext mng mono motif mp3 mpeg mplayer musepack mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam panel panelplugin pango pcre pdf pdflib perl php pic plotutils plugin png posix pppd python qt qt4 quicktime randr readline real ruby sdl session sftp sftplogging simplexml slang soap sockets spell spl sse ssl startup-notification subversion svg tcltk tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wma xcomposite xine xml xml2 xmms xscreensaver xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS


Error message: (it's the same error all over the screen)
(...)
../tmp/qtiplot/plot.o: In function `Plot::drawInwardMinorTicks(QPainter*, QRect const&, QwtDiMap const&, int) const':
plot.cpp:(.text+0x18c): undefined reference to `QwtPlot::axis(int) const'
plot.cpp:(.text+0x244): undefined reference to `QwtPlot::axisScale(int) const'
../tmp/qtiplot/plot.o: In function `Plot::drawInwardTicks(QPainter*, QRect const&, QwtDiMap const&, int) const':
plot.cpp:(.text+0x7ac): undefined reference to `QwtPlot::axis(int) const'
plot.cpp:(.text+0x864): undefined reference to `QwtPlot::axisScale(int) const'
../tmp/qtiplot/plot.o: In function `Plot::drawCanvasItems(QPainter*, QRect const&, QMemArray<QwtDiMap> const&, QwtPlotPrintFilter const&) const':
plot.cpp:(.text+0x139e): undefined reference to `QwtPlot::drawCanvasItems(QPainter*, QRect const&, QMemArray<QwtDiMap> const&, QwtPlotPrintFilter const&) const'
../tmp/qtiplot/plot.o: In function `Plot::Plot(QWidget*, char const*)':
plot.cpp:(.text+0x171a): undefined reference to `QwtPlot::QwtPlot(QWidget*, char const*)'
plot.cpp:(.text+0x17cc): undefined reference to `QwtPlot::setAutoLegend(bool)'
plot.cpp:(.text+0x18a7): undefined reference to `QwtPlot::axis(int) const'
plot.cpp:(.text+0x18bb): undefined reference to `QwtScale::setBaselineDist(int)'
../tmp/qtiplot/plot.o: In function `Plot::Plot(QWidget*, char const*)':
plot.cpp:(.text+0x1b5a): undefined reference to `QwtPlot::QwtPlot(QWidget*, char const*)'
plot.cpp:(.text+0x1c0c): undefined reference to `QwtPlot::setAutoLegend(bool)'
plot.cpp:(.text+0x1ce7): undefined reference to `QwtPlot::axis(int) const'
plot.cpp:(.text+0x1cfb): undefined reference to `QwtScale::setBaselineDist(int)'
../tmp/qtiplot/smoothCurveDialog.o: In function `smoothCurveDialog::activateCurve(int)':
smoothCurveDialog.cpp:(.text+0x162a): undefined reference to `QwtCurve::dataSize() const'
../tmp/qtiplot/smoothCurveDialog.o: In function `smoothCurveDialog::setGraph(Graph*)':
smoothCurveDialog.cpp:(.text+0x1708): undefined reference to `QwtCurve::dataSize() const'
../tmp/qtiplot/moc_plot.o: In function `Plot::staticMetaObject()':
moc_plot.cpp:(.text+0x102): undefined reference to `QwtPlot::staticMetaObject()'
../tmp/qtiplot/moc_plot.o: In function `Plot::selectPlot()':
moc_plot.cpp:(.text+0x204): undefined reference to `QwtPlot::staticMetaObject()'
../tmp/qtiplot/moc_plot.o: In function `Plot::moveGraph(QPoint const&)':
moc_plot.cpp:(.text+0x349): undefined reference to `QwtPlot::staticMetaObject()'
../tmp/qtiplot/moc_plot.o: In function `Plot::releasedGraph()':
moc_plot.cpp:(.text+0x427): undefined reference to `QwtPlot::staticMetaObject()'
../tmp/qtiplot/moc_plot.o: In function `Plot::resizeGraph(QPoint const&)':
moc_plot.cpp:(.text+0x569): undefined reference to `QwtPlot::staticMetaObject()'
../tmp/qtiplot/moc_plot.o:moc_plot.cpp:(.text+0x647): more undefined references to `QwtPlot::staticMetaObject()' follow
../tmp/qtiplot/moc_plot.o: In function `Plot::qt_invoke(int, QUObject*)':
moc_plot.cpp:(.text+0x6fb): undefined reference to `QwtPlot::qt_invoke(int, QUObject*)'
../tmp/qtiplot/moc_plot.o: In function `Plot::qt_emit(int, QUObject*)':
moc_plot.cpp:(.text+0x74e): undefined reference to `QwtPlot::qt_emit(int, QUObject*)'
moc_plot.cpp:(.text+0x761): undefined reference to `QwtPlot::staticMetaObject()'
moc_plot.cpp:(.text+0x85d): undefined reference to `QwtPlot::staticMetaObject()'
moc_plot.cpp:(.text+0x8e8): undefined reference to `QwtPlot::staticMetaObject()'
moc_plot.cpp:(.text+0x970): undefined reference to `QwtPlot::staticMetaObject()'
../tmp/qtiplot/moc_plot.o: In function `Plot::qt_property(int, int, QVariant*)':
moc_plot.cpp:(.text+0xa22): 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+0x1c8): undefined reference to `QwtPlot::qt_cast(char const*)'
../tmp/qtiplot/moc_plot.o:(.gnu.linkonce.r._ZTV4Plot+0x1d8): undefined reference to `QwtPlot::drawContents(QPainter*)'
../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(long)'
../tmp/qtiplot/moc_plot.o:(.gnu.linkonce.r._ZTV4Plot+0x1fc): undefined reference to `QwtPlot::updateLegendItem(long)'
../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
Comment 1 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-04-04 10:58:05 UTC
May be try recompiling qwt as it seems that is where issues are cropping up. If that doesn't work it could be a result of some of those CFLAGS - try something a little saner such as -march=athlon-xp -O2 -pipe, as far as I know mtune doesn't do anything if march is used... Linking seems to be at fault so you would at least need to recompile qwt, but possibly qt too and any other libs it has trouble linking to.
Comment 2 Mateusz Kotyrba 2006-04-05 02:40:43 UTC
no it doesn't help. i compiled qwt and qtiplot with: -march=athlon-xp -O2 -pipe and i got still the same error. it seems that qtiplot overwrites my O2 with O3.

but i haven't told that i already have qtiplot-0.7.7 which works fine..., and it compiled successfully with those 'bleeding edge' flags :P.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2006-04-09 06:12:42 UTC
what version of qwt do you have installed?
Comment 4 Mateusz Kotyrba 2006-04-09 10:01:05 UTC
(In reply to comment #3)
> what version of qwt do you have installed?
> 
I have these:
[I--] [ ~] x11-libs/qwt-4.2.0-r1 (0)
[I--] [ ~] x11-libs/qwt-5_pre20060130 (5)
Comment 5 Mateusz Kotyrba 2006-04-09 10:27:07 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > what version of qwt do you have installed?
> > 
> I have these:
> [I--] [ ~] x11-libs/qwt-4.2.0-r1 (0)
> [I--] [ ~] x11-libs/qwt-5_pre20060130 (5)
> 

it works :D. i recompiled qwt-4.2.0-r1, previously i was recompiling qwt-5_pre20060130. 

thanks guys