libXau-git breaks to compile
Sergei Trofimovich
slyich at gmail.com
Sat Jun 13 13:03:06 PDT 2009
[sf] ~:uname -m
x86_64
# git describe
libXau-1.0.4-4-gfc54a4f
xproto is latest too
Xos.h seems to lack <unistd.h>:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -pipe -MT AuGetAddr.lo -MD -MP -MF .deps/AuGetAddr.Tpo -c AuGetAddr.c -fPIC -DPIC -o .libs/AuGetAddr.o
AuGetAddr.c: In function 'XauGetAuthByAddr':
AuGetAddr.c:75: warning: implicit declaration of function 'access'
AuGetAddr.c:75: warning: nested extern declaration of 'access'
AuGetAddr.c:75: error: 'R_OK' undeclared (first use in this function)
AuGetAddr.c:75: error: (Each undeclared identifier is reported only once
AuGetAddr.c:75: error: for each function it appears in.)
--
Sergei
More information about the xorg-devel
mailing list