I am unable to emerge sdl-mixer with mikmod support. If I remove mikmod support it compiles fine. Version 1.2.6 (no -r1) compiles fine with mikmod support. > emerge info Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.0_pre10 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlay" SYNC="rsync://rsync9.ca.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac aalib acl alsa apache2 apm atm audiofile avi berkdb bidi bitmap-fonts bonobo bzip2 cdparanoia cdr cpudetection crypt cups curl custom-cflags dba dedicated dga dhcp directfb divx4linux dts dv dvb dvd dvdr dvdread edl eds emboss encode esd ethereal evo exif expat fam fbcon ffmpeg flac flash fltk fluidsynth foomaticdb fortran freetds gb gd gdbm ggi gif glut gmp gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6 jack java javascript joystick jpeg junit kde lcms libcaca libg++ libwww live lzo mad maildir matroska mhash mikmod ming mmx mng motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mppe-mppc mysql nas ncurses net network nowin nptl nptlonly nvidia oav odbc offensive ogg oggvorbis openal opengl oss pam pcre pda pdflib perl php png portaudio ppds python qt quicktime readline real recode rtc ruby samba scanner sdl sftplogging skey slang sndfile snmp spell sse ssl svg svga tcltk tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vim-with-x vorbis win32codecs wmf x86 xanim xfs xine xinerama xml xml2 xmms xosd xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS > emerge sdl-mixer Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/sdl-mixer-1.2.6-r1 to / >>> md5 files ;-) sdl-mixer-1.2.6.ebuild >>> md5 files ;-) sdl-mixer-1.2.6-r1.ebuild >>> md5 files ;-) sdl-mixer-1.2.5-r1.ebuild >>> md5 files ;-) files/sdl-mixer-1.2.5-amd64-mikmod.patch >>> md5 files ;-) files/digest-sdl-mixer-1.2.6 >>> md5 files ;-) files/1.2.5-gcc3.patch >>> md5 files ;-) files/sdl-mixer-1.2.6-mikmod-music-init.patch >>> md5 files ;-) files/digest-sdl-mixer-1.2.5-r1 >>> md5 files ;-) files/digest-sdl-mixer-1.2.6-r1 >>> md5 src_uri ;-) SDL_mixer-1.2.6.tar.gz >>> Unpacking source... >>> Unpacking SDL_mixer-1.2.6.tar.gz to /var/tmp/portage/sdl-mixer-1.2.6-r1/work * Applying sdl-mixer-1.2.6-mikmod-music-init.patch ... [ ok ] >>> Source unpacked. * econf: updating SDL_mixer-1.2.6/config.guess with /usr/share/gnuconfig/config.guess * eco/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-timidity-midi --enable-music-libmikmod --enable-music-mod --enable-music-mp3 --enable-music-ogg --build=i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make sets $(MAKE)... (cached) yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for a BSD-compatible install... /bin/install -c checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.4... yes checking for libmikmod-config... /usr/bin/libmikmod-config checking for libmikmod - version >= 3.1.10... yes checking for Ogg Vorbis headers and libraries... yes checking for smpeg-config... /usr/bin/smpeg-config checking for SMPEG - version >= 0.4.3... yes configure: creating ./config.status config.status: creating Makefile config.status: creating mikmod/Makefile config.status: creating timidity/Makefile config.status: creating native_midi/Makefile config.status: creating native_midi_gpl/Makefile config.status: creating SDL_mixer.spec config.status: creating SDL_mixer.qpg config.status: executing depfiles commands Making all in mikmod make[1]: Entering directory `/var/tmp/portage/sdl-mixer-1.2.6-r1/work/SDL_mixer-1.2.6/mikmod' --snip-- /bin/sh ./libtool --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DLIBMIKMOD_MUSIC -pthread -D_REENTRANT -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -DMP3_MUSIC -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -o libSDL_mixer.la -rpath /usr/lib -no-undefined -release 1.2 -version-info 2:4:2 -export-symbols-regex Mix_.* load_aiff.lo load_voc.lo load_ogg.lo mixer.lo music.lo music_cmd.lo music_ogg.lo wavestream.lo effect_position.lo effect_stereoreverse.lo effects_internal.lo mikmod/libmikmod.la timidity/libtimidity.la -lvorbisfile -lvorbis -logg -lsmpeg -lSDL -lpthread -lSDL -lpthread -L/usr/lib -lmikmod -ldl -L/usr/lib -lm generating symbol list for `libSDL_mixer.la' /usr/bin/i686-pc-linux-gnu-nm -B .libs/load_aiff.o .libs/load_voc.o .libs/load_ogg.o .libs/mixer.o .libs/music.o .libs/music_cmd.o .libs/music_ogg.o .libs/wavestream.o .libs/effect_position.o .libs/effect_stereoreverse.o .libs/effects_internal.o mikmod/.libs/libmikmod.a timidity/.libs/libtimidity.a | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libSDL_mixer.exp grep -E -e "Mix_.*" ".libs/libSDL_mixer.exp" > ".libs/libSDL_mixer.expT" mv -f ".libs/libSDL_mixer.expT" ".libs/libSDL_mixer.exp" echo "{ global:" > .libs/libSDL_mixer.ver cat .libs/libSDL_mixer.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libSDL_mixer.ver echo "local: *; };" >> .libs/libSDL_mixer.ver i686-pc-linux-gnu-gcc -shared .libs/load_aiff.o .libs/load_voc.o .libs/load_ogg.o .libs/mixer.o .libs/music.o .libs/music_cmd.o .libs/music_ogg.o .libs/wavestream.o .libs/effect_position.o .libs/effect_stereoreverse.o .libs/effects_internal.o -Wl,--whole-archive mikmod/.libs/libmikmod.a timidity/.libs/libtimidity.a -Wl,--no-whole-archive -pthread -L/usr/lib /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libsmpeg.so /usr/lib/libSDL.so -lpthread /usr/lib/libmikmod.so -ldl -lm -march=athlon-xp -Wl,-soname -Wl,libSDL_mixer-1.2.so.0 -Wl,-version-script -Wl,.libs/libSDL_mixer.ver -o .libs/libSDL_mixer-1.2.so.0.2.4 mikmod/.libs/libmikmod.a(mplayer.o): In function `Player_SetSynchroValue': mplayer.c:(.text+0x970): multiple definition of `Player_SetSynchroValue' .libs/music.o:music.c:(.text+0x1d70): first defined here /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `Player_SetSynchroValue' changed from 72 in .libs/music.o to 22 in mikmod/.libs/libmikmod.a(mplayer.o) mikmod/.libs/libmikmod.a(mplayer.o): In function `Player_GetSynchroValue': mplayer.c:(.text+0x62f0): multiple definition of `Player_GetSynchroValue' .libs/music.o:music.c:(.text+0x1dc0): first defined here /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `Player_GetSynchroValue' changed from 68 in .libs/music.o to 18 in mikmod/.libs/libmikmod.a(mplayer.o) collect2: ld returned 1 exit status make[1]: *** [libSDL_mixer.la] Error 1 make[1]: Leaving directory `/var/tmp/portage/sdl-mixer-1.2.6-r1/work/SDL_mixer-1.2.6' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/sdl-mixer-1.2.6-r1 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
Fixed in CVS. thanks for the bug report.