Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129376 - labplot-1.5.1 compile error.
Summary: labplot-1.5.1 compile error.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-09 12:01 UTC by Pietro Franchi
Modified: 2006-04-30 07:03 UTC (History)
2 users (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 Pietro Franchi 2006-04-09 12:01:32 UTC
It fails to compile, that's about it.

/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -Os -pipe -march=pentium-m -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-check-new -fno-common    -o LabPlot -lkdeui -lgsl -lgslcblas -ljasper `Magick++-config --ldflags --libs`    -lnetcdf   -lGL -lGLU -L//usr/lib -lqwtplot3d  -lkdeprint -lkparts -L/usr/lib -L//usr/qt/3/lib -L/usr/kde/3.4/lib  -L/usr/kde/3.4/lib -lstdc++ ../libundo/libLabPlotlibundo.la -ltiff LabPlot.o LabPlotSplash.o libLabPlot.la ../cephes/libLabPlotcephes.la ../liborigin/liborigin.la 

*** Warning: Linking the executable LabPlot against the loadable module
*** libLabPlot.so is not portable!
./.libs/libLabPlot.so: undefined reference to `afQueryPointer'
./.libs/libLabPlot.so: undefined reference to `afReadFrames'
./.libs/libLabPlot.so: undefined reference to `afGetVirtualChannels'
./.libs/libLabPlot.so: undefined reference to `afGetVirtualSampleFormat'
./.libs/libLabPlot.so: undefined reference to `afGetVirtualFrameSize'
./.libs/libLabPlot.so: undefined reference to `afCloseFile'
./.libs/libLabPlot.so: undefined reference to `afInitFileFormat'
./.libs/libLabPlot.so: undefined reference to `afWriteFrames'
./.libs/libLabPlot.so: undefined reference to `afInitChannels'
./.libs/libLabPlot.so: undefined reference to `afInitRate'
./.libs/libLabPlot.so: undefined reference to `afInitSampleFormat'
./.libs/libLabPlot.so: undefined reference to `afGetRate'
./.libs/libLabPlot.so: undefined reference to `afGetFrameCount'
./.libs/libLabPlot.so: undefined reference to `afOpenFile'
./.libs/libLabPlot.so: undefined reference to `afNewFileSetup'
./.libs/libLabPlot.so: undefined reference to `afGetFileFormat'
collect2: ld returned 1 exit status
make[2]: *** [LabPlot] Error 1
make[2]: Leaving directory `/var/tmp/portage/labplot-1.5.1/work/LabPlot-1.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/labplot-1.5.1/work/LabPlot-1.5.1/src'
make: *** [all-recursive] Error 1

!!! ERROR: sci-visualization/labplot-1.5.1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  labplot-1.5.1.ebuild, line 69:   Called kde_src_compile
  kde.eclass, line 113:   Called kde_src_compile 'all'
  kde.eclass, line 230:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 226:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.




Portage 2.1_pre7-r5 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-suspend2-r1 i686)
=================================================================
System uname: 2.6.16-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-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="-Os -pipe -march=pentium-m -fomit-frame-pointer"
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/share/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/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
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 acpi alsa avi bash-completion berkdb bindist bitmap-fonts bzip2 crypt css cups dbus dga dhcp directfb divx4linux dri dts dvd dvdr dvdread eds emboss encode fbcon fbsplash ffmpeg firefox flac foomaticdb fortran gcj gdbm gif gnutls gpgme gpm gstreamer gtk gtk2 hal iconv imagemagick imap imlib ipv6 isdnlog jack java jpeg jpeg2k kdgraphics ldap libg++ libwww live logrotate mad matroska mbox mikmod mmap mmx mmxext motif mozcalendar mozdevelop mozsvg mp3 mpeg mppe-mppc musepack ncurses nls nptl nptlonly nsl nsplugin nvidia offensive ogg oggvorbis opengl pda pdf pdflib perl plotutils plugin png pop pppd python qt quicktime readline real rtc samba sdl smime speex spell sse sse2 ssl stream svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs wmf xgetdefault xinerama xml xml2 xmms xosd xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS


cheers,
Pietro
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2006-04-10 03:34:30 UTC
Hi Pietro,

Thanks for your report. It seems that the program is trying to link against
some audiofile related symbols even if building of audiofile is disabled.
For now, USE="audiofile" should fix this but I'll have to check why the
build system is trying to link against these symbols with audiofile diabled
in the first place.

best,
Markus
Comment 2 Pietro Franchi 2006-04-13 04:39:45 UTC
As far as I understand from confgure.in the --enable-audiofile doens't mean "compile also the support for audio stuff" but it's just a toggle between internal and external audiofile library. I.e. you have to have audiofile.

So I would suggest to remove the USE and make it depending on audiofile. 

Thanks :-)
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-30 07:03:02 UTC
Yes, overlooked that one. Included libs suck. Thanks for your report.