Emerging libmusepack 1.0.2 with gcc 3.4.2 I get this when starting xmms: /usr/lib/xmms/Input/libmpc.so: undefined symbol: _ZN11MPC_decoder6DecodeEPfPjS1_ Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed! A workaround is, reverting this: diff -Nurd libmusepack-1.0.1/mpc_math.h l/mpc_math.h --- libmusepack-1.0.1/mpc_math.h 2004-07-14 13:48:43.000000000 +0200 +++ l/mpc_math.h 2004-09-16 00:25:04.000000000 +0200 @@ -2,13 +2,23 @@ #define _MPC_MATH_H_ -//#define MPC_FIXED_POINT +#define MPC_FIXED_POINT #define MPC_FIXED_POINT_SHIFT 16 #ifdef MPC_FIXED_POINT So using floating point, it behaves like libmusepack 1.0.1 and xmms starts w/o problems. Recompiling xmms-musepack-1.1_alpha7 won't help with original libmusepack 1.02 as it errors out: ++ -Wall -fPIC -DPIC -march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer -DPOSIX -D_REENTRANT -DVERSION=\"1.1-alpha7\" -I/usr/include/musepack `pkg-config --cflags glib-2.0` `xmms-config--cflags` `gtk-config --cflags` -pthread -c tags.cpp libmpc.cpp: In function `void convertLE32to16(MPC_SAMPLE_FORMAT*, char*, unsigned int)': libmpc.cpp:125: warning: unused variable 'float_scale' libmpc.cpp: In function `void* DecodeThread(void*)': libmpc.cpp:184: error: cannot declare variable `reader' to be of type `MPC_reader_impl' libmpc.cpp:184: error: because the following virtual functions are abstract: /usr/include/musepack/mpc_dec.h:17: error: virtual mpc_int32_t MPC_reader::read(void*, mpc_int32_t) /usr/include/musepack/mpc_dec.h:18: error: virtual bool MPC_reader::seek(mpc_int32_t) libmpc.cpp: In function `char* generate_title(char*)': libmpc.cpp:270: error: cannot declare variable `reader2' to be of type `MPC_reader_impl' libmpc.cpp:270: error: since type `MPC_reader_impl' has abstract virtual functions libmpc.cpp: In function `void mpc_get_song_info(char*, char**, int*)': libmpc.cpp:321: error: cannot declare variable `reader2' to be of type `MPC_reader_impl' libmpc.cpp:321: error: since type `MPC_reader_impl' has abstract virtual functions libmpc.cpp: In function `void mpc_file_info_box(char*)': libmpc.cpp:463: error: cannot declare variable `reader2' to be of type `MPC_reader_impl' libmpc.cpp:463: error: since type `MPC_reader_impl' has abstract virtual functions tags.h: At global scope: tags.h:22: warning: 'GenreList' defined but not used make: *** [libmpc.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: media-plugins/xmms-musepack-1.1_alpha7 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Another thing (tto lazy to open another bug report): Perhaps it could be possible to modify the Makefile to use LDFLAGS, as well. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51_rc1 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0,glibc-2.3.4.20040916-r0, 2.6.9-rc1 i686) ================================================================= System uname: 2.6.9-rc1 i686 AMD Athlon(tm) Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest prelink sandbox" GENTOO_MIRRORS=" ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg-main /usr/lportage" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage/" USE="3dnow S3TC X Xaw3d aac acpi acpi4linux alsa apm audiofile avi berkdb bitmap-fonts cddb cdparanoia cdr crypt cups dga divx4linux dts dv dvb dvd dvdr dvdread encode ext-png ext-zlib faac faad ffmpeg fftw flac foomaticdb freetype gdbm gif gimp gimpprint gnome gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml ieee1394 imlib javascriptjpeg kde ldap libg++ libwww live lm_sensors mad matroska mikmod mmx monkey motif moznocompose mpeg mpi nas ncurses network nls nocd nptl nvidia oggvorbis openal opengl openssh oss pam pdflib perl pic png ppds python qt qtmt quicktime readline samba scanner sdl slang smime speex spell sse ssl tcpd tetex theora threads tiff transcode truetype usb videos wmf wxwindows x86 xfs xine xinetd xml xml2 xmms xprint xv xvid yv12 zlib linguas_de"
can you try beta9
Beta9 of what? I don't see xmms-musepack ebuild for that if you are refering to that.
i meant alpha9... please try xmms-musepack-1.1_alpha9
Yup works, bug can be closed (though dependency for older xmms-muspack ebuilds should be changed).
the older ebuilds don't use libmusepack... so this is fixed. thanks.