Amarok 2.0 make error:

Dr. Diesel dr.diesel at gmail.com
Sun Sep 21 22:31:12 UTC 2008


On Sun, Sep 21, 2008 at 6:09 PM, Dr. Diesel <dr.diesel at gmail.com> wrote:

>
>
> On Sun, Sep 21, 2008 at 5:03 PM, Mark Kretschmann <kretschmann at kde.org>wrote:
>
>> 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.
>>
>> Thanks for the help,
>
> I built libmtp .30:
>
> [ 95%] Built target amarok_collection-ipodcollection
> make[2]: *** No rule to make target `/usr/lib/libmtp.so', needed by
> `lib/libamarok_collection-mtpcollection.so'.  Stop.
> make[1]: ***
> [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/all]
> Error 2
> make: *** [all] Error 2
> [root at localhost amarok-1.90]#
>
> So then I unstalled it all, re-ran cmake, which outputed libmtp would not
> be included (after a make clean) but make attempts to build it anyhow?
>
> Andy
>

Success!  I uses ccmake to toggle MTP off, and it built fine!  Thanks to all
for the help.




-- 
projecthuh.com
All of my bits are free, are yours? Fedoraproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok/attachments/20080921/d8e2afca/attachment.html>


More information about the Amarok mailing list