Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Emerge mplayer-1.0_pre5-r5 failed

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
miraceti
Apprentice
Apprentice
Posts: 165
Joined: Thu Oct 07, 2004 9:06 pm

Emerge mplayer-1.0_pre5-r5 failed

  • Quote

Post by miraceti » Wed Feb 09, 2005 1:42 pm

I cannot upgrade mplayer:

Code: Select all

media-video/mplayer-1.0_pre5-r5  -3dfx +3dnow +3dnowex +X +aalib +alsa (-altivec) +arts +avi -bidi +cdparanoia -debug +dga +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 -sse2 +svga -tga +theora +truetype +v4l +v4l2 -xanim -xinerama +xmms +xv +xvid -xvmc

Code: Select all

cc -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 -D_LARGEFILE64_SOURCE -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 `/mnt/var/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 463, Exitcode 2
!!! Failed to build MPlayer!
Configure script says:

Code: Select all

Checking for GIF support ... yes (old version, some encoding functions disabled)
Checking for broken giflib workaround ... enabled
Any idea how to correctly deal with this problem?
Thanks!
Top
miraceti
Apprentice
Apprentice
Posts: 165
Joined: Thu Oct 07, 2004 9:06 pm

Flag -gif works

  • Quote

Post by miraceti » Wed Feb 09, 2005 1:58 pm

The compilation works if the line

Code: Select all

media-video/mplayer -gif
is in the file /etc/portage/package.use .

I don't need the gif support in mplayer, but it is strange and I would like to solve this problem in a better way.
Top
rwf
Apprentice
Apprentice
Posts: 234
Joined: Sat Jan 24, 2004 10:40 pm
Location: mi.us

  • Quote

Post by rwf » Wed Feb 09, 2005 5:09 pm

I had the same problem. I re-merged media-libs/giflib and that re-created /usr/include/gif_lib.h

I hve no idea how this situation occurred; emerge -pv giflib said the package was installed, but the gif_lib.h file wasn't present???
Top
hjnenc
Veteran
Veteran
User avatar
Posts: 1599
Joined: Sun Aug 15, 2004 5:49 am
Location: Vienna, Austria

  • Quote

Post by hjnenc » Wed Feb 09, 2005 5:20 pm

Look here http://bugs.gentoo.org/show_bug.cgi?id=77809 for some background info on this problem.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic