#52 Link errors on Mdk 9.0

open
nobody
None
5
2004-12-17
2004-12-17
Olivier Sannier
No

Hi

I just downloaded KBear 2.1.1-1 source and went about
compiling it.
Configure went fine, compilation as well, but the link
step in the kbear source directory fails with those
messages:

make[3]: Entre dans le répertoire
`/usr/src/kbear-2.1/kbear'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -O2 -fno-exceptions
-fno-check-new -L/usr/X11R6/lib -L/usr/lib -o
libkbear.la.closure libkbear_la_closure.lo -R /usr/lib
-R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib
-version-info 2:0:0 -no-undefined kbearquickconnect.lo
kbearmdichildview.lo kbear.lo kbear_slots.lo
kbearwizard.lo windowsettingswidget.lo
viewsettingswidget.lo mixedsettingswidget.lo
transferqueue.lo kbearlogview.lo kbearsettingsdialog.lo
kbeartextedit.lo kbearinfoview.lo
firewallsettingswidget.lo kbeartransferview.lo
kbearsystemtraydock.lo kbearqueryexit.lo
qextmdi/libkbearqextmdi.la base/libkbearbase.la
-lkparts -lkio -lkdeui
libtool: link: warning: `-version-info' is ignored for
programs
.libs/kbearquickconnect.o(.gnu.linkonce.d._ZTV17KBearQuickConnect+0x1cc):
undefined reference to
`KBearQuickConnectBase::languageChange()'
.libs/kbearwizard.o(.gnu.linkonce.d._ZTV11KBearWizard+0x20c):
undefined reference to `KBearWizardBase::languageChange()'
.libs/windowsettingswidget.o(.gnu.linkonce.d._ZTV20WindowSettingsWidget+0x1c0):
undefined reference to
`WindowSettingsBase::languageChange()'
.libs/viewsettingswidget.o(.gnu.linkonce.d._ZTV18ViewSettingsWidget+0x1c4):
undefined reference to `ViewSettingsBase::languageChange()'
.libs/mixedsettingswidget.o(.gnu.linkonce.d._ZTV19MixedSettingsWidget+0x1c0):
undefined reference to
`MixedSettingsBase::languageChange()'
.libs/firewallsettingswidget.o(.gnu.linkonce.d._ZTV22FirewallSettingsWidget+0x1c0):
undefined reference to
`FirewallSettingsBase::languageChange()'
.libs/kbearqueryexit.o(.gnu.linkonce.d._ZTV14KBearQueryExit+0x1cc):
undefined reference to `KBearQueryExit::languageChange()'
base/.libs/libkbearbase.a(kbearquickconnectbase.o)(.gnu.linkonce.d._ZTV21KBearQuickConnectBase+0x1cc):
undefined reference to
`KBearQuickConnectBase::languageChange()'
base/.libs/libkbearbase.a(kbearwizardbase.o)(.gnu.linkonce.d._ZTV15KBearWizardBase+0x20c):
undefined reference to `KBearWizardBase::languageChange()'
base/.libs/libkbearbase.a(mixedsettingsbase.o)(.gnu.linkonce.d._ZTV17MixedSettingsBase+0x1c0):
undefined reference to
`MixedSettingsBase::languageChange()'
base/.libs/libkbearbase.a(windowsettingsbase.o)(.gnu.linkonce.d._ZTV18WindowSettingsBase+0x1c0):
undefined reference to
`WindowSettingsBase::languageChange()'
base/.libs/libkbearbase.a(viewsettingsbase.o)(.gnu.linkonce.d._ZTV16ViewSettingsBase+0x1c4):
undefined reference to `ViewSettingsBase::languageChange()'
base/.libs/libkbearbase.a(firewallsettingsbase.o)(.gnu.linkonce.d._ZTV20FirewallSettingsBase+0x1c0):
undefined reference to
`FirewallSettingsBase::languageChange()'
collect2: ld returned 1 exit status
make[3]: *** [libkbear.la.closure] Erreur 1
make[3]: Quitte le répertoire `/usr/src/kbear-2.1/kbear'
make[2]: *** [all-recursive] Erreur 1
make[2]: Quitte le répertoire `/usr/src/kbear-2.1/kbear'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/usr/src/kbear-2.1'
make: *** [all] Erreur 2

The problem is obviously with languageChange(), but as
all is in KBear, I'm surprised it can't find it.
Any help greatly appreciated

Discussion