Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196619 - =app-office/qtstalker-0.33 fails to compile w/ undefined references
Summary: =app-office/qtstalker-0.33 fails to compile w/ undefined references
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 195846
Blocks:
  Show dependency tree
 
Reported: 2007-10-21 15:20 UTC by David Barnett
Modified: 2008-01-20 07:51 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 David Barnett 2007-10-21 15:20:15 UTC
qtstalker fails to build with pages and pages of undefined references. It looks like the references are all in libqtstalker.so.0, which doesn't seem to be referenced in the offending build line:

i686-pc-linux-gnu-g++  -o qtstalker Qtstalker.o PortfolioDialog.o Quote.o DataWi
ndow.o Tester.o ChartPage.o GroupPage.o PortfolioPage.o TestPage.o IndicatorPage
.o NavigatorTab.o ScannerPage.o Scanner.o ChartToolbar.o MainMenubar.o TesterRep
ort.o TesterRulePage.o TesterTestPage.o TesterStopPage.o TesterChartPage.o moc_Q
tstalker.o moc_PortfolioDialog.o moc_Quote.o moc_DataWindow.o moc_Tester.o moc_C
hartPage.o moc_GroupPage.o moc_PortfolioPage.o moc_TestPage.o moc_IndicatorPage.o moc_NavigatorTab.o moc_ScannerPage.o moc_Scanner.o moc_ChartToolbar.o moc_MainMenubar.o moc_TesterReport.o moc_TesterRulePage.o moc_TesterTestPage.o moc_TesterStopPage.o moc_TesterChartPage.o   -L/usr/qt/3/lib -L/usr/X11R6/lib -L../lib -lqtstalker -ldb -ldl -lqt-mt -lXext -lX11 -lm -lpthread
Qtstalker.o: In function `QtstalkerApp::loadIndicator(Indicator*)':
Qtstalker.cpp:(.text+0x170e): undefined reference to `Indicator::getType(QString&)'
<...>
Qtstalker.cpp:(.text+0x2a31): undefined reference to `Config::getData(Config::Parm, QString&)'
Qtstalker.cpp:(.text+0x2b8d): undefined reference to `Plot::setInterval(BarData::BarLength)'
<...>

and the earlier line to build libqtstalker.so.0:
i686-pc-linux-gnu-g++ -shared -Wl,-soname,libqtstalker.so.0 -o libqtstalker.so.0
.33.0 QuotePlugin.o IndicatorPlugin.o DbPlugin.o Setting.o FuturesData.o PlotLin
e.o BarData.o Scaler.o PrefDialog.o SymbolDialog.o SymbolButton.o ColorButton.o 
FontButton.o FileButton.o Toolbar.o Bar.o Config.o FormulaEdit.o Indicator.o COB
ase.o HelpWindow.o Plot.o DatePlot.o ScalePlot.o IndicatorPlot.o Navigator.o Bar
Edit.o UpgradeMessage.o BuyArrow.o Cycle.o FiboLine.o HorizontalLine.o SellArrow
.o Text.o TrendLine.o VerticalLine.o TradeItem.o StocksDialog.o FuturesDialog.o 
IndexDialog.o CC.o Spread.o Index.o moc_QuotePlugin.o moc_DbPlugin.o moc_PrefDia
log.o moc_SymbolDialog.o moc_SymbolButton.o moc_ColorButton.o moc_FontButton.o m
oc_FileButton.o moc_FormulaEdit.o moc_COBase.o moc_HelpWindow.o moc_Plot.o moc_D
atePlot.o moc_ScalePlot.o moc_IndicatorPlot.o moc_Navigator.o moc_BarEdit.o moc_
UpgradeMessage.o moc_BuyArrow.o moc_Cycle.o moc_FiboLine.o moc_HorizontalLine.o 
moc_SellArrow.o moc_Text.o moc_TrendLine.o moc_VerticalLine.o moc_StocksDialog.o
 moc_FuturesDialog.o moc_IndexDialog.o  -L/usr/qt/3/lib -ldb -ldl -lqt-mt -lpthr
ead

I don't know much about shared objects, but it seems like since nothing's been installed in /usr/lib/ yet, there should be some explicit mention of libqtstalker.so.0.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.3.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 AMD Opteron(tm) Processor 142
Timestamp of tree: Sat, 20 Oct 2007 11:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa ao apache2 avi bash-completion berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus divx4linux dri dvd dvdr eds emboss encode fam fbcon firefox flac fortran gcj gd gdbm gif glut gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack javascript jpeg ldap libcaca mad midi mikmod mmx mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pda pdf perl png posix ppds pppd python qt4 quicktime readline reflection samba sdl session spell spl sse ssl svg svga tcpd tetex theora truetype truetype-fonts type1-fonts unicode vorbis win32codecs wmf x86 xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-01-20 07:51:45 UTC
should be fixed in 0.35.