zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: Ibraheem Umaru-Mohammed <umarumohammed@btinternet.com>,
	zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: 4.2.0-pre-2
Date: Thu, 04 Mar 2004 12:01:32 +0000	[thread overview]
Message-ID: <4376.1078401692@csr.com> (raw)
In-Reply-To: "Ibraheem Umaru-Mohammed"'s message of "Wed, 03 Mar 2004 19:15:40 GMT." <20040303191540.GA20717@rabox>

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@csr.com>                  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
**********************************************************************


       reply	other threads:[~2004-03-04 12:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040303191540.GA20717@rabox>
2004-03-04 12:01 ` Peter Stephenson [this message]
2004-03-04 13:12   ` 4.2.0-pre-2 Ibraheem Umaru-Mohammed
2004-03-04 13:59     ` 4.2.0-pre-2 Peter Stephenson
     [not found] <20040303193902.GF9561@blorf.net>
2004-03-04 10:44 ` 4.2.0-pre-2 Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4376.1078401692@csr.com \
    --to=pws@csr.com \
    --cc=umarumohammed@btinternet.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).