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

Re: Can't build 2.0.2

Tags: None
(comma "," separated)
mountainjew
Registered Member
Posts
34
Karma
0
OS

Can't build 2.0.2

Sun Mar 22, 2009 10:58 am
I've been trying for a while now to build 2.0.2 but i get to about 84% now with this error message:

Code: Select all
send abuse report/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.h: In constructor ‘Ipod::IpodHandler::IpodHandler(IpodCollection*, const QString&, QObject*)’:                    
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.h:245: warning: ‘Ipod::IpodHandler::m_statusbar’ will be initialized after                                        
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.h:231: warning:   ‘Itdb_Playlist* Ipod::IpodHandler::m_masterPlaylist’                                            
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:61: warning:   when initialized here                                                                          
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp: In member function ‘void Ipod::IpodHandler::getCoverArt(Itdb_Track*, Meta::IpodTrackPtr)’:                  
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1352: error: ‘ITDB_THUMB_COVER_SMALL’ was not declared in this scope                                          
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1352: error: ‘itdb_artwork_get_thumb_by_type’ was not declared in this scope                                  
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1357: error: ‘ITDB_THUMB_COVER_LARGE’ was not declared in this scope                                          
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1362: error: ‘itdb_thumb_get_gdk_pixbuf’ was not declared in this scope                                      
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1366: error: ‘struct _Itdb_Artwork’ has no member named ‘thumbnails’                                          
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1374: error: invalid use of incomplete type ‘struct _Itdb_Thumb’                                              
/usr/include/gpod-1.0/gpod/itdb.h:76: error: forward declaration of ‘struct _Itdb_Thumb’            
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1376: error: ‘ITDB_THUMB_PHOTO_SMALL’ was not declared in this scope                                          
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1378: error: ‘ITDB_THUMB_PHOTO_LARGE’ was not declared in this scope                                          
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1380: error: ‘ITDB_THUMB_PHOTO_FULL_SCREEN’ was not declared in this scope                                    
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1382: error: ‘ITDB_THUMB_PHOTO_TV_SCREEN’ was not declared in this scope                                      
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1384: error: ‘ITDB_THUMB_COVER_XLARGE’ was not declared in this scope                                        
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1386: error: ‘ITDB_THUMB_COVER_MEDIUM’ was not declared in this scope                                        
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1388: error: ‘ITDB_THUMB_COVER_SMEDIUM’ was not declared in this scope                                        
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1390: error: ‘ITDB_THUMB_COVER_XSMALL’ was not declared in this scope                                        
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1404: error: ‘itdb_thumb_get_filename’ was not declared in this scope                                        
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1405: error: ‘itdb_thumb_get_gdk_pixbuf’ was not declared in this scope                                      
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp: At global scope:                                                                                            
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1429: warning: unused parameter ‘ipodtrack’                                                                  
/home/mountainjew/Desktop/amarok-2.0.2/src/collection/ipodcollection/handler/IpodHandler.cpp:1429: warning: unused parameter ‘image’
make[2]: *** [src/collection/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/handler/IpodHandler.o] Error 1
make[1]: *** [src/collection/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/all] Error 2
make: *** [all] Error 2
[mountainjew@archy amarok-x.y.z-build]$
[mountainjew@archy amarok-x.y.z-build]$
I'm not sure exactly how to fix it, nor have i found anything about it while searching. I'm building from source on archlinux 64-bit


Anybody know how to get around this? I've tried searching but found nothing. I'm trying to build from source on archlinux 64-bit.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Can't build 2.0.2

Sun Mar 22, 2009 2:40 pm
You are probably using the wrong version of Libgpod. Only a specific version (I think it was 0.6 for Amarok 2.0.x) is supported - the README in our source distribution details this.


--
Mark Kretschmann - Amarok Developer
mountainjew
Registered Member
Posts
34
Karma
0
OS

Re: Can't build 2.0.2

Sun Mar 22, 2009 10:37 pm
Thanks that worked.

Didn't say in the readme that 0.7.x was incompatible btw. Just said >4.x.x.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]