[sane-devel] backends 1.0.12 compile-error
    Julien BLACHE 
    jb at jblache.org
       
    Tue Jun  3 17:11:32 BST 2003
    
    
  
Gerfried Maier <moali at sbox.tugraz.at> 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> 
<jb at jblache.org> 
    
    
More information about the sane-devel
mailing list