[MPlayer-dev-eng] [patch] just a little patch for solve compilation problem on FreeBSD

Diego Biurrun diego at biurrun.de
Sun Nov 12 05:28:35 CET 2006


On Fri, Nov 10, 2006 at 02:14:15AM +0300, yopt wrote:
> 
> I download MPlayer from svn (revision 20823) and compiled under FreeBSD
> 6.0-Release. And I got some problems, I could not compile
> libavcodec/imc.c with this error:
> 
> libavcodec/libavcodec.a(imc.o)(.text+0x133): In function
> `imc_decode_init': : undefined reference to `log2'
> libavcodec/libavcodec.a(imc.o)(.text+0x67d): In function
> `imc_decode_frame': : undefined reference to `log2'
> libavcodec/libavcodec.a(imc.o)(.text+0xb91): In function
> `imc_decode_frame': : undefined reference to `log2'
> 
> because I have not function with a name "log2" in my <math.h>.
> 
> I offer a little patch in attachment to solve this problem.

This patch is untested, it breaks playback.  Rejected.

In any case a solution is being worked on right now.

Diego



More information about the MPlayer-dev-eng mailing list