acl_perm_t not declared error while compiling cygwin

David Lee mailtolky@gmail.com
Thu Jan 7 02:52:00 GMT 2016


Hi all,

while trying to compile cygwin from git master I got this error. Any
suggestions are appreciated.

------------------------------------------

c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall
-Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin
-fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -c -o
sec_acl.o /home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc

/home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc: In function ‘void
__aclcalcmask(aclent_t*, int)’:
/home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc:1301:3: error:
‘acl_perm_t’ was not declared in this scope
   acl_perm_t mask = 0;
   ^
/home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc:1310:2: error:
‘mask’ was not declared in this scope
  mask |= aclbufp[idx].a_perm;
  ^
/home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc:1313:32: error:
‘mask’ was not declared in this scope
     aclbufp[mask_idx].a_perm = mask;
                                ^
/home/dave/newlib-cygwin/winsup/cygwin/../Makefile.common:43: recipe
for target 'sec_acl.o' failed
make[3]: *** [sec_acl.o] Error 1
make[3]: Leaving directory '/home/dave/build/i686-pc-cygwin/winsup/cygwin'
Makefile:82: recipe for target 'cygwin' failed
make[2]: *** [cygwin] Error 1
make[2]: Leaving directory '/home/dave/build/i686-pc-cygwin/winsup'
Makefile:8381: recipe for target 'all-target-winsup' failed
make[1]: *** [all-target-winsup] Error 2
make[1]: Leaving directory '/home/dave/build'
Makefile:833: recipe for target 'all' failed
make: *** [all] Error 2
---------------------------------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list