[Mplayer-advusers] Mplayer doesn't compile, -lgif or -lungif should be added

kaups kaups at linux.ee
Fri Sep 5 21:32:04 CEST 2003


Hello,

I tried to make a debian package from mplayer CVS, which I checked out few 
hours ago, and noticed that that with gif support -lgif or -lungif should be 
added to make it compile.
 I use debian testing/unstable (mostly testing :) with gcc version 3.3.2 
20030831 (Debian prerelease)

without -lgif or -lungif:

gcc -O4 -march=k6-2 -mcpu=k6-2 -pipe -ffast-math -fomit-frame-pointer 
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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/local/include/SDL 
-D_REENTRANT -I/usr/X11R6/include    -o mplayer .....blah it gives an error:

......
libmpdemux/libmpdemux.a(demux_gif.o)(.text+0x536): In function 
`demux_close_gif':
: undefined reference to `DGifCloseFile'
libmpdemux/libmpdemux.a(demux_gif.o)(.text+0x561): In function 
`demux_close_gif':
: undefined reference to `PrintGifError'
collect2: ld returned 1 exit status

P.S. Please excuse my bad english :(

--
kaups



More information about the MPlayer-advusers mailing list