This is the mail archive of the
cygwin
mailing list for the Cygwin project.
acl_perm_t not declared error while compiling cygwin
- From: David Lee <mailtolky at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 7 Jan 2016 10:52:48 +0800
- Subject: acl_perm_t not declared error while compiling cygwin
- Authentication-results: sourceware.org; auth=none
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