[Kmymoney-devel] Re: Compile problem after KDE upgrade

Thomas Baumgart thb at net-bembel.de
Sun Dec 5 20:39:52 CET 2010


Hi,

on Sunday 05 December 2010 19:54:41 David Houlden wrote:

> On Sunday 05 December 2010 Thomas Baumgart wrote:
> > Hi,
> >
> > on Sunday 05 December 2010 17:40:21 David Houlden wrote:
> > > On Sunday 05 December 2010 Cristian Oneț wrote:
> > > > On Sunday 05 December 2010 16:19:48 David Houlden wrote:
> > > > > Hi all.
> > > > >
> > > > > I suspect this may not be a kmymoney problem at all but would like
> > > > > your opinion because I am a bit lost. I have been compiling
> > > > > kmymoney SVN on KDE 4.5.3 without any problems. Today I upgraded my
> > > > > Slackware current box to KDE 4.5.4 and now I get an error linking
> > > > > kmymoney.
> > > > >
> > > > > Linking CXX executable kmymoney
> > > > > /usr/lib/libkhtml.so.5.5.0: undefined reference to
> > > > > `Phonon::VideoPlayer::event(QEvent*)'
> > > > > collect2: ld returned 1 exit status
> > > > >
> > > > > Any advice appreciated. Do you think there is a problem with the
> > > > > kdelibs 4.5.4 package?
> > > >
> > > > I don't think so I would suggest running a 'make clean' before
> > > > running make install.
> > >
> > > Thanks for the suggestion Cristian. I did try make clean but it didn't
> > > help so I deleted my build directory and started again with cmake
> > > followed by make. I'm still getting the same error.
> >
> > Strange. I just tried to see if the symbol is used on my ancient 4.3.5.
> >
> >   objdump -R /usr/lib64/libkhtml.so.5.3.0 | grep Video
> >
> > gives an empty result set but there's a reference to phonon:
> >
> >   thb at localhost:~> ldd /usr/lib64/libkhtml.so | grep -i phon
> >         libphonon.so.4 => /usr/lib64/libphonon.so.4 (0x00007f81e083a000)
> >
> >
> > Maybe that helps to isolate the problem.
> 
> dave:/usr/lib$ objdump -R libkhtml.so.5.5.0 | grep Video
> 00659f78 R_386_32          _ZN6Phonon11VideoPlayer16staticMetaObjectE
> 0065a2fc R_386_32          _ZN6Phonon11VideoPlayer5eventEP6QEvent
> 0065ac6c R_386_32          _ZTIN6Phonon11VideoPlayerE
> 0069460c R_386_JUMP_SLOT   _ZNK6Phonon11MediaObject8hasVideoEv
> 0069494c R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayer4loadERKNS_11MediaSourceE
> 00694aac R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayerD2Ev
> 00694b90 R_386_JUMP_SLOT   _ZNK6Phonon11VideoPlayer8isPausedEv
> 00694f20 R_386_JUMP_SLOT   _ZN6Phonon11VideoWidget14exitFullScreenEv
> 00695238 R_386_JUMP_SLOT   _ZNK6Phonon11VideoPlayer11mediaObjectEv
> 00695310 R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayer4playERKNS_11MediaSourceE
> 0069531c R_386_JUMP_SLOT   _ZNK6Phonon11VideoPlayer11videoWidgetEv
> 006954e0 R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayer4playEv
> 006957a0 R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayer11qt_metacastEPKc
> 00695c4c R_386_JUMP_SLOT   _ZN6Phonon11VideoWidget15enterFullScreenEv
> 00695c74 R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayer9setVolumeEf
> 00695d5c R_386_JUMP_SLOT
> _ZN6Phonon11VideoPlayer11qt_metacallEN11QMetaObject4CallEiPPv
> 00695e00 R_386_JUMP_SLOT   _ZNK6Phonon11VideoPlayer9isPlayingEv
> 00695fbc R_386_JUMP_SLOT   _ZNK6Phonon11VideoPlayer11currentTimeEv
> 006964d4 R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayer5pauseEv
> 00696c3c R_386_JUMP_SLOT   _ZN6Phonon11VideoPlayerC2EP7QWidget
> 00696d00 R_386_JUMP_SLOT   _ZNK6Phonon11VideoPlayer9totalTimeEv
> 
> dave:/usr/lib$ ldd libkhtml.so.5.5.0 | grep -i phon
>         libphonon.so.4 => /usr/lib/qt/lib/libphonon.so.4 (0xb70a7000)
> 
> Obviously different to the 4.3.5 output but I'm not sure what it all means.

Can you try, if the attached patch solves the problem. Apply it with

  patch -p0 < phonon.diff

in the main kmymoney directory.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phonon.diff
Type: text/x-patch
Size: 664 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20101205/dc2660df/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20101205/dc2660df/attachment-0001.sig 


More information about the KMyMoney-devel mailing list