[sane-devel] backends 1.0.12 compile-error
Tue, 03 Jun 2003 18:11:32 +0200
Gerfried Maier <firstname.lastname@example.org> 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
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.
Julien BLACHE <http://www.jblache.org>