[MPlayer-dev-eng] [PATCH] Fix compilation error in libmpdemux/demux_gif.c

Alexander Strasser eclipse7 at gmx.net
Sun Jul 14 20:25:32 CEST 2013


Hi Nicolas,

On 2013-07-14 16:28 +0200, Nicolas Coiffier wrote:
> The version of GIFLIB is the build-in version of my archlinux distribution,
> giflib-4.2.1-3, without any additional modifications.
> 
> Here are some informations about my build tools (if it may be relevant) :
[...]

  Thanks for the information.

> Should I report this issue in the bug tracker instead ?
 
  Not needed yet. I will make local tests with that version and
verify/falsify my assumptions. Should you not hear back from me
in a week or so it might be a good idea to report it on the bug
tracker too. (So it will not be completely forgotten.)

[...]
> > On 2013-07-13 17:55 +0200, Nicolas Coiffier wrote:
> > > When I tried to compile mplayer, I got the following errors:
> > >
> > > libmpdemux/demux_gif.c: In function 'demux_gif_fill_buffer':
> > > libmpdemux/demux_gif.c:97:7: error: implicit declaration of function
> > > 'PrintGifError' [-Werror=implicit-function-declaration]
> > >        PrintGifError();
> > >        ^
> > > cc1: some warnings being treated as errors
> > > make: *** [libmpdemux/demux_gif.o] Error 1
> > >
> > > A little googling give me the following link:
> > > https://bugs.archlinux.org/task/36039
> > >
> > > I applied it on svn revision 36356, and it worked fine for me. So I
> > > transfer this patch to the appropriate mplayer mailing-list.

  If you like you could do something in the mean time. Build
MPlayer with the patch applied. Afterwards if it all built fine,
do:

  rm libmpdemux/demux_gif.o
  make ibmpdemux/demux_gif.o

Then post the complete output of the second command here.


  Alexander


More information about the MPlayer-dev-eng mailing list