Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 12:00:09 +0100
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        Thomas Zander <thomas.e.zander@googlemail.com>
Cc:        FreeBSD - Ports <freebsd-ports@freebsd.org>, Martin Wilke <miwi@freebsd.org>
Subject:   Re: Call for testers - mplayer svn port
Message-ID:  <20100108120009.1603495d@ernst.jennejohn.org>
In-Reply-To: <786602c61001071352k4bde5e98xa6875253cb84a90f@mail.gmail.com>
References:  <786602c61001071352k4bde5e98xa6875253cb84a90f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Jan 2010 22:52:51 +0100
Thomas Zander <thomas.e.zander@googlemail.com> 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 libx264.so.79 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,libx264.so.79 -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100108120009.1603495d>