[Kroupware] Re: Problem building kdepim-kroupware-RC4

Bo Thorsen bo at sonofthor.dk
Mon Jul 7 11:07:24 CEST 2003


On Friday 04 July 2003 16:13, Laurent Rathle wrote:
> Hello,
>
> I'm trying to build kdepim-kroupware-RC4 on a fresh KDE 3.1 from CVS
> HEAD and I get this error :
>
> /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 -O2 -fno-exceptions -fno-check-new    -o
> libkaddressbookpart.la.closure libkaddressbookpart_la_closure.lo
> -module -avoid-version -module -no-undefined -R /home/kde3/kde3/lib -R
> /home/kde3/qt3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib
> -L/home/kde3/qt3/lib -L/home/kde3/kde3/lib  actionmanager.lo
> addhostdialog.lo addresseditwidget.lo addresseeconfig.lo
> addresseeeditordialog.lo addresseeeditorwidget.lo addresseeutil.lo
> addviewdialog.lo configureviewdialog.lo configureviewfilterpage.lo
> emaileditwidget.lo filter.lo filtereditdialog.lo
> filterselectionwidget.lo importdialog.lo incsearchwidget.lo
> jumpbuttonbar.lo kabprefs.lo kaddressbook.lo kaddressbook_part.lo
> kaddressbookmain.lo
> kaddressbookprinter.lo kaddressbookview.lo ldapoptionswidget.lo
> ldapsearchdialogimpl.lo nameeditdialog.lo phoneeditwidget.lo
> prefsdialog.lo selectfieldswidget.lo undo.lo undocmds.lo viewmanager.lo
> viewwrapper.lo kaddressbookiface_skel.lo ldapsearchdialog.lo
> ../libkdepim/libkdepim.la ./details/libdetails.la
> ./features/libfeatures.la ./printing/libprinter.la ./views/libviews.la
> -lkparts -lkio -lkabc -lkdeprint
> .libs/kaddressbook.o(.text+0x14e1): In function
>
> `KAddressBook::newAddressee()':
> : undefined reference to
>
> `KABC::ResourceSelectDialog::getResource(KABC::AddressBook*, QWidget*)'
> collect2: ld returned 1 exit status
> make[3]: *** [libkaddressbookpart.la.closure] Erreur 1
> make[3]: Leaving directory
> `/home/kde3/Kde-Cvs/kdepim-kroupware-RC4/kaddressbook'
> make[2]: *** [all-recursive] Erreur 1
> make[2]: Leaving directory
> `/home/kde3/Kde-Cvs/kdepim-kroupware-RC4/kaddressbook'
> make[1]: *** [all-recursive] Erreur 1
> make[1]: Leaving directory `/home/kde3/Kde-Cvs/kdepim-kroupware-RC4'
> make: *** [all] Erreur 2
>
> I've built kdenetwork-kroupware-RC4 without problem.

Did you solve this already?

I can't figure out what could have happened here. The method 
KABC::ResourceSelectDialog::getResource() is from kdelibs. You get the 
correct include files, otherwise you would get a compile error when 
compiling the file, but your error is a linker problem. What is the 
kdelibs you are compiling against?

Bo.

-- 

     Bo Thorsen                 |   Praestevejen 4
     Senior Software Engineer   |   5290 Marslev
     Klarälvdalens Datakonsult  |   Denmark


More information about the Kroupware mailing list