Gerfried Maier <[email protected]> wrote:

>>If you do not need IPv6 support, configure sane-backends with
>>--disable-ipv6 and it'll build fine.
>
> Unfortunately not. Same error.

Oh, yes, sorry. My bad.

Well, has Henning said, this is a bug in certain versions of the libc,
as the relevant RFCs document a ss_family member in struct sockaddr
storage.

Comment the definition of SANE_USES_AF_INDEP in saned.c, and it'll
fall back to the IPv4-only code, which do not use this particular
structure. You may need to do the same in backend/net.c.

I'll look into adding a check to configure.

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<[email protected]> 

Reply via email to