[FFmpeg-devel] [PATCH] OS/2:Support linking against libcx

Michael Niedermayer michael at niedermayer.cc
Thu Jun 11 00:09:40 EEST 2020


On Tue, Jun 09, 2020 at 11:11:48PM -0700, Dave Yeo wrote:
> Hi, could I get this pushed to trunk and the 4.3 branch? Fixes a build break
> in libavformat/ip.c (implicit declaration of function 'getaddrinfo') and
> also need the prototype.
> Thanks,
> Dave

it seems this breaks build on linux

CC	libavformat/avio.o
In file included from libavformat/avio.c:31:0:
libavformat/network.h:137:8: error: redefinition of ‘struct addrinfo’
 struct addrinfo {
        ^~~~~~~~
In file included from libavformat/network.h:66:0,
                 from libavformat/avio.c:31:
/usr/include/netdb.h:565:8: note: originally defined here
 struct addrinfo
        ^~~~~~~~
ffbuild/common.mak:59: recipe for target 'libavformat/avio.o' failed
make: *** [libavformat/avio.o] Error 1


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"I am not trying to be anyone's saviour, I'm trying to think about the
 future and not be sad" - Elon Musk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200610/1e3d28e4/attachment.sig>


More information about the ffmpeg-devel mailing list