Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88620 - mplayer-1.0_pre5-r5 compilation fails (gif_lib.h missing)
Summary: mplayer-1.0_pre5-r5 compilation fails (gif_lib.h missing)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-10 11:13 UTC by Matthias F. Brandstetter (RETIRED)
Modified: 2005-04-10 11:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias F. Brandstetter (RETIRED) gentoo-dev 2005-04-10 11:13:47 UTC
Hi all, when I try to emerge mplayer-1.0_pre5-r5, I get the following error:

...
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O2 -march=athlon-xp -pipe -fno-pie -fno-pie -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I../loader       -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
...

[ 20:12 itchy ~ ] emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4,dev-lang/python-2.2.2 [2.3.4 (#1, Oct 25 2004, 12:42:33)]
dev-lang/python:     2.3.4, 2.2.2
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.4.1-r10, 1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CC="gcc"
CFLAGS="-O2 -march=athlon-xp -pipe -w"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CRYSTAL="/opt/crystal"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-O2 -march=athlon-xp -pipe -w"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
FEATURES="autoaddcvs autoconfig candy ccache distlocks moo sandbox sfperms userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
GLIBC_SSP_CHECKED="1"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="itchy"
INFODIR="/usr/share/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info:/usr/share/info"
INPUTRC="/etc/inputrc"
JAVAC="/opt/blackdown-jdk-1.4.2.01/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.01"
JDK_HOME="/opt/blackdown-jdk-1.4.2.01"
KDEDIR="/usr/kde/3.3"
KDEDIRS="/usr"
LESS="-r"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:"
MAIL="/var/spool/mail/root"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man::/opt/blackdown-jdk-1.4.2.01/man:/usr/qt/3/man:/usr/qt/3/doc/man:/opt/vmware/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
PAGER="/usr/bin/most"
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/Acrobat5:/opt/RealPlayer8:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin:/opt/vmware/bin:/usr/share/karamba/bin:/usr/lib/portage/bin:/root/scripts:/usr/local/bin:/usr/local/sbin:/usr/bin/wrappers"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-obsd x86-od"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="4104"
PORTAGE_NICENESS="10"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PS1="\[\033[00m\][ \[\033[01;37m\]$(/bin/date +%H:%M) \[\033[01;31m\]\h \[\033[01;34m\]$(ps1dir $PWD) \[\033[00m\]] "
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SGML_CATALOG_FILES="/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.1.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-3.0.cat"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
TMAKEPATH="/usr/lib/tmake/linux-g++"
USE="x86 3dnow X aalib alsa arts avi bash-completion bitmap-fonts bonobo cdr crypt cscope cups curl dga divx4linux doc dvd dvdr emboss encode esd fam fastcgi flac foomaticdb fortran gd gdbm gif gphoto2 gstreamer gtk2 gtkhtml guile hbci imagemagick ipv6 java jpeg junit kde kdeenablefinal kerberos ldap libg++ libwww mad maildir md5sum motif mp3 mpeg mysql ncurses nvidia odbc offensive opengl oss pam pdflib perl png python qt quicktime readline real samba sdl slang sqlite sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb videos win32codecs xine xml xml2 xmms xv xvid zlib"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthHIlDvc"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"

Reproducible: Always
Steps to Reproduce:
(just "emerge mplayer")
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-10 11:19:37 UTC
this is already fixed, emerge sync and emerge giflib.