Re: [devel] Re: OT: Compiling a KControl module

Alexander Neundorf <[email protected]> Thu, 25 Mar 2004 17:26:11 +0100
Newsgroups gmane.comp.kde.devel.debian,gmane.comp.kde.debian
Message-ID <[email protected]>
On Wednesday 24 March 2004 23:05, Juan Luis Baptiste wrote:
> 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

Hmm, if I didn't miss something this whole line doesn't contain a single 
"-lwhatever" , this would mean it doesn't link to the libs and can't find the 
symbols.

Can you please post your Makefile.am ?

Alex
-- 
Work: [email protected] - http://www.jenoptik-los.de
Home: [email protected]                - http://www.kde.org
      [email protected]               - http://www.neundorf.net