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

FFmpeg trac at avcodec.org
Thu Mar 12 20:16:07 CET 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 mastered):

 It seems you get gnu version of strerror_r

 Try to add to libavutil/error.c:
 #define _POSIX_C_SOURCE 200112

 So you get:
 #undef _GNU_SOURCE
 #define _POSIX_C_SOURCE 200112
 #define _XOPEN_SOURCE 600 /* XSI-compliant version of strerror_r */

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

More information about the FFmpeg-trac mailing list