Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amarok 1.4.4 not compiling (iPod related?) SOLVED! (LDFLAGs)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Aitikin
Apprentice
Apprentice


Joined: 14 May 2005
Posts: 227

PostPosted: Tue Oct 31, 2006 2:02 am    Post subject: Amarok 1.4.4 not compiling (iPod related?) SOLVED! (LDFLAGs) Reply with quote

I have just tried emerging Amarok 1.4.4. I get an error problem and I don't know if I'm just missing something or if there's something I need to do.

Here's the error:
Code:
make[5]: Entering directory `/var/tmp/portage/media-sound/amarok-1.4.4/work/amarok-1.4.4/amarok/src/mediadevice/ipod'
/usr/qt/3/bin/moc ./ipodmediadevice.h -o ipodmediadevice.moc
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -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/lib64/glib-2.0/include   -I/usr/include/taglib -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -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 -fno-builtin -g3 -fno-inline -march=athlon64 -Os -pipe -msse3 -mmmx -msse2 -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  -c -o ipodmediadevice.lo ipodmediadevice.cpp
ipodmediadevice.cpp: In member function 'QString IpodMediaDevice::realPath(const char*)':
ipodmediadevice.cpp:1492: error: 'struct _Itdb_iTunesDB' has no member named 'mountpoint'
ipodmediadevice.cpp: In member function 'QString IpodMediaDevice::ipodPath(const QString&)':
ipodmediadevice.cpp:1504: error: 'struct _Itdb_iTunesDB' has no member named 'mountpoint'
make[5]: *** [ipodmediadevice.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.4/work/amarok-1.4.4/amarok/src/mediadevice/ipod'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.4/work/amarok-1.4.4/amarok/src/mediadevice'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.4/work/amarok-1.4.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.4/work/amarok-1.4.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.4/work/amarok-1.4.4'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.4 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  amarok-1.4.4.ebuild, line 74:   Called kde_src_compile
  kde.eclass, line 172:   Called kde_src_compile 'all'
  kde.eclass, line 342:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 338:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


I'd emerge it without iPod support, but I have 2 iPods and I'm not ready to Rockbox em. I'm a huge fan of Amarok and I always look forward to a new release. Any help would be appreciated.

EDIT:: here is my emerge --info:
Code:
Portage 2.1.2_rc1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.5
Last Sync: Mon, 30 Oct 2006 21:00:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -msse3 -mmmx -msse2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -Os -pipe -msse3 -mmmx -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed,--sort-common"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa amr arts artswrappersuid asf automount berkdb bitmap-fonts bonjour cdinstall cdr cdrom chroot cli cracklib crypt css cups daap dbus debug dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode esd fat ffmpeg firefox flac flash font-server foomaticdb fortran gcj gif gimp gimpprint gnustep gpm gsnd gstreamer gtk gtk2 h323 hal hpn iconv id3 ieee1394 imlib input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jack java javascript jfs jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux kipi layout-osx-like lzw lzw-tiff mad matroska memlimit mikmod mjpeg mozsvg mp3 mpeg mpeg2 mplayer mysql ncurses neXt nforce2 nls nocd nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc offensive ogg opengl oss pam pcre pda pdf perl png ppds pppd python qt3 quicktime readline reflection reiserfs rtsp samba scanner sdl server session sftplogging slp smp snmp speex spell spl ssl startup-notification svg symlink tcpd theora thesaurus threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l v4l2 vcd vfat video_cards_fbdev video_cards_mesa video_cards_nv video_cards_nvidia video_cards_vesa vorbis wifi wma wmf x11vnc x264 xcomposite xfs xinerama xml xorg xpm xsl xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
"it's like sex, except over ssh" ~Valkura

"I should go to bitch, I get up at 6:20" ~Valkura


Last edited by Aitikin on Tue Oct 31, 2006 7:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Conan
Guru
Guru


Joined: 02 Nov 2004
Posts: 360

PostPosted: Tue Oct 31, 2006 3:42 am    Post subject: Reply with quote

libgpod version?
Back to top
View user's profile Send private message
Aitikin
Apprentice
Apprentice


Joined: 14 May 2005
Posts: 227

PostPosted: Tue Oct 31, 2006 4:12 am    Post subject: Reply with quote

I did a emerge -avuD world to get to this point (so from my understanding it shouldn't matter), here is the version.

media-libs/libgpod-0.4.0
_________________
"it's like sex, except over ssh" ~Valkura

"I should go to bitch, I get up at 6:20" ~Valkura
Back to top
View user's profile Send private message
Rumil
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2003
Posts: 108
Location: Krakow, Poland

PostPosted: Tue Oct 31, 2006 6:57 am    Post subject: Reply with quote

Remove --as-needed form LDFLAGS - it will work. And as far as I know setting LDFLAGS to anything is unsupported by gentoo devs, please remember about that.
Back to top
View user's profile Send private message
Aitikin
Apprentice
Apprentice


Joined: 14 May 2005
Posts: 227

PostPosted: Tue Oct 31, 2006 6:55 pm    Post subject: Reply with quote

Yeah. I figured that'd be my next test. I added that as a result of reading this:

http://www.gentoo.org/proj/en/qa/asneeded.xml

So I figured that I'd ask here first and see if there was any other solution.
_________________
"it's like sex, except over ssh" ~Valkura

"I should go to bitch, I get up at 6:20" ~Valkura
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum