Compilation fails with: cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -march=athlon-mp -pipe -O2 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../loader -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o demux_gif.o demux_gif.c demux_gif.c:21:21: gif_lib.h: No such file or directory demux_gif.c: In function `demux_gif_fill_buffer': demux_gif.c:43: error: `GifFileType' undeclared (first use in this function) demux_gif.c:43: error: (Each undeclared identifier is reported only once demux_gif.c:43: error: for each function it appears in.) demux_gif.c:43: error: `gif' undeclared (first use in this function) demux_gif.c:43: error: syntax error before ')' token demux_gif.c:45: error: `GifRecordType' undeclared (first use in this function) demux_gif.c:45: error: syntax error before "type" demux_gif.c:48: error: `ColorMapObject' undeclared (first use in this function) demux_gif.c:48: error: `effective_map' undeclared (first use in this function) demux_gif.c:51: error: `type' undeclared (first use in this function) demux_gif.c:51: error: `IMAGE_DESC_RECORD_TYPE' undeclared (first use in this function) demux_gif.c:52: error: `GIF_ERROR' undeclared (first use in this function) demux_gif.c:56: error: `TERMINATE_RECORD_TYPE' undeclared (first use in this function) demux_gif.c:58: error: `SCREEN_DESC_RECORD_TYPE' undeclared (first use in this function) demux_gif.c:64: error: `EXTENSION_RECORD_TYPE' undeclared (first use in this function) demux_gif.c: In function `demux_open_gif': demux_gif.c:154: error: `GifFileType' undeclared (first use in this function) demux_gif.c:154: error: `gif' undeclared (first use in this function) demux_gif.c: In function `demux_close_gif': demux_gif.c:211: error: `GifFileType' undeclared (first use in this function) demux_gif.c:211: error: `gif' undeclared (first use in this function) demux_gif.c:211: error: syntax error before ')' token demux_gif.c:216: error: `GIF_ERROR' undeclared (first use in this function) make[1]: *** [demux_gif.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5-r5/work/MPlayer-1.0pre5try2/libmpdemux' make: *** [libmpdemux/libmpdemux.a] Error 2 !!! ERROR: media-video/mplayer-1.0_pre5-r5 failed. !!! Function src_compile, Line 452, Exitcode 2 !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge mplayer 2. 3. Actual Results: It showed the above error. Expected Results: Compiled and installed. (case) ~# emerge info Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 4 2004, 22:49:05)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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="-O3 -march=athlon-mp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://yt/gentoo-portage" USE="x86 X Xaw3d aalib aim alsa apm arts avi berkdb bitmap-fonts cdr crypt cups directfb dvd dvdr emacs encode esd ethereal evo f77 fam flac font-server foomaticdb fortran gb gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber jack java jikes jpeg kde ladccalcms ldap lesstif libg++ libwww mad mcal mikmod mmx motif mozilla mpeg mpi msn mysql nas ncurses nls nptl oggvorbis opengl oscar oss pam pcmcia pda pdflib perl plotutils png pnp posix ppds python qt quicktime readline ruby samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb videos wmf wxwindows xinerama xml xml2 xmms xosd xv yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
re-emerge giflib or emerge libungif with gif USE flag.
*** Bug 81358 has been marked as a duplicate of this bug. ***
*** Bug 81649 has been marked as a duplicate of this bug. ***
*** Bug 81726 has been marked as a duplicate of this bug. ***
*** Bug 88686 has been marked as a duplicate of this bug. ***