Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.2.0-pre-2



Ibraheem Umaru-Mohammed wrote:
> however, removing "cap" from config.modules, and running 'make prep' then

Yes, this is utils.c which is part of the core shell...

> 	/usr/vac/bin/cc -qlanglvl=ansi -c -I.  -DHAVE_CONFIG_H -O  -o utils.o u
> tils.c
> "utils.c", line 3896.15: 1506-277 (S) Syntax error: possible missing ';' or '
> ,'?
> "utils.c", line 3896.9: 1506-045 (S) Undeclared identifier cap_t.
> "utils.c", line 3897.12: 1506-045 (S) Undeclared identifier caps.
> "utils.c", line 3900.30: 1506-275 (S) Unexpected text val encountered.
> "utils.c", line 3900.13: 1506-045 (S) Undeclared identifier cap_flag_value_t.
> "utils.c", line 3901.25: 1506-275 (S) Unexpected text n encountered.
> "utils.c", line 3901.13: 1506-045 (S) Undeclared identifier cap_value_t.
> "utils.c", line 3902.17: 1506-045 (S) Undeclared identifier n.
> "utils.c", line 3902.63: 1506-045 (S) Undeclared identifier val.
> "utils.c", line 3902.47: 1506-045 (S) Undeclared identifier CAP_EFFECTIVE.
> make: The error code from the last command is 1.

HAVE_CAP_GET_PROC is defined, but the shell isn't including appropriate
headers, or has a completely different system for capabilities.

Could you please try:
1. Undefining HAVE_CAP_GET_PROC in config.h.

2. Grepping the system headers for cap_t or cap_get_proc.  Presumably
it's there somewhere.  In that case searching for the right header
during configuration should fix it.

Unless we can satisfactorily resolve 2. the only way forward will be
to introduce an --enable-cap flag.  I have no way of testing this
code at all.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author