[Kde-pim] Compiling Help ?

David Jarvie lists at astrojar.org.uk
Fri Mar 23 10:35:33 GMT 2007


On Thursday 22 March 2007 21:04, Ingo Klocker wrote:
> On Thursday 22 March 2007 15:05, mark at easymailings.com wrote:
> > > This is 3.5.6 I got exact same error on 3.4.3
> > >
> > >
> > > 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.
>
> You should have looked for Kpgp::Key. :-)
>
> It is defined in kdepim/libkpgp. Unfortunately, I have no idea why the
> build fails.

Is there an old copy of libkpgp lying about in your library path which is
being used in preference to the one you have compiled from the
kdepim-3.5.6 source tree?

-- 
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm

_______________________________________________
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