[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Error building kdebase libphonon.so: undefined reference to
From:       Eduardo Robles Elvira <edulix () gmail ! com>
Date:       2009-12-14 20:42:34
Message-ID: 9e2d3ad60912141242u7917fef3x59b3a049d6661846 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Dec 14, 2009 at 12:31 PM, Eduardo Robles Elvira
<edulix@gmail.com> wrote:
> Hello everyone,
>
> I'm trying to build kdebase but it doesn't want to work. This is what I get:
>
> Linking CXX executable knotify4
> [  9%] Building CXX object
> runtime/kwalletd/backend/CMakeFiles/kwalletbackend.dir/sha1.o
> [  9%] Building CXX object
> runtime/kwalletd/backend/CMakeFiles/kwalletbackend.dir/kwalletentry.o
> Linking CXX executable kuiservertest
> /media/home/edulix/proyectos/kde4/lib/libphonon.so: undefined
> reference to `QHashData::detach_helper(void (*)(QHashData::Node*,
> void*), void (*)(QHashData::Node*), int)'
> collect2: ld returned 1 exit status
> make[2]: *** [runtime/knotify/knotify4] Error 1
> make[1]: *** [runtime/knotify/CMakeFiles/knotify.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> The same happens when building kdepimlibs. I have kubuntu 9.10, I'm
> building using kdesvnbuild and with qt-copy
> git://gitorious.org/+kde-developers/qt/kde-qt.git. I've refreshed the
> build for qt-copy, kdelibs and kdebase, and still the same problem
> arises. Until now this problem had not happened, and I haven't changed
> the ~/.kdesvn-buildrc for anything than changing the repositories for
> kdevelop & company. Any idea why could this be happening and how to
> solve it?
>
> Regards,
>   Eduardo Robles Elvira.
>

I found what the problem was: kdesupport was happily not building
phonon for some unknown reason, so knotify4 was linking to previously
and old installed libphonon, which was triggering binary-compatibility
link errors. I don't know yet why phonon was disabled in my build: I
thought it would be because of an unmet dependency, but I executed
cmakekde in kdesupport/phonon and it compiled and installed just fine
(and I suppose setting with cmake-gui BUILD_PHONON to 1 and executing
make install in kdesupport/ dir would do the same). As I have
experienced, phonon is required for kdebase, so I suppose phonon
should be REQUIRED for kdesupport compilation to succeed, which
doesn't seem to be happening.. or I might be missing something. Any
insight?

Regards,
   Eduardo Robles Elvira.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic