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

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Sun Aug 8 13:35:32 UTC 2010


> > > > 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?
> >
> > I fixed it manually by doing a oneline change in network.h.
> > I changed the ifdef:
> > #if !HAVE_STRUCT_SOCKADDR_STORAGE to #if 0
> > on the line in question (the one it errored on) and then I was able to
> > compile it.
> 
> That is not a solution, please send the output of the grep command. It
> will show why the test fails and thinks the system has no struct
> socketaddr_storage.
> 


I know, it was just a temporary fix so i could get it to compile.
Here is the output as requested:
# grep -A5 sockaddr_storage config.ep
    struct_sockaddr_storage
    sys_mman_h
    sys_resource_h
    sys_select_h
    sys_soundcard_h
    sys_videoio_h
--
check_type sys/types.h sys/socket.h struct sockaddr_storage
check_cc
BEGIN /tmp/mythtv_conf.7LHG3PJ1.c
    1
    2   #include <sys/types.h>
    3   #include <sys/socket.h>
    4   struct sockaddr_storage v;
END /tmp/mythtv_conf.7LHG3PJ1.c
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -std=c99 -pthread -fomit-frame-pointer -c -o
/tmp/mythtv_conf.bTx9nU1F.o /tmp/mythtv_conf.7LHG3PJ1.c
check_type sys/types.h sys/socket.h struct sockaddr sa_len
check_cc
BEGIN /tmp/mythtv_conf.7LHG3PJ1.c




More information about the mythtv-dev mailing list