[MPlayer-users] Compile of version 35007 of mplayer fails due to ffmpeg error

The Wanderer wanderer at fastmail.fm
Thu Jun 28 16:39:21 CEST 2012


On 06/28/2012 10:14 AM, Raena Lea-Shannon wrote:

> PS make ends here:
> 
> cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
> -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes 
> -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
> -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native 
> -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
> -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT  -I/usr/include/freetype2 -c -o 
> libmpcodecs/vf_fspp.o libmpcodecs/vf_fspp.c
> In file included from ffmpeg/libavutil/internal.h:182:0,
>                   from libmpcodecs/vf_fspp.c:51:
> ffmpeg/libavutil/libm.h:53:6: warning: "HAVE_ISINF" is not defined [-Wundef]
> ffmpeg/libavutil/libm.h:54:38: error: expected identifier or '(' before 
> 'sizeof'
> ffmpeg/libavutil/libm.h:63:6: warning: "HAVE_ISNAN" is not defined [-Wundef]
> ffmpeg/libavutil/libm.h:64:38: error: expected identifier or '(' before 
> 'sizeof'
> make: *** [libmpcodecs/vf_fspp.o] Error 1
> 
> 
> 
> Hi I am having the same problem as stan
> Running 3.2.0-25-generic Ubuntu Pangolin
> My config.log attached

I don't see any attachment.

Regardless, I posted about this earlier (CC'ed to the dev list), but it doesn't
seem to have arrived on this side as far as I can see.

This is due to a robustness change on the FFmpeg side. The attached patch
(slightly revised from the version I sent to the dev list, but with the same net
effect) fixes it for me.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Every time you let somebody set a limit they start moving it.
   - LiveJournal user antonia_tiger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixbuild-isnan-isinf.diff
Type: text/x-diff
Size: 622 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20120628/75858f9d/attachment.bin>


More information about the MPlayer-users mailing list