[FFmpeg-devel] libavutil/error.c patch to include string.h
djallen at librehumanitas.org
Sun Sep 1 03:45:35 CEST 2013
On 08/31/2013 07:24 PM, Paul B Mahol wrote:
> On 8/31/13, Dominick Allen <djallen at librehumanitas.org> wrote:
>> When building against musl instead of glibc, compilation fails at
>> CC libavutil/error.o
>> libavutil/error.c: In function 'av_strerror':
>> libavutil/error.c:68:9: error: implicit declaration of function
>> 'strerror_r' [-Werror=implicit-function-declaration]
>> cc1: some warnings being treated as errors
>> make: *** [libavutil/error.o] Error 1
>> make: *** Waiting for unfinished jobs....
>> Attached the patch.
> <string.h> is already included by "common.h"
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
Ah, I attempted it again, it turned out that adding bsd source to my
cflags let it build successfully without that patch.
More information about the ffmpeg-devel