[FFmpeg-devel] libavutil/error.c patch to include string.h
Michael Niedermayer
michaelni at gmx.at
Sun Sep 1 04:45:19 CEST 2013
On Sat, Aug 31, 2013 at 09:45:35PM -0400, Dominick Allen wrote:
> 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
> >> libavutil/error.c
> >>
> >> 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
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> Ah, I attempted it again, it turned out that adding bsd source to my
> cflags let it build successfully without that patch.
configure should test for the need of bsd source and add it
automatically, ideally.
A patch for that would be welcome
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130901/e2a875b1/attachment.asc>
More information about the ffmpeg-devel
mailing list