when i `emerge gpm`, mplayer merges correctly. when this package is missing, mplayer gives the following error: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: warning: libgpm.so.1, needed by /usr/lib/libaa.so, not found (try using -rpath or -rpath-link) /usr/lib/libaa.so: undefined reference to `gpm_consolefd' /usr/lib/libaa.so: undefined reference to `Gpm_Close' /usr/lib/libaa.so: undefined reference to `Gpm_Wgetch' /usr/lib/libaa.so: undefined reference to `_gpm_arg' /usr/lib/libaa.so: undefined reference to `gpm_mx' /usr/lib/libaa.so: undefined reference to `gpm_fd' /usr/lib/libaa.so: undefined reference to `Gpm_Getc' /usr/lib/libaa.so: undefined reference to `gpm_hflag' /usr/lib/libaa.so: undefined reference to `gpm_my' /usr/lib/libaa.so: undefined reference to `Gpm_Open' /usr/lib/libaa.so: undefined reference to `Gpm_GetEvent' /usr/lib/libaa.so: undefined reference to `gpm_visiblepointer' /usr/lib/libaa.so: undefined reference to `gpm_zerobased' /usr/lib/libaa.so: undefined reference to `gpm_handler' /usr/lib/libaa.so: undefined reference to `_gpm_buf' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 !!! ERROR: media-video/mplayer-1.0_pre6-r5 failed. !!! Function src_compile, Line 511, Exitcode 2 !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, NOT this status message. -------------- smithy@smithj ~ $ emerge --info Portage 2.0.51.19 (default-linux/x86, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc3 i686) ================================================================= System uname: 2.6.12-rc3 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.11 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 19 2005, 21:32:03)] ccache version 2.4 [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/env.d" CXXFLAGS="-Os -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib acpi aim alsa apache2 avi bitmap-fonts cdr crypt cups dba divx4linux dvd encode esd flac fluxbox font-server ftp gd gd-external gif gnome gtk gtk2 icq idea imap imlib java jikes jpeg mad mmx mmx2 mozilla mp3 mpeg ncurses nptl nptlonly oggvorbis opengl pam pcmcia php pic png posix samba sdl spell sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vim vorbis xmms xprint xv xvid" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY smithy@smithj ~ $ emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0_pre6-r5 -3dfx -3dnow -3dnowext +X +aalib +alsa (-altivec) -arts +avi -bidi -bl -cdparanoia -debug -dga -directfb +divx4linux* -doc -dts -dv -dvb +dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox +mmx -mmxext +mpeg -mythtv -nas -nls -nvidia +oggvorbis +opengl -oss +png +real -rtc +samba +sdl +sse +sse2 -svga -tga -theora +truetype -v4l -v4l2 -xanim -xinerama +xmms +xv +xvid -xvmc 0 kB Total size of downloads: 0 kB
seems to me that you unmerged the gpm lib at some point. the aalib has a optional dependency on gpm if you compile it with USE="gpm". mplayer itself dont need to depend on gpm
arg! right you are. sorry for the trouble aalib and mplayer are happily compiled without gpm