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

[solved] amarok-1.4.8 build-problem seemingly with ipodmediadevice.lo

Tags: None
(comma "," separated)
obgr_seneca
Registered Member
Posts
3
Karma
0
Hello,
I'm building rpm-packages for the German Mandriva-Community and I'm now facing a problem, building 1.4.8 for Mandriva 2007.1. With 2008.0 it works flawlessly, but make does stop with the following messages while building under 2007.1:
Code: Select all
Making all in ipod
make[5]: Entering directory `/home/oli/rpm-build/rpm/2007/BUILD/amarok-1.4.8/amarok/src/mediadevice/ipod'
/usr/lib/qt3/bin/moc ./ipodmediadevice.h -o ipodmediadevice.moc
/bin/sh ../../../../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../amarok/src -I../../../../amarok/src -I../../../../amarok/src/amarokcore -I../../../../amarok/src/amarokcore -I../../../../amarok/src/engine -I../../../../amarok/src/engine -I../../../../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/lib/qt3/include -I/usr/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT ipodmediadevice.lo -MD -MP -MF .deps/ipodmediadevice.Tpo -c -o ipodmediadevice.lo ipodmediadevice.cpp
ipodmediadevice.cpp: In member function ‘virtual MediaItem* IpodMediaDevice::updateTrackInDB(IpodMediaItem*, const QString&, const MetaBundle&, const MetaBundle&, const PodcastInfo*)’:
ipodmediadevice.cpp:472: error: ‘ITDB_MEDIATYPE_AUDIO’ was not declared in this scope
ipodmediadevice.cpp:495: error: ‘ITDB_MEDIATYPE_MOVIE’ was not declared in this scope
ipodmediadevice.cpp:524: error: ‘ITDB_MEDIATYPE_AUDIOBOOK’ was not declared in this scope
ipodmediadevice.cpp:562: error: ‘ITDB_MEDIATYPE_MOVIE’ was not declared in this scope
ipodmediadevice.cpp:563: error: ‘ITDB_MEDIATYPE_PODCAST’ was not declared in this scope
ipodmediadevice.cpp: In member function ‘void IpodMediaDevice::detectModel()’:
ipodmediadevice.cpp:1290: error: ‘itdb_device_supports_artwork’ was not declared in this scope
make[5]: *** [ipodmediadevice.lo] Fehler 1
make[5]: Leaving directory `/home/oli/rpm-build/rpm/2007/BUILD/amarok-1.4.8/amarok/src/mediadevice/ipod'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/home/oli/rpm-build/rpm/2007/BUILD/amarok-1.4.8/amarok/src/mediadevice'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/oli/rpm-build/rpm/2007/BUILD/amarok-1.4.8/amarok/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/oli/rpm-build/rpm/2007/BUILD/amarok-1.4.8/amarok'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/oli/rpm-build/rpm/2007/BUILD/amarok-1.4.8'
make: *** [all] Fehler 2
Fehler: Fehler-Status beim Beenden von /home/oli/rpm-build/rpm/2007/tmp/rpm-tmp.90191 (%build)
    Fehler-Status beim Beenden von /home/oli/rpm-build/rpm/2007/tmp/rpm-tmp.90191 (%build)


Does anyone have an idea, what the problem could be?
Thanks,

Oliver

Last edited by obgr_seneca on Sun Jan 20, 2008 11:36 am, edited 1 time in total.
obgr_seneca
Registered Member
Posts
3
Karma
0
I solved the problem by comparing the ipod/gpod-versions between 2007.1 and 2008.0 (Mandriva versions). It seems, that the libgpod-0.4.2 delivered by Mandriva2007.1 wasn't actual enough, after building libgpod-0.5.2, which is part of Mandriva2008.0 I could build amarok on the 2007.1
Perhaps configure should test, if the libgpod is actual enough...

Oliver


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]