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

yopt prayer at list.ru
Fri Nov 10 00:12:26 CET 2006


Hello.

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.

But, maybe, only at me such problem?

And still time excuse, if I have disturbed you without the reason.

P.S. Sorry for my english...
Good-bye
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log2.patch
Type: application/octet-stream
Size: 917 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20061110/536301c2/attachment.obj>


More information about the MPlayer-users mailing list