Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79243 - mplayer don't compile maybe because of demux..
Summary: mplayer don't compile maybe because of demux..
Status: RESOLVED FIXED
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:
: 79246 79546 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-23 12:09 UTC by mambro
Modified: 2005-02-04 03:24 UTC (History)
2 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 mambro 2005-01-23 12:09:50 UTC
When i try to emerge mplayer  mplayer-1.0_pre5-r5 I've this error

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -march=athlon -O2 -pipe -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 extension.o extension.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -march=athlon -O2 -pipe -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: parse error before ')' token
demux_gif.c:45: error: `GifRecordType' undeclared (first use in this function)
demux_gif.c:45: error: parse 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: parse 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 `/usr/portage/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 443, 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.
2.
3.




USE FLAGS

[ebuild   R   ] media-video/mplayer-1.0_pre5-r5  -3dfx +3dnow -3dnowex +X +aalib
+alsa (-altivec) -arts -bidi -cdparanoia -debug +directfb -divx4linux -doc -dvb
+dvd -dvdread -edl +encode +esd +fbcon -ggi +gif +gtk -i8x0 +ipv6* -jack
-joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox -mmx -mmx2
+mpeg -mythtv -nas -network +nls +nvidia* +oggvorbis +opengl +oss +png +real*
-rtc +samba +sdl -sse +svga -tga -theora +truetype +v4l -v4l2 -xanim -xinerama
+xmms +xv +xvid -xvmc 0 kB 

root@terra lib # emerge info
Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 13:24:25)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -fweb -frename-registers"
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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -fweb -frename-registers"
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="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cscope
cups directfb dvd encode esd f77 fam fbcon flac font-server foomaticdb fortran
gdbm gif gimpprint gpm gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww
mad mikmod motif mozilla mp3 mpeg mysql ncurses nls nvidia oggvorbis opengl oss
pam pdflib perl plotutils png python qt quicktime readline real samba sdl slang
spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb v4l
videos x86 xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

root@terra lib # cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 952.267
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr pni syscall mmxext 3dnowext 3dnow
bogomips        : 1863.68

root@terra lib # lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
(rev 03)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
0000:00:03.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
0000:00:03.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 11)
0000:00:04.0 Communication controller: Conexant HCF 56k Data/Fax Modem (rev 08)
0000:00:05.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX (rev 10)
0000:00:14.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 22)
0000:00:14.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
0000:00:14.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 10)
0000:00:14.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 10)
0000:00:14.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
0000:00:14.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97
Audio Controller (rev 20)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
Model 64/Model 64 Pro] (rev 15)

root@terra lib # gcc --version
gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-23 13:43:08 UTC
*** Bug 79246 has been marked as a duplicate of this bug. ***
Comment 2 Björn Michaelsen 2005-01-24 02:21:32 UTC
http://www.mail-archive.com/gentoo-user@gentoo.org/msg40402.html
Reemerging libgif and libungif should help.
Comment 3 mambro 2005-01-24 13:10:25 UTC
now work. tks
Comment 4 mambro 2005-01-24 13:11:10 UTC
now it works. tks
Comment 5 Nils 2005-01-28 23:35:51 UTC
To Bj
Comment 6 Nils 2005-01-28 23:35:51 UTC
To Björn Michaelsen
 ... giflib and libungif ...
Comment 7 Chris White (RETIRED) gentoo-dev 2005-01-29 23:51:48 UTC
*** Bug 79546 has been marked as a duplicate of this bug. ***
Comment 8 Chris White (RETIRED) gentoo-dev 2005-01-30 00:49:33 UTC
giflib/libungif issues seem to be at hand here.  I'm just going to force giflib to fix the problem.  I'll rid of that evil hack when pre6 becomes the good version to use.
Comment 9 gad.kadosh 2005-01-31 00:09:40 UTC
How is this bug fixed? I still get the same errors compiling mplayer-1.0_pre5-r5. Same errors as in #79546. 
Comment 10 Chris White (RETIRED) gentoo-dev 2005-01-31 19:38:48 UTC
Because you didn't emerge sync?
Comment 11 gad.kadosh 2005-02-01 01:10:57 UTC
well I actually emerged sync quite a few times since then and it still happens.
Comment 12 gad.kadosh 2005-02-04 03:24:09 UTC
I don't understand why this bug is marked as Resolved. I still get the same error when compiling mplayer-1.0_pre5-r5. The error is the same as in bug #79546, which is a duplicate of this one (though the error is not the same).