[FFmpeg-trac] #4263(avutil:new): libavutil compile error

FFmpeg trac at avcodec.org
Mon May 4 16:57:51 CEST 2015


#4263: libavutil compile error
-------------------------------------+----------------------------------
             Reporter:  jonshouse    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avutil
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------

Comment (by jonshouse):

 I am trying again with newer ffmpeg. Still the same

 CC      libavutil/error.o
 libavutil/error.c: In function ‘av_strerror’:
 libavutil/error.c:83:15: error: wrong type argument to unary minus
 make: *** [libavutil/error.o] Error 1

 Modifying libavutil/error.c to read :

 #undef _GNU_SOURCE
 #define _XOPEN_SOURCE 600 /* XSI-compliant version of strerror_r */
 #define _POSIX_C_SOURCE 200112
 #include "avutil.h"

 Does not fix it.

 Any ideas ?

 Thanks

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4263#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list