This forum has been archived. All content is frozen. Please use KDE Discuss instead.

MTP and amarok 1.44

Tags: None
(comma "," separated)
Newbie2Linux
Registered Member
Posts
20
Karma
0

MTP and amarok 1.44

Sun Jan 07, 2007 3:17 am
i can't compile amarok mtp support. it always comes with this error:

Making all in mtp
make[5]: Entering directory `/root/amarok-1.4.4/amarok/src/mediadevice/mtp'
if /bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src -I../../../../amarok/src -I../../../../amarok/src/amarokcore -I../../../../amarok/src/amarokcore -I../../../../amarok/src/engine -I../../../../amarok/src/engine -I../../../../amarok/src/mediadevice -DLIBMTP_FRIENDLY_NAME=1 -DLIBMTP_CALLBACKS=1 -I/usr//include/taglib -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R7/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Os -march=i386 -mtune=i386 -fomit-frame-pointer -w -s -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT mtpmediadevice.lo -MD -MP -MF ".deps/mtpmediadevice.Tpo" -c -o mtpmediadevice.lo mtpmediadevice.cpp; \
        then mv -f ".deps/mtpmediadevice.Tpo" ".deps/mtpmediadevice.Plo"; else rm -f ".deps/mtpmediadevice.Tpo"; exit 1; fi
mtpmediadevice.cpp: In member function 'virtual bool MtpMediaDevice::getCapacity(KIO::filesize_t*, KIO::filesize_t*)':
mtpmediadevice.cpp:986: error: 'LIBMTP_Get_Storageinfo' was not declared in this scope
mtpmediadevice.cpp: In member function 'virtual void MtpMediaDevice::customClicked()':
mtpmediadevice.cpp:1025: error: 'LIBMTP_Get_Storageinfo' was not declared in this scope
make[5]: *** [mtpmediadevice.lo] Error 1
make[5]: Leaving directory `/root/amarok-1.4.4/amarok/src/mediadevice/mtp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/amarok-1.4.4/amarok/src/mediadevice'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/amarok-1.4.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/amarok-1.4.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/amarok-1.4.4'
make: *** [all] Error 2

How do i solve this?

Thanks
Newbie2Linux
ntetreau
Registered Member
Posts
4
Karma
0

Re: MTP and amarok 1.44

Tue Jan 23, 2007 9:21 am
Hi, unfortunately amarok 1.4.4 does not compile with the latest version of libmtp >0.1.0.  So make sure to remove completely libmtp 0.1.1, 0.1.2, or 0.1.3 and reinstall libmtp-0.1.0. 

For more info check this howto and thread on the ubuntu forum
http://ubuntuforums.org/showthread.php?t=199250


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]