You are not logged in.

#1 2008-08-23 03:17:17

ravirdv
Member
Registered: 2008-08-23
Posts: 2

[SOLVED]cannot compile amarok2 beta1

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

#2 2008-08-23 06:46:56

maddien
Member
From: Fulda - Germany
Registered: 2008-08-23
Posts: 9

Re: [SOLVED]cannot compile amarok2 beta1

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

#3 2008-08-23 06:56:42

veek
Member
Registered: 2006-03-10
Posts: 167

Re: [SOLVED]cannot compile amarok2 beta1

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

#4 2008-08-23 08:50:04

ravirdv
Member
Registered: 2008-08-23
Posts: 2

Re: [SOLVED]cannot compile amarok2 beta1

thanks it works smile

Offline

#5 2008-08-24 01:10:35

SLeeM@N
Member
From: Canada
Registered: 2006-04-12
Posts: 13

Re: [SOLVED]cannot compile amarok2 beta1

great smile

Offline

#6 2008-10-13 19:12:48

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

Re: [SOLVED]cannot compile amarok2 beta1

That helped me, too with beta2 (1.92.2)!
Thanks a lot :-)

Offline

Board footer

Powered by FluxBB