[MPlayer-users] [compile errors] HAVE_STRUCT_SOCKADDR_STORAGE

Brian Paterni bpaterni at gmail.com
Thu Jan 14 03:02:23 CET 2010


I've been trying to compile svn mplayer for maybe three days now and I keep
getting these errors:

make -C libavformat
make[1]: Entering directory `/home/bpaterni/projects/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/directfb
-I/usr/include/   -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -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_SOCKADDR_STORAGE" is not defined
In file included from os_support.c:42:
network.h:72: error: redefinition of 'struct sockaddr_storage'
network.h:77:6: warning: "HAVE_STRUCT_ADDRINFO" is not defined
network.h:78: error: redefinition of 'struct addrinfo'
network.h:135:6: warning: "HAVE_GETADDRINFO" is not defined
os_support.c:63:6: warning: "HAVE_GETADDRINFO" is not defined
os_support.c:182:5: warning: "HAVE_GETADDRINFO" is not defined
make[1]: *** [os_support.o] Error 1
make[1]: Leaving directory `/home/bpaterni/projects/mplayer/libavformat'
make: *** [libavformat/libavformat.a] Error 2


Am I missing a package dependency or are other people getting this as well?


More information about the MPlayer-users mailing list