You are not logged in.
i get this error when compiling amarok 2 beta 1 and same error while compiling amarok2 svn (at 89 %)
i'm using KDE 4.1
Scanning dependencies of target amarok_collection-mtpcollection
[ 94%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o
In file included from /home/ravi/abs/amarok/src/amarok-1.90/src/collection/mtpcollection/moc_MtpHandler.cpp:10,
from /home/ravi/abs/amarok/src/amarok-1.90/src/collection/mtpcollection/amarok_collection-mtpcollection_automoc.cpp:4:
/home/ravi/abs/amarok/src/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:66: error: 'LIBMTP_raw_device_t' has not been declared
/home/ravi/abs/amarok/src/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:156: error: 'LIBMTP_raw_device_t' has not been declared
/home/ravi/abs/amarok/src/amarok-1.90/src/collection/mtpcollection/handler/MtpHandler.h:167: error: ISO C++ forbids declaration of 'LIBMTP_raw_device_t' with no type
/home/ravi/abs/amarok/src/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
==> ERROR: Build Failed.
Aborting...
Last edited by ravirdv (2008-08-23 08:50:26)
Offline
exactly the same error here with the same packages.
i'm using kde 4.1 from official repos, too.
the alpha2 compiled correctly, but beta1 didn't.
think there is the same error with the official sources, but haven't tried yet since the beta1 packages use the same source.
Last edited by maddien (2008-08-23 06:49:54)
"we have no right to express an opinion until we know all of the answers"
Kurt D. Cobain
Offline
Yea just experienced this myself. You need a newer version of libmtp (version 0.3.0.)
remove libmtp, and install libmtp-devel from AUR and you should be good to go.
Offline
thanks it works
Offline
great
Offline
That helped me, too with beta2 (1.92.2)!
Thanks a lot :-)
Offline