In attempting to install multimedia/mplayer from ports,
I get a build error like this:
I've tried
Currently, mplayer in the ports collection is
and I am running
Thanks all and if you're a dad (I am not) in the US, Happy Fathers Day.
$ cd /usr/ports/multimedia/mplayer
$ sudo make install clean
I get a build error like this:
Code:
libmpdemux/demux_gif.o: In function `demux_open_gif':
demux_gif.c:(.text+0x253): undefined reference to `GifErrorString'
demux_gif.c:(.text+0x281): undefined reference to `GifError'
libmpdemux/demux_gif.o: In function `demux_close_gif':
demux_gif.c:(.text+0x3e2): undefined reference to `GifErrorString'
demux_gif.c:(.text+0x411): undefined reference to `GifError'
libmpdemux/demux_gif.o: In function `demux_gif_fill_buffer':
demux_gif.c:(.text+0xaf1): undefined reference to `GifErrorString'
demux_gif.c:(.text+0xb67): undefined reference to `GifErrorString'
demux_gif.c:(.text+0xb76): undefined reference to `GifError'
demux_gif.c:(.text+0xd26): undefined reference to `GifErrorString'
demux_gif.c:(.text+0xda2): undefined reference to `GifError'
collect2: ld returned 1 exit status
gmake: *** [mplayer] Error 1
*** Error code 1
Stop in /usr/ports/multimedia/mplayer.
*** Error code 1
Stop in /usr/ports/multimedia/mplayer.
I've tried
$ sudo make clean
followed again by $ sudo make install clean
and the error persists. It also appears that the patches are being applied to demux_gif.c: [CMD="[root@themach5 /usr/ports/multimedia/mplayer/work/mplayer-export-2012-03-22/libmpdemux]#"]ls -ld demux_gif*[/CMD]
Code:
-rw-r--r-- 1 root wheel 9801 Jun 17 07:31 demux_gif.c
-rw-r--r-- 1 root wheel 9535 Dec 12 2010 demux_gif.c.orig
Currently, mplayer in the ports collection is
Code:
mplayer-1.0.r20120322_2
Code:
FreeBSD themach5 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012
root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Thanks all and if you're a dad (I am not) in the US, Happy Fathers Day.