Split building

Piotr Jaroszyński p.jaroszynski at gmail.com
Mon Jan 7 22:11:08 CET 2008


On Monday 07 of January 2008 21:52:11 Thiago Macieira wrote:
> 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?

I skipped a lot of other undefined references, probably from different 
libraries, but surely they all are libkonq deps.

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

I have already done so for other package when tracking down this problem and 
to be honest I don't see the point of doing it again for this particular 
package. I will be happy to do it once I know the reason though.

-- 
Best Regards,
Piotr Jaroszyński


More information about the Kde-buildsystem mailing list