You are not logged in.

#1 2013-05-29 13:26:38

vizipok
Member
Registered: 2011-03-26
Posts: 23

How to compile mplayer with giflib support?

Hey all,

i am trying to compile mplayer (or mplayer2, i have tried several pkgbuilds from aur), as the package from extra doesn't have support for the the gif89a video_out driver. I have giflib package installed, so i have the /usr/lib/include/gif_lib.h in my filesystem. If i try to compile mplayer with the ./configure --enable-gif option, it fails with the following error message:

libmpdemux/demux_gif.o: In function `demux_close_gif':
demux_gif.c:(.text+0x39): undefined reference to `PrintGifError'
libmpdemux/demux_gif.o: In function `demux_open_gif':
demux_gif.c:(.text+0x293): undefined reference to `PrintGifError'
libmpdemux/demux_gif.o: In function `demux_gif_fill_buffer':
demux_gif.c:(.text+0x95b): undefined reference to `PrintGifError'
demux_gif.c:(.text+0xb1a): undefined reference to `PrintGifError'

...among others, because some other libraries (cdio_paranoia, theora and caca) have undefined references too. If i check the source of giflib, i see the missing function 'PrintGifError' in 'lib/gif_err.c', but i don't have this file on my filesystem. My question is from where should i obtain these sources, and where i need to place them to compile mplayer successfully?

Update: here is the whole list of errors, all of them are undefined references to various functions: http://pastebin.com/LttqXy5J

Last edited by vizipok (2013-06-03 11:53:20)

Offline

#2 2013-05-29 17:24:50

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: How to compile mplayer with giflib support?

according for this: https://projects.archlinux.org/svntogit … ges/giflib

why update to 5.0.2 and re-updatd to 4.1.2?

Offline

#3 2013-05-29 18:13:07

vizipok
Member
Registered: 2011-03-26
Posts: 23

Re: How to compile mplayer with giflib support?

that's strange. i have 4.2.1-1

Offline

#4 2013-05-29 18:16:56

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: How to compile mplayer with giflib support?

yea. and I. in bugtracker don't show any report why this downgrade

Last edited by sl1pkn07 (2013-05-29 18:17:10)

Offline

#5 2013-05-29 19:07:15

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: How to compile mplayer with giflib support?

sl1pkn07 wrote:

why this downgrade

Because there's lotsa compilation fails caused by the giflib API changing.

Offline

#6 2013-05-29 19:17:31

vizipok
Member
Registered: 2011-03-26
Posts: 23

Re: How to compile mplayer with giflib support?

so with the newer i would have lesser chance to compile mplayer, probably...

Offline

#7 2013-06-02 12:33:38

vizipok
Member
Registered: 2011-03-26
Posts: 23

Re: How to compile mplayer with giflib support?

nobody has any idea? nobody uses mplayer with giflib on arch?

Offline

#8 2014-10-19 00:36:37

vizipok
Member
Registered: 2011-03-26
Posts: 23

Re: How to compile mplayer with giflib support?

It looks like the issue is resolved, now the official mplayer and mplayer2 packages are compiled with giflib support.

Thanks for the maintainers!

Offline

Board footer

Powered by FluxBB