[BRLTTY] FW: brltty bui.d error

Samuel Thibault samuel.thibault at ens-lyon.org
Mon Mar 24 16:52:41 EDT 2008


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


More information about the BRLTTY mailing list