[sane-devel] backends 1.0.12 compile-error
Gerfried Maier
moali@sbox.tugraz.at
Tue, 03 Jun 2003 14:56:02 +0200
Henning Meier-Geinitz wrote:
>Hi,
>
>On Tue, Jun 03, 2003 at 11:27:28AM +0200, Gerfried Maier wrote:
>
>
>> switch (remote_address.ss_family)
>> static struct sockaddr_storage remote_address;
>>
>>
>
>struct sockaddr_storage is defined in /usr/include/bits/socket.h:
>struct sockaddr_storage
> {
> __SOCKADDR_COMMON (ss_); /* Address family, etc. */
>
Ah. here it is:
__SOCKADDR_COMMON (__ss_); /* Address family, etc. */
^ ^
>[...]
>So remote_address.ss_family should be ok. I think I've seen that
>compilation error on Linux/arm and that's a glibc bug (I guess). What
>version of the C-library do you use? Hoq is struct sockaddr_storage
>defined?
>
This is glibc 2.1.3
Greetings,
Maier Gerfried