[Kde-bindings] [Bug 99161] New: kdebindings library linking failure (needs -lkio)

Caleb Tennis caleb at gentoo.org
Fri Feb 11 22:55:00 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=99161         
           Summary: kdebindings library linking failure (needs -lkio)
           Product: bindings
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings mail kde org
        ReportedBy: caleb gentoo org


Version:            (using KDE KDE 3.3.92)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4 
OS:                Linux

Compilation happens with this error:

/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o libsmokekde.la -rpath /usr/kde/3.4/lib -version-info 3:2:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib     -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo x_5.lo x_6.lo x_7.lo x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo x_13.lo x_14.lo x_15.lo x_16.lo x_17.lo x_18.lo x_19.lo x_20.lo -lkdecore -lkhtml -lkjs -lfontconfig -lkmdi -lkspell -lkutils -lkdeui -lkdeprint -lkparts -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lGLU -lGL -lX11
.libs/x_9.o(.text+0x504c): In function `.L6556':
: undefined reference to `KNotifyWidgetBase::KNotifyWidgetBase(QWidget*, char const*, unsigned int)'
.libs/x_9.o(.text+0x5077): In function `.L6559':
: undefined reference to `KNotifyWidgetBase::staticMetaObject()'
.libs/x_9.o(.text+0x5091): In function `.L6561':
: undefined reference to `KNotifyWidgetBase::languageChange()'
.libs/x_9.o(.text+0x512f): In function `.L6542':
: undefined reference to `KNotifyWidgetBase::qt_property(int, int, QVariant*)'
.libs/x_9.o(.text+0x5157): In function `.L6540':
: undefined reference to `KNotifyWidgetBase::qt_emit(int, QUObject*)'
.libs/x_9.o(.text+0x5171): In function `.L6538':
: undefined reference to `KNotifyWidgetBase::qt_invoke(int, QUObject*)'
.libs/x_9.o(.text+0x5184): In function `.L6536':
: undefined reference to `KNotifyWidgetBase::qt_cast(char const*)'
.libs/x_9.o(.text+0x5193): In function `.L6534':
: undefined reference to `KNotifyWidgetBase::className() const'
.libs/x_9.o(.gnu.linkonce.d._ZTI19x_KNotifyWidgetBase+0x8): undefined reference to `typeinfo for KNotifyWidgetBase'
.libs/x_9.o(.gnu.linkonce.t._ZNK19x_KNotifyWidgetBase9classNameEv+0x58): In function `x_KNotifyWidgetBase::className() const':
: undefined reference to `KNotifyWidgetBase::className() const'
.libs/x_9.o(.gnu.linkonce.t._ZN19x_KNotifyWidgetBase14languageChangeEv+0x60): In function `x_KNotifyWidgetBase::languageChange()':
: undefined reference to `KNotifyWidgetBase::languageChange()'
.libs/x_9.o(.gnu.linkonce.t._ZNK19x_KNotifyWidgetBase10metaObjectEv+0x53): In function `x_KNotifyWidgetBase::metaObject() const':
: undefined reference to `KNotifyWidgetBase::staticMetaObject()'
.libs/x_9.o(.gnu.linkonce.t._ZN19x_KNotifyWidgetBase7qt_castEPKc+0x78): In function `x_KNotifyWidgetBase::qt_cast(char const*)':
: undefined reference to `KNotifyWidgetBase::qt_cast(char const*)'
.libs/x_9.o(.gnu.linkonce.t._ZN19x_KNotifyWidgetBase7qt_emitEiP8QUObject+0x8d): In function `x_KNotifyWidgetBase::qt_emit(int, QUObject*)':
: undefined reference to `KNotifyWidgetBase::qt_emit(int, QUObject*)'
.libs/x_9.o(.gnu.linkonce.t._ZN19x_KNotifyWidgetBase9qt_invokeEiP8QUObject+0x8d): In function `x_KNotifyWidgetBase::qt_invoke(int, QUObject*)':
: undefined reference to `KNotifyWidgetBase::qt_invoke(int, QUObject*)'
.libs/x_9.o(.gnu.linkonce.t._ZN19x_KNotifyWidgetBase11qt_propertyEiiP8QVariant+0xa5): In function `x_KNotifyWidgetBase::qt_property(int, int, QVariant*)':
: undefined reference to `KNotifyWidgetBase::qt_property(int, int, QVariant*)'
.libs/x_9.o(.gnu.linkonce.t._ZN19x_KNotifyWidgetBaseD1Ev+0x5a): In function `x_KNotifyWidgetBase::~x_KNotifyWidgetBase()':
: undefined reference to `KNotifyWidgetBase::~KNotifyWidgetBase()'
.libs/x_9.o(.gnu.linkonce.t._ZN19x_KNotifyWidgetBaseD0Ev+0x5a): In function `x_KNotifyWidgetBase::~x_KNotifyWidgetBase()':
: undefined reference to `KNotifyWidgetBase::~KNotifyWidgetBase()'


This seems to be fixed by linking in -lkio, by adding $(LIB_KIO) to libsmokekde_la_LIBADD in Makefile.am



More information about the Kde-bindings mailing list