Call for testers - mplayer svn port

Gary Jennejohn gary.jennejohn at
Fri Jan 8 11:00:24 UTC 2010

On Thu, 7 Jan 2010 22:52:51 +0100
Thomas Zander <thomas.e.zander at> wrote:

> NOTE that ONLY if you want to test it with x264 (only
> available for mencoder, mplayer uses ffmpeg's internal h264 decoder
> now.), you HAVE to apply the supplied x264 patch to
> ${PORTSDIR}/multimedia/x264.

First of all: 9-CURRENT with AMD64.

I applied this patch and get this error:
cc -shared -o common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/set.o common/quant.o common/vlc.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/visualize.o common/display-x11.o  -Wl,-soname, -fstack-protector -L/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lm -pthread -lgpac -Wl,-Bsymbolic -s
cc -o x264 x264.o input/yuv.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o input/thread.o output/mp4.o libx264.a -fstack-protector -L/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lm -pthread -lgpac -Wl,-Bsymbolic -s
libx264.a(analyse.o)(.text+0xa41c): In function `x264_analyse_init_costs':
: undefined reference to `log2f'
libx264.a(analyse.o)(.text+0xa488): In function `x264_analyse_init_costs':
: undefined reference to `log2f'
libx264.a(analyse.o)(.text+0xa4ee): In function `x264_analyse_init_costs':
: undefined reference to `log2f'
gmake: *** [x264] Error 1

I can't find log2f in any manpage.

Also from BUGS section of math(3)
     The log2() function is missing, and many functions are not available in
     their long double variants.

There's a log2() macro defined in tgmath.h, but no log2f().

Gary Jennejohn

More information about the freebsd-ports mailing list