Amarok 2.0 make error:

Mark Kretschmann kretschmann at kde.org
Sun Sep 21 21:03:25 UTC 2008


On Sun, Sep 21, 2008 at 10:34 PM, Dr. Diesel <dr.diesel at gmail.com> wrote:
> Yup, that did it, thanks!  Now this, but I have libmtp installed?
>
>
> In file included from
> /root/Desktop/amarok-1.90/src/collection/mtpcollection/moc_MtpHandler.cpp:11,
>                  from
> /root/Desktop/amarok-1.90/src/collection/mtpcollection/amarok_collection-mtpcollection_automoc.cpp:3:
> /root/Desktop/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:66:
> error: 'LIBMTP_raw_device_t' has not been declared
> /root/Desktop/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:156:
> error: 'LIBMTP_raw_device_t' has not been declared
> /root/Desktop/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:167:
> error: ISO C++ forbids declaration of 'LIBMTP_raw_device_t' with no type
> /root/Desktop/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:167:
> error: expected ';' before '*' token
> make[2]: ***
> [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o]
> Error 1
> make[1]: ***
> [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/all]
> Error 2
> make: *** [all] Error 2
> [root at localhost amarok-1.90]# rpm -qa libmtp*
> libmtp-0.2.6.1-1.fc9.i386
> libmtp-devel-0.2.6.1-1.fc9.i386
> [root at localhost amarok-1.90]#

Your libMTP is too old. Two options: Uninstall libMTP (if you don't
need it), or upgrade to version 0.3.

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org



More information about the Amarok mailing list