Version: 1.4.4 (using KDE KDE 3.5.5) Installed from: Compiled From Sources Compiler: gcc version 4.1.2 OS: Linux When compiling Amarok v1.4.4 with MTP support, compile fails with the following message: 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 Using version 0.1.2 of libmtp
Created attachment 19083 [details] Hack to get it compile with libmtp 0.1.2 Had same problem today, there has been some API changes. I think there is still some work with patch to determine which version against amarok is building. Least it is wokring for me now
Forgot to mention that last patch is against svn
Created attachment 19084 [details] Against SVN Dang next time I need verify files before I upload
Created attachment 19085 [details] for amarok 1.4.4
Nice, I just came up with the same patch. However, the configure bits are still missing, because it seems those fields are not initialized with an old libmtp.
Is this still necessary in 1.4.5?
*** Bug has been marked as fixed ***.