Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86293 - media-gfx/labplot-1.4.0 fails to compile
Summary: media-gfx/labplot-1.4.0 fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 12:27 UTC by Johannes Steidl
Modified: 2005-06-19 05:39 UTC (History)
1 user (show)

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 Johannes Steidl 2005-03-22 12:27:43 UTC
$ emerge labplot

/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-v irtual-dtor -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts - Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -fomit-frame-pointer -fstack-protector -pipe -Wformat-security -Wmissing-format- attribute -fno-check-new -fno-common    -o LabPlot -L/usr/lib -L/usr/qt/3/lib -L /usr/kde/3.4/lib  -lstdc++ -lkdeui -ltiff -lgsl -lgslcblas -ljasper      ../netc df/libLabPlotnetCDF.la  ../audiofile/libLabPlotaudiofile.la -lGL -lGLU -L../qwtp lot3d/ -lLabPlotqwtplot3d -lkdeprint -lkparts LabPlot.o LabPlotSplash.o libLabPl ot.la ../cephes/libLabPlotcephes.la

*** Warning: Linking the executable LabPlot against the loadable module
*** libLabPlot.so is not portable!
./.libs/libLabPlot.so: undefined reference to `QGLWidget::updateGL()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::qt_emit(int, QUObject* )'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::initializeOverlayGL()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::QGLWidget(QWidget*, ch ar const*, QGLWidget const*, unsigned int)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::setFormat(QGLFormat co nst&)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::qglColor(QColor const& ) const'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::paintEvent(QPaintEvent *)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::qglClearColor(QColor c onst&) const'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::initializeGL()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::glInit()'
/var/tmp/portage/labplot-1.4.0/work/LabPlot-1.4.0/qwtplot3d/.libs/libLabPlotqwtp lot3d.so: undefined reference to `QGLWidget::convertToGLFormat(QImage const&)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::setMouseTracking(bool) '
./.libs/libLabPlot.so: undefined reference to `QGLFormat::QGLFormat(int, int)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::resizeOverlayGL(int, i nt)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::grabFrameBuffer(bool)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::qt_cast(char const*)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::renderPixmap(int, int,  bool)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::updateOverlayGL()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::resizeEvent(QResizeEve nt*)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::makeCurrent()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::qt_property(int, int, QVariant*)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::makeOverlayCurrent()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::setContext(QGLContext* , QGLContext const*, bool)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::swapBuffers()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::~QGLWidget()'
./.libs/libLabPlot.so: undefined reference to `typeinfo for QGLWidget'
./.libs/libLabPlot.so: undefined reference to `QGLFormat::hasOpenGL()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::reparent(QWidget*, uns igned int, QPoint const&, bool)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::className() const'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::qt_invoke(int, QUObjec t*)'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::paintOverlayGL()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::glDraw()'
./.libs/libLabPlot.so: undefined reference to `QGLWidget::staticMetaObject()'
collect2: ld returned 1 exit status
make[2]: *** [LabPlot] Error 1
make[2]: Leaving directory `/var/tmp/portage/labplot-1.4.0/work/LabPlot-1.4.0/sr c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/labplot-1.4.0/work/LabPlot-1.4.0/sr c'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/labplot-1.4.0 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


$ emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-as3-edocker i686)
=================================================================
System uname: 2.6.10-as3-edocker i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  6 2005, 23:59:31)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fstack-protector -pipe"
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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fstack-protector -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache colission-protect distlocks maketest sandbox sfperms test userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE"
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 aalib acl acpi alsa apache2 avi bash-completion bitmap-fonts caca cdparanoia cdr crypt cups divx4linux dlloader dvd dvdr eds encode esd evo fam fbcon flac gif gimpprint gnome gnomedb gpm gstreamer gtk2 gtkhtml hal hbci howl imlib2 ipv6 ithreads jpeg mad mikmod mmx mng mono moznocompose moznoirc moznomail mozsvg mpeg mpeg4 mysql ncurses nls nptl nptlonly oggvorbis opengl openssh pam pcmcia png python quicktime readline real rtc samba session spell sse sse2 ssl svg svga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales wmf xanim xv zlib linguas_GER"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS


$ whoami
root
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-26 09:23:26 UTC
Looks like you did not compile Qt with opengl use flag. This means you need to build Qt and (at least) kdelibs again.
Comment 2 Johannes Steidl 2005-06-19 05:39:16 UTC
sorry, was away. It works fine know here. I cant tell the exact reason because
it worked fine after a while. Thanks anyway.