[sane-devel] backends 1.0.12 compile-error

Gerfried Maier moali@sbox.tugraz.at
Tue, 03 Jun 2003 13:28:51 +0200


Julien BLACHE wrote:

>Gerfried Maier <moali@sbox.tugraz.at> wrote:
>
>  
>
>>>>saned.c: In function `check_host':
>>>>saned.c:559: structure has no member named `ss_family'
>>>>saned.c:562: warning: unreachable code at beginning of switch statement
>>>>
>>>>        
>>>>
>>The affected lines from saned.c - unfortunately I'm not very used to
>>C-programming, so that I cannot read that much out of them:
>>    
>>
>
>If you do not need IPv6 support, configure sane-backends with
>--disable-ipv6 and it'll build fine.
>
Unfortunately not. Same error.

>I think the version of the libc could be the problem here.
>
# /lib/libc.so.6
GNU C Library stable release version 2.1.3, by Roland McGrath et al.
Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, 
Inc.
[...]

Regards,
Maier Gerfried