Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81185 - mplayer-1.0_pre5_r5 fails to compile
Summary: mplayer-1.0_pre5_r5 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 81358 81649 81726 88686 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-07 18:14 UTC by Matthew Caron
Modified: 2005-04-11 04:22 UTC (History)
4 users (show)

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 Matthew Caron 2005-02-07 18:14:31 UTC
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
Comment 1 Chris White (RETIRED) gentoo-dev 2005-02-07 18:45:52 UTC
re-emerge giflib or emerge libungif with gif USE flag.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-09 08:36:20 UTC
*** Bug 81358 has been marked as a duplicate of this bug. ***
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-11 12:01:53 UTC
*** Bug 81649 has been marked as a duplicate of this bug. ***
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-12 06:40:08 UTC
*** Bug 81726 has been marked as a duplicate of this bug. ***
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-11 04:22:08 UTC
*** Bug 88686 has been marked as a duplicate of this bug. ***