[sane-devel] backends 1.0.12 compile-error

Erik Inge Bolsų knan@mo.himolde.no
Tue, 3 Jun 2003 13:46:19 +0200 (CEST)

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.


Ah. I think I found it.


>| 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.

Erik I. Bolsų | email: <knan at mo.himolde.no>
The UNIX philosophy basically involves giving you enough rope to
hang yourself.  And then a couple of feet more, just to be sure.