Split building

Thiago Macieira thiago at kde.org
Mon Jan 7 21:52:11 CET 2008


Piotr Jaroszyński wrote:

So, to be thorough, the following command-line:

>/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -march=athlon64
> -pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
> -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual
> -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG
> -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings
> -Wl,--no-undefined -lc  -shared -Wl,-soname,kcm_useraccount.so -o
> ../../../lib/kcm_useraccount.so
> "CMakeFiles/kcm_useraccount.dir/kcm_useraccount_automoc.o"
> "CMakeFiles/kcm_useraccount.dir/chfnprocess.o"
> "CMakeFiles/kcm_useraccount.dir/main.o"
> "CMakeFiles/kcm_useraccount.dir/chfacedlg.o"
> "CMakeFiles/kcm_useraccount.dir/settings.o" -L/usr/lib64/qt4
> -L/usr/kde/4.0/lib64 -L/lib64 -lkonq -lQtCore -lpthread -lkdecore
> -lkpty -lkdesu -lkdecore -lQtCore -lpthread -lQtNetwork -lQtDBus
> -lQtXml -lz -lbz2 -lresolv -lutil -lutempter
> -Wl,-rpath,/usr/lib64/qt4:/usr/kde/4.0/lib64:/lib64

fails with the following errors:
> CMakeFiles/kcm_useraccount.dir/main.o: In function 
>`KCMUserAccount::~KCMUserAccount()':
> main.cpp:(.text+0xf4): undefined reference to 
>`KEMailSettings::~KEMailSettings()'
> main.cpp:(.text+0x105): undefined reference to `QPixmap::~QPixmap()'
> (lots)

Let's skip the QPixmap error above. Where is KEmailSettings's destructor 
defined? Which library?

Please find the .so file (not .so.N, it has to be .so) that is defines it.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080107/05dc85d5/attachment.pgp 


More information about the Kde-buildsystem mailing list