Compile error current GIT (last.fm related?)

Leo Franchi lfranchi at kde.org
Thu Sep 23 13:27:24 CEST 2010


Hi,

This is a known issue with liblastfm-0.3.2. Fixes are currently being
discussed on the packaging list and here:

http://github.com/mxcl/liblastfm/commit/39ea77f9f20ff3de820e837d54bb9202b07121cd#comments

please bear with us as we fix this issue :)


leo

On Thu, Sep 23, 2010 at 3:49 AM, Eelko Berkenpies
<e.berkenpies at gmail.com> wrote:
> Hi devs,
>
> I'm getting a compile error with current GIT using a clean build directory
> (Fedora 13/KDE 4.5.1/Qt4.7/cmake-2.8.0/gcc-4.4.4/liblastfm{devel}-0.3.2 )
> and it seems to be last.fm related.
>
> [ 98%] Built target amarok_collection-mysqlservercollection
> make[2]: Entering directory `/home/eelko/Software/amarok/build'
> Linking CXX shared module ../../../lib/amarok_service_lastfm.so
> cd /home/eelko/Software/amarok/build/src/services/lastfm && /usr/bin/cmake
> -E cmake_link_script CMakeFiles/amarok_service_lastfm.dir/link.txt
> --verbose=1
> /usr/bin/c++  -fPIC  -fmessage-length=0 -Wl,--as-needed -Wnon-virtual-dtor
> -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W
> -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS
> -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics
> -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions
> -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -O2 -DNDEBUG
> -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined
> -lc  -shared -Wl,-soname,amarok_service_lastfm.so -o
> ../../../lib/amarok_service_lastfm.so
> CMakeFiles/amarok_service_lastfm.dir/amarok_service_lastfm_automoc.o
> CMakeFiles/amarok_service_lastfm.dir/LastFmService.o
> CMakeFiles/amarok_service_lastfm.dir/LastFmServiceCollection.o
> CMakeFiles/amarok_service_lastfm.dir/LastFmServiceConfig.o
> CMakeFiles/amarok_service_lastfm.dir/LastFmServiceQueryMaker.o
> CMakeFiles/amarok_service_lastfm.dir/ScrobblerAdapter.o
> CMakeFiles/amarok_service_lastfm.dir/LastFmTreeModel.o
> CMakeFiles/amarok_service_lastfm.dir/LastFmTreeView.o
> CMakeFiles/amarok_service_lastfm.dir/AvatarDownloader.o
> CMakeFiles/amarok_service_lastfm.dir/meta/LastFmMeta.o
> CMakeFiles/amarok_service_lastfm.dir/meta/LastFmStreamInfoCapability.o
> CMakeFiles/amarok_service_lastfm.dir/biases/LastFmBias.o
> CMakeFiles/amarok_service_lastfm.dir/biases/WeeklyTopBias.o
> CMakeFiles/amarok_service_lastfm.dir/SimilarArtistsAction.o
> CMakeFiles/amarok_service_lastfm.dir/LoveTrackAction.o -L/usr/lib/kde4/devel
> -L/home/eelko/Software/amarok/build/lib ../../../lib/libamarokcore.so.1.0.0
> ../../../lib/libamaroklib.so.1.0.0 ../../../lib/libamarokpud.so.1.0.0
> -llastfm /usr/lib/libkdecore.so.5.5.0 /usr/lib/libkdeui.so.5.5.0
> /usr/lib/libkio.so.5.5.0 /usr/lib/libsolid.so.4.5.0
> /usr/lib/libthreadweaver.so.4.5.0 /usr/lib/libQtNetwork.so
> ../../../lib/libamarokcore.so.1.0.0 /usr/lib/libthreadweaver.so.4.5.0
> /usr/lib/libkio.so.5.5.0 /usr/lib/libkdeui.so.5.5.0 /usr/lib/libQtSvg.so
> /usr/lib/libsolid.so.4.5.0 /usr/lib/libQtNetwork.so /usr/lib/libQtGui.so
> /usr/lib/libQtXml.so /usr/lib/libkdecore.so.5.5.0 /usr/lib/libQtCore.so
> -lpthread /usr/lib/libQtDBus.so
> -Wl,-rpath,/usr/lib/kde4/devel:/home/eelko/Software/amarok/build/lib:
> -Wl,-rpath-link,/home/eelko/Software/amarok/build/lib
> CMakeFiles/amarok_service_lastfm.dir/LastFmService.o:(.data.DW.ref._ZTIN6lastfm2ws10ParseErrorE[DW.ref._ZTIN6lastfm2ws10ParseErrorE]+0x0):
> undefined reference to `typeinfo for lastfm::ws::ParseError'
> CMakeFiles/amarok_service_lastfm.dir/LastFmTreeModel.o: In function
> `LastFmTreeModel::slotAddTopArtists()':
> LastFmTreeModel.cpp:(.text+0x803c): undefined reference to
> `lastfm::ws::ParseError::~ParseError()'
> LastFmTreeModel.cpp:(.text+0x8384): undefined reference to
> `lastfm::ws::ParseError::~ParseError()'
> CMakeFiles/amarok_service_lastfm.dir/LastFmTreeModel.o: In function
> `LastFmTreeModel::slotAddFriends()':
> LastFmTreeModel.cpp:(.text+0x8ffc): undefined reference to
> `lastfm::ws::ParseError::~ParseError()'
> LastFmTreeModel.cpp:(.text+0x906e): undefined reference to
> `lastfm::ws::ParseError::~ParseError()'
> CMakeFiles/amarok_service_lastfm.dir/LastFmTreeModel.o: In function
> `LastFmTreeModel::slotAddNeighbors()':
> LastFmTreeModel.cpp:(.text+0xa03c): undefined reference to
> `lastfm::ws::ParseError::~ParseError()'
> CMakeFiles/amarok_service_lastfm.dir/LastFmTreeModel.o:LastFmTreeModel.cpp:(.text+0xa0ae):
> more undefined references to `lastfm::ws::ParseError::~ParseError()' follow
> CMakeFiles/amarok_service_lastfm.dir/LastFmTreeModel.o: In function
> `lastfm::ws::ParseError::ParseError(lastfm::ws::ParseError const&)':
> LastFmTreeModel.cpp:(.text._ZN6lastfm2ws10ParseErrorC2ERKS1_[_ZN6lastfm2ws10ParseErrorC5ERKS1_]+0x3f):
> undefined reference to `vtable for lastfm::ws::ParseError'
> collect2: ld returned 1 exit status
> make[2]: *** [lib/amarok_service_lastfm.so] Error 1
> make[2]: Leaving directory `/home/eelko/Software/amarok/build'
> make[1]: *** [src/services/lastfm/CMakeFiles/amarok_service_lastfm.dir/all]
> Error 2
> make[1]: Leaving directory `/home/eelko/Software/amarok/build'
> make: *** [all] Error 2
>
> If you need more info just let me know and I'll try to gather it. :)
>
> With kind regards,
>
> Eelko
>
> Ps. I might have asked this before but does this need to go into bugzilla or
> is it too early to report these kind of errors in this stage of development?
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
>



-- 
_____________________________________________________________________
leo at kdab.com                                 KDAB (USA), LLC
lfranchi at kde.org                             The KDE Project


More information about the Amarok-devel mailing list