[Kde-pim] Compiling Help ?

mark at easymailings.com mark at easymailings.com
Thu Mar 22 14:05:53 GMT 2007



> 

> This is 3.5.6 I got exact same error on 3.4.3

> 

> Any help is greatly appreciated

> 

> Making all in .

> make[4]: Entering directory
`/home/maemo/KDE/kdepim-3.5.6/certmanager/lib'

> /bin/sh ../../libtool --silent --tag=CXX --mode=link g++ 
-Wno-long-long

> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion

> -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security

> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions

> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST

> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o
libkleopatra.la

> -rpath /usr/local/kde/lib -L/usr/local/kde/lib -L/usr/local/qt/lib

> -L/usr/local/lib    -version-info 1:0:0 -no-undefined
-Wl,--no-undefined

> -Wl,--allow-shlib-undefined cryptplug.lo cryptplugwrapper.lo

> cryptplugwrapperlist.lo cryptplugfactory.lo
kleo/libkleopatra_core.la

> backends/qgpgme/libkleopatra_backend_qgpgme.la

> backends/chiasmus/libkleopatra_backend_chiasmus.la
ui/libkleopatra_ui.la

> ../../libkdenetwork/qgpgme/libqgpgme.la -lkio -lkdeui

> ui/.libs/libkleopatra_ui.a(keyapprovaldialog.o): In function

>
`QPtrList<Kpgp::Key>::deleteItem(void*)':keyapprovaldialog.cpp:(.text._ZN8QPtrListIN4Kpgp3KeyEE10deleteItemEPv[QPtrList<Kpgp::Key>::deleteItem(void*)]+0x20):

> undefined reference to `Kpgp::Key::~Key()'

> collect2: ld returned 1 exit status

> make[4]: *** [libkleopatra.la] Error 1

> make[4]: Leaving directory
`/home/maemo/KDE/kdepim-3.5.6/certmanager/lib'

> make[3]: *** [all-recursive] Error 1



The error you are getting is from the linker.  It cannot find the
object that contains the method Kpgp::Key::~Key().



The library file (something.so)  that contains the object that has
that method (ugh), is not on the path passed to the linker (with the -L
options).



Usually, all these paths are setup when you run the configure
script.  Could you provide more information on your build
environment?  What arguments (if any) did you pass to the configure
script?  The likely fix is adding an argument or two to the configure
script.



At this point in the thread D. Faure usually steps in with a short and
precise explanation.  ;)



I poked around websvn.kde.org to see where Kgpg::Key was defined but I
couldn't find it.



HTH,



m

_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/



More information about the kde-pim mailing list