Erik Inge Bolsø wrote: >On Tue, 3 Jun 2003, Gerfried Maier wrote: > > >>Erik Inge Bolsø wrote: >> >> >> >>>Can you check in your config.h post-configure if "SANED_USES_AF_INDEP" is >>>defined or undefined? >>> >>> >>[...] >> >>so finally, SANED_USES_AF_INDEP should be defined. >> >> > >Okay. > >Ah. I think I found it. > >http://www.landfield.com/wu-ftpd/mail-archive/wuftpd-dev/2001/Aug/0001.html > > > >>| ftpd.c:1093: structure has no member named `ss_family' >> >>This message is because the Linux sockaddr_storage struct member is >>called __ss_family not ss_family, if using configure add "#define >>HAVE__SS_FAMILY" to the generated src/config.h (before the Socket >>macros), then run make. >>You could also try using build, edit config.h.noac, change "#undef INET6" >>to "#define INET6" followed by ./build lnx should work. >> >> > >... anyone feel like adding a configure check and a patch for this? >Probably a certain libc or a certain distro has this problem. > That's it! Replaced all occurences of ss_family in frontend/saned.c with __ss_family - and it compiles!
Erik, Thank you for your help! Gerfried Maier
