Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 80751

Summary: mplayer-1.0_pre5-r5 does not compile because of giflib
Product: Gentoo Linux Reporter: gad.kadosh
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description gad.kadosh 2005-02-04 10:30:01 UTC
compiling mplayer-1.0_pre5-r5 gives me errors about giflib.

Reproducible: Always
Steps to Reproduce:
1. emerge mplayer
Actual Results:  
The error I get:


cc -I../libvo -I../../libvo -I/usr/X11R6/include -march=pentium4 -mcpu=pentium4
-O2 -pipe -fno-pic -nopie -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 -Ilibmpdemux -Iloader -Ilibvo
-I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include       -o mencoder mencoder.o mp_msg-mencoder.o cpudetect.o
codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o
subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o
unrarlib.o libao2/afmt.o divx4_vbr.o libvo/aclib.o libvo/osd.o libvo/sub.o
libvo/font_load.o libvo/font_load_ft.o xvid_vbr.o parser-mecmd.o
libmpcodecs/libmpencoders.a -lmp3lame -lvorbis -logg libmpcodecs/libmpcodecs.a
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a
loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a
libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a
-Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a   -lmad -lvorbis -logg -ldv
-ltheora -logg -lfaad  -lmp3lame -lvorbis -logg -lxvidcore -lm -lpng -lz -lz
-ljpeg -lasound -ldl -lpthread    -lfreetype -lz     -lgif   -lsmbclient 
-lfontconfig        -lpthread -ldl -rdynamic   -lm
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference
to `XDestroyImage'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference
to `XGetWindowAttributes'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference
to `XGetImage'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference
to `XGetPixel'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libgif.so: undefined reference
to `XQueryColors'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1

!!! 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.




my emerge info:


Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 16 2004, 23:17:06)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 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-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.117.143.69
ftp://194.117.143.71/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi alsa avi berkdb bitmap-fonts bluetooth cdr crypt cups
dbus dlloader dvd encode evo f77 fam flac foomaticdb fortran gdbm gif gimpprint
gnome gphoto2 gstreamer gtk gtk2 guile hal hardened howl imagemagick imlib ipv6
irmc java jpeg ldap libg++ libwww mad mikmod mmx mono mozilla mpeg ncurses nls
nptl oggvorbis opengl pam pdflib perl pic pie png posix ppds python quicktime
readline real rtc samba scanner sdl spell sqlite sse sse2 ssl tcpd tetex theora
tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml2 xv
xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-04 10:38:13 UTC

*** This bug has been marked as a duplicate of 80274 ***