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

Janne Grunau janne-mythtv at grunau.be
Sun Aug 8 08:30:11 UTC 2010


On Wed, Aug 04, 2010 at 03:09:27PM +0200, Torbjörn Jansson wrote:
> 
> 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?

no, it is checked for in configure.

grep -A5 sockaddr_storage config.ep

should give some hints. Which distribution is this?

Janne


More information about the mythtv-dev mailing list