[mythtv] 0.23-fixes compilation error in libs/libavformat

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Wed Aug 4 13:09:27 UTC 2010


Hello all.

I was going to recompile my 0.23-fixes frontend/backend install and ran into
some issues.
What I did was:
svn up
make distclean
configure --enable-libfaad
make

and that resulted in this error:

gcc -c -pipe -fomit-frame-pointer -O3 -std=c99 -g -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign
-Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -fno-math-errno
-fno-signed-zeros -fno-tree-vectorize -w -D_REENTRANT -DPIC -fPIC -DMMX
-Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H
-D_LARGEFILE_SOURCE -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/local
-I/usr/X11R6/include -I.. -I../.. -o os_support.o os_support.c
In file included from os_support.c:43:
network.h:72: error: redefinition of 'struct sockaddr_storage'
make[2]: *** [os_support.o] Error 1

any clues on what this is caused by and how to fix it?

Googled it and looks like some others have had similar problems but not sure
how to fix it myself since I'm not familiar with the code.



More information about the mythtv-dev mailing list