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

iPod related compilation errors in SVN

Tags: None
(comma "," separated)
*Legion*
Karma
0
I\'ve been trying to compile amaroK SVN, but I keep having it blow up at the same point:

compiling /home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp
g++ -DHAVE_CONFIG_H -I./amarok/src/mediadevice/ipod -I/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod -I. -I/home/legion/Desktop/amarok-svn/amarok/src -I./amarok/src -I/home/legion/Desktop/amarok-svn/amarok/src/amarokcore -I./amarok/src/amarokcore -I/home/legion/Desktop/amarok-svn/amarok/src/engine -I./amarok/src/engine -I/home/legion/Desktop/amarok-svn/amarok/src/mediadevice -I/usr/include/gpod-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/taglib -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -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 -g3 -fno-inline -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 -fPIC -DPIC -c /home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp -o ./amarok/src/mediadevice/ipod/.libs/ipodmediadevice.o -Wp,-MD,./amarok/src/mediadevice/ipod/.deps/ipodmediadevice.TUlo
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp: In member function `virtual MediaItem* IpodMediaDevice::updateTrackInDB(IpodMediaItem*, const QString&, const MetaBundle&, const PodcastInfo*)\':
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:272: error: \'struct _Itdb_Track\' has no member named \'unk176\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:285: error: \'struct _Itdb_Track\' has no member named \'unk176\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp: In member function `virtual bool IpodMediaDevice::openDevice(bool)\':
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:923: error: `MODEL_TYPE_COLOR\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:924: error: `MODEL_TYPE_COLOR_U2\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:925: error: `MODEL_TYPE_NANO_WHITE\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:926: error: `MODEL_TYPE_NANO_BLACK\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:931: error: `MODEL_TYPE_VIDEO_WHITE\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:932: error: `MODEL_TYPE_VIDEO_BLACK\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:938: error: `MODEL_TYPE_REGULAR\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:939: error: `MODEL_TYPE_REGULAR_U2\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:940: error: `MODEL_TYPE_MINI\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:941: error: `MODEL_TYPE_MINI_BLUE\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:942: error: `MODEL_TYPE_MINI_PINK\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:943: error: `MODEL_TYPE_MINI_GREEN\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:944: error: `MODEL_TYPE_MINI_GOLD\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:949: error: `MODEL_TYPE_SHUFFLE\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:955: error: `MODEL_TYPE_INVALID\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:956: error: `MODEL_TYPE_UNKNOWN\' was not declared in this scope
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:923: warning: unused variable \'MODEL_TYPE_COLOR\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:924: warning: unused variable \'MODEL_TYPE_COLOR_U2\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:925: warning: unused variable \'MODEL_TYPE_NANO_WHITE\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:926: warning: unused variable \'MODEL_TYPE_NANO_BLACK\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:931: warning: unused variable \'MODEL_TYPE_VIDEO_WHITE\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:932: warning: unused variable \'MODEL_TYPE_VIDEO_BLACK\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:938: warning: unused variable \'MODEL_TYPE_REGULAR\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:939: warning: unused variable \'MODEL_TYPE_REGULAR_U2\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:940: warning: unused variable \'MODEL_TYPE_MINI\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:941: warning: unused variable \'MODEL_TYPE_MINI_BLUE\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:942: warning: unused variable \'MODEL_TYPE_MINI_PINK\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:943: warning: unused variable \'MODEL_TYPE_MINI_GREEN\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:944: warning: unused variable \'MODEL_TYPE_MINI_GOLD\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:949: warning: unused variable \'MODEL_TYPE_SHUFFLE\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:955: warning: unused variable \'MODEL_TYPE_INVALID\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:956: warning: unused variable \'MODEL_TYPE_UNKNOWN\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:981: error: \'struct _Itdb_iTunesDB\' has no member named \'musicdirs\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:1061: error: \'struct _Itdb_iTunesDB\' has no member named \'mountpoint\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp: In member function `QString IpodMediaDevice::realPath(const char*)\':
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:1349: error: \'struct _Itdb_iTunesDB\' has no member named \'mountpoint\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp: In member function `QString IpodMediaDevice::ipodPath(const QString&)\':
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:1359: error: \'struct _Itdb_iTunesDB\' has no member named \'mountpoint\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:1361: error: \'struct _Itdb_iTunesDB\' has no member named \'mountpoint\'
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp: In member function `virtual bool IpodMediaDevice::getCapacity(KIO::filesize_t*, KIO::filesize_t*)\':
/home/legion/Desktop/amarok-svn/amarok/src/mediadevice/ipod/ipodmediadevice.cpp:1663: error: \'struct _Itdb_iTunesDB\' has no member named \'mountpoint\'
Error creating ./amarok/src/mediadevice/ipod/ipodmediadevice.lo. Exit status 1.

ERROR: Compilation wasn\'t successful. amaroK was NOT installed/upgraded.


I checked out and successfully compiled/installed libgpod from CVS. I don\'t get where the problem is.
*Legion*
Karma
0
Here\'s libgpod in /usr/lib:

legion@localhost /usr/lib $ ls -l libgpod*
-rw-r--r-- 1 root root 112112 Mar 19 02:31 libgpod.a
-rwxr-xr-x 1 root root 909 Mar 19 02:31 libgpod.la
lrwxrwxrwx 1 root root 18 Mar 19 02:31 libgpod.so -> libgpod.so.0.303.0
lrwxrwxrwx 1 root root 18 Mar 19 02:31 libgpod.so.0 -> libgpod.so.0.303.0
-rwxr-xr-x 1 root root 82204 Mar 19 02:31 libgpod.so.0.303.0
*Legion*
Karma
0
Going back to libgpod 0.3.2 build instead of CVS fixed the problem. Guess CVS is broken at the moment or something


Bookmarks



Who is online

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