[Kmymoney-devel] Re: Compile problem after KDE upgrade
djhoulden at gmail.com
Sun Dec 5 19:54:41 CET 2010
On Sunday 05 December 2010 Thomas Baumgart wrote:
> 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
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.
More information about the KMyMoney-devel