cvs current with SIGSEGV; how to track down
Jason Ornstein
jason.ornstein at sybase.com
Tue May 31 20:53:49 CEST 2005
* Alan DeKok <aland at ox.org> [2005-05-27 19:35:52 -0400]:
> Weird. Try printing stuff in the update function in listen.c
>
> Or, 'cvs update;make clean;make'. That might help.
I just did a fresh checkout and I had to rearrange the #includes in
listen.c to get it to compile. I had to move
#ifdef HAVE_NET_IF_H
#include <net/if.h>
#endif
from above this section to below it
#include <sys/resource.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
(moved from line 37 to line 43)
If I didn't do that, I get these errors:
In file included from listen.c:38:
/usr/include/net/if.h:232: error: field `ifa_addr' has incomplete type
/usr/include/net/if.h:234: error: field `ifu_broadaddr' has incomplete type
/usr/include/net/if.h:235: error: field `ifu_dstaddr' has incomplete type
/usr/include/net/if.h:267: error: field `lnr_addr' has incomplete type
/usr/include/net/if.h:342: error: field `lifru_addr' has incomplete type
/usr/include/net/if.h:343: error: field `lifru_dstaddr' has incomplete type
/usr/include/net/if.h:344: error: field `lifru_broadaddr' has incomplete type
/usr/include/net/if.h:345: error: field `lifru_token' has incomplete type
/usr/include/net/if.h:346: error: field `lifru_subnet' has incomplete type
/usr/include/net/if.h:385: error: field `sa_addr' has incomplete type
/usr/include/net/if.h:395: error: field `slr_src' has incomplete type
/usr/include/net/if.h:396: error: field `slr_grp' has incomplete type
/usr/include/net/if.h:415: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:416: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:418: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:639: error: field `ifta_saddr' has incomplete type
/usr/include/net/if.h:640: error: field `ifta_daddr' has incomplete type
-jason
More information about the Freeradius-Devel
mailing list