[MPlayer-users] mplayer refuses to compile after libavformat r21145

Giorgio mywing81 at gmail.com
Mon Jan 11 23:41:32 CET 2010


Hello,

I compile mplayer from svn very often and usually it all goes well.
But today I noticed mplayer refused to compile. I did some regression
testing, and found out that after r21145 of libavformat it gives the
following error on my system (r21144 works fine):

holden at rye:~/xiph/mplayer$ svn up -r21145 libavformat
U    libavformat/network.h
U    libavformat/os_support.c
Aggiornato alla revisione 21145.

holden at rye:~/xiph/mplayer$ make
make -C libavformat
make[1]: Entering directory `/home/holden/xiph/mplayer/libavformat'
cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall
-Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native
-mtune=native -pipe -ffast-math -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-Ilibdvdread4 -I.  -D_REENTRANT -I/usr/include/
-I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -D_REENTRANT    -I/usr/include/freetype2
    -c -o os_support.o os_support.c
In file included from os_support.c:42:
network.h:71:6: warning: "HAVE_STRUCT_ADDRINFO" is not defined
In file included from os_support.c:42:
network.h:72: error: redefinition of 'struct addrinfo'
network.h:101:6: warning: "HAVE_GETADDRINFO" is not defined
os_support.c:63:6: warning: "HAVE_GETADDRINFO" is not defined
os_support.c:138:5: warning: "HAVE_GETADDRINFO" is not defined
make[1]: *** [os_support.o] Error 1
make[1]: Leaving directory `/home/holden/xiph/mplayer/libavformat'
make: *** [libavformat/libavformat.a] Error 2

This is the link from ffmpeg-cvslog ML:
http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2010-January/026503.html

Has anyone noticed the same problem? Thanks.

Giorgio Vazzana


More information about the MPlayer-users mailing list