[BRLTTY] FW: brltty bui.d error
Donald Raikes
don.raikes at oracle.com
Mon Mar 24 18:02:48 EDT 2008
Samuel,
The ucred is defined in /usr/include/bits/socket.h on my system.
-----Original Message-----
From: brltty-bounces at mielke.cc [mailto:brltty-bounces at mielke.cc]On
Behalf Of Samuel Thibault
Sent: Monday, March 24, 2008 1:53 PM
To: Informal discussion between users and developers of BRLTTY.
Subject: Re: [BRLTTY] FW: brltty bui.d error
Donald Raikes, le Mon 24 Mar 2008 13:38:20 -0700, a écrit :
> ./auth.c: In function 'retrievePeerCredentials':
> ./auth.c:178: error: dereferencing pointer to incomplete type
> ./auth.c: In function 'checkPeerUser':
> ./auth.c:190: error: dereferencing pointer to incomplete type
> ./auth.c: In function 'checkPeerGroup':
> ./auth.c:195: error: dereferencing pointer to incomplete type
> ./auth.c: At top level:
> ./auth.c:266: error: field 'peerCredentials' has incomplete type
Herm, so SO_PEERCRED is defined, but we fail to get the definition of
struct ucred, which is quite odd since we correctly include
<sys/socket.h>.
Can you find struct ucred in <bits/socket.h>?
A workaround for now would be to add
#undef SO_PEERCRED
after all the #includes.
Dave, maybe we should add a check in ./configure
Samuel
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY at mielke.cc
For general information, go to: http://mielke.cc/mailman/listinfo/brltty
More information about the BRLTTY
mailing list