Comment 20 for bug 119982

Revision history for this message
Lerxst (stig-bull) wrote :

I'm unable to build the vnc4server source on Intrepid, following Patrick's procedure (the Hardy procedure should not be that different from Intrepid).
I get the following error:
ccess.c: In function 'LocalClientCredAndGroups':
access.c:1459: error: storage size of 'peercred' isn't known
access.c:1471: warning: implicit declaration of function '_XSERVTransIsLocal'
access.c:1471: warning: nested extern declaration of '_XSERVTransIsLocal'
access.c:1481: warning: implicit declaration of function '_XSERVTransGetConnectionNumber'
access.c:1481: warning: nested extern declaration of '_XSERVTransGetConnectionNumber'
access.c:1459: warning: unused variable 'peercred'
make[2]: *** [access.lo] Error 1
make[2]: Leaving directory `/home/stig/build/vnc4-4.1.1+xorg1.0.2/xorg-server-1.0.2/os'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stig/build/vnc4-4.1.1+xorg1.0.2/xorg-server-1.0.2'
make: *** [build-server-stamp] Error 2

I'm building with gcc 4.3, but I've tried with 4.2, 4.1 and 3.4 with the exact same error.

Can't Google anything with peercred related to vnc4server, so can somebody please help, or even better, point me to a .deb vnc4server file with the patch included? :-)

Lerxst