[devel] Re: OT: Compiling a KControl module
Juan Luis Baptiste <[email protected]> Wed, 24 Mar 2004 22:05:51 +0000
| Newsgroups | gmane.comp.kde.devel.debian |
|---|---|
| Organization | Merlinux |
| Message-ID | <[email protected]> |
These are the errors I'm getting: /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o kcm_knetworkconf.la.closure kcm_knetworkconf_la_closure.lo -L/usr/X11R6/lib -L/usr/kde3.2//lib -L/usr/kde3.2/lib -module -avoid-version -no-undefined kknownhostinfo.lo knetworkconfmodule.lo kroutinginfo.lo kaddressvalidator.lo kdnsinfo.lo knetworkinfo.lo knetworkconfigparser.lo knetworkinterface.lo knetworkconf.lo main.lo knetworkconfiface_skel.lo kselectdistrodlg.lo kinterfaceupdowndlg.lo kaddknownhostdlg.lo kdetectdistrodlg.lo kreloadnetworkdlg.lo kadddevicedlg.lo kadddnsserverdlg.lo knetworkconfdlg.lo kadddevicedlgextension.lo knetworkconfmodule.moc.lo knetworkconf.moc.lo .libs/kknownhostinfo.o(.text+0x17): In function `KKnownHostInfo::KKnownHostInfo[not-in-charge]()': : undefined reference to `QString::shared_null' .libs/kknownhostinfo.o(.text+0x51): In function `KKnownHostInfo::KKnownHostInfo[not-in-charge]()': : undefined reference to `QString::makeSharedNull()' .libs/kknownhostinfo.o(.text+0x63): In function `KKnownHostInfo::KKnownHostInfo[not-in-charge]()': : undefined reference to `QString::makeSharedNull()' .libs/kknownhostinfo.o(.text+0x76): In function `KKnownHostInfo::KKnownHostInfo[not-in-charge]()': : undefined reference to `QString::makeSharedNull()' .libs/kknownhostinfo.o(.text+0xa7): In function `KKnownHostInfo::KKnownHostInfo[in-charge]()': : undefined reference to `QString::shared_null' .libs/kknownhostinfo.o(.text+0xe1): In function `KKnownHostInfo::KKnownHostInfo[in-charge]()': : undefined reference to `QString::makeSharedNull()' .libs/kknownhostinfo.o(.text+0xf3): In function [...] (a LOT more undefined references of Qt and kdelibs) .libs/knetworkconf.moc.o(.gnu.linkonce.d._ZTV12KNetworkConf+0x2d0): undefined reference to `DCOPObject::funct .libs/knetworkconf.moc.o(.gnu.linkonce.d._ZTV12KNetworkConf+0x2d4): undefined reference to `DCOPObject::inter .libs/knetworkconf.moc.o(.gnu.linkonce.d._ZTV12KNetworkConf+0x2e0): undefined reference to `DCOPObject::virtu .libs/knetworkconf.moc.o(.gnu.linkonce.d._ZTC12KNetworkConf536_17KNetworkConfIface+0x64): undefined reference ynamic(QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&)' .libs/knetworkconf.moc.o(.gnu.linkonce.d._ZTC12KNetworkConf536_17KNetworkConfIface+0x68): undefined reference sDynamic()' .libs/knetworkconf.moc.o(.gnu.linkonce.d._ZTC12KNetworkConf536_17KNetworkConfIface+0x6c): undefined reference esDynamic()' .libs/knetworkconf.moc.o(.gnu.linkonce.d._ZTC12KNetworkConf536_17KNetworkConfIface+0x78): undefined reference hook(int, void*)' collect2: ld returned 1 exit status I hope someone can help me, my knowledge isn't sufficient to figure it out by my self. Cheers, -- Juan Luis Baptiste http://www.merlinux.org http://knetworkconf.sf.net