[MPlayer-dev-eng] compilation issue with recent ffmpeg

sylvain.bertrand at gmail.com sylvain.bertrand at gmail.com
Mon Jan 8 16:07:17 EET 2018


Hi,

While compiling  today mplayer snapshot with a today git ffmpeg, I get:

--------------------------------------------------------------------------------
libavformat/os_support.c:49:12: error: static declaration of 'inet_aton' follows non-static declaration
 static int inet_aton(const char *str, struct in_addr *add)
            ^~~~~~~~~
In file included from libavformat/network.h:69:0,
                 from libavformat/os_support.c:44:
/include/arpa/inet.h:73:12: note: previous declaration of 'inet_aton' was here
 extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW;
            ^~~~~~~~~
libavformat/os_support.c:49:12: warning: 'inet_aton' defined but not used [-Wunused-function]
 static int inet_aton(const char *str, struct in_addr *add)
            ^~~~~~~~~
make[1]: *** [ffbuild/common.mak:60: libavformat/os_support.o] Error 1
--------------------------------------------------------------------------------

I got this error compiling a standalone ffmpeg, but it was fixed very recently
by ffmpeg devs.

regards,

-- 
Sylvain


More information about the MPlayer-dev-eng mailing list