From: "g.fischer@ah-online.com" <g.fischer@ah-online.com>
To: Wayne Davison <wayned@users.sourceforge.net>
Cc: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: zsh 4.3.2 bug
Date: Wed, 15 Mar 2006 04:07:39 +0100 [thread overview]
Message-ID: <441784FB.6070109@ah-online.com> (raw)
In-Reply-To: <20060314235629.GA25908@dot.blorf.net>
[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]
Wayne Davison wrote:
> On Wed, Mar 15, 2006 at 12:37:49AM +0100, goetz fischer wrote:
>
>> okay so i'll give 4.3.1 a try.
>>
>
> I doubt that will make a difference.
according to the first answer i got somebody made an almost 4.3.2
version compile so i thought 4.3.1 might be a good bet.
> What you need to figure out is why
> the building of the signames.c file failed. The make rules are this
> (taken from Makemod.in):
>
> signames.c: signames1.awk signames2.awk ../config.h @SIGNAL_H@
> $(AWK) -f $(sdir)/signames1.awk @SIGNAL_H@ >sigtmp.c
> $(CPP) sigtmp.c >sigtmp.out
> $(AWK) -f $(sdir)/signames2.awk sigtmp.out > $@
> rm -f sigtmp.c sigtmp.out
>
> sigcount.h: signames.c
> grep 'define.*SIGCOUNT' signames.c > $@
>
> My generated Makemod file has "/usr/include/bits/signum.h" in place of
> the @SIGNAL_H@ value. Those awk and cpp commands should generate a file
> named signames.c that should have a define for SIGCOUNT in it, e.g.:
>
> #define SIGCOUNT 31
>
> It should also define an array named sigs[], e.g.:
>
> char *sigs[SIGCOUNT+4] = {
> "EXIT",
> "HUP",
> "INT",
> [...]
>
> Perhaps your awk didn't work right? Or perhaps the SIGNAL_H file wasn't
> chosen correctly?
>
> Once the signames.c file gets built right, then the sigcount.h file
> should end up with two lines in it. Mine is this:
>
> #define SIGCOUNT 31
> #define sigmsg(sig) ((sig) <= SIGCOUNT ? sig_msg[sig] : "unknown signal")
>
> At that point, the build errors you cited should go away.
>
okay, thanks so far.
i'll try to find the respective header.
> ..wayne..
>
--
ah-consulting.net
Götz Fischer
Senior Consultant
Phone: +49(0)7225/98 98 79
Fax: +49(0)7225/28 64
eMail: g.fischer@ah-consulting.net
http://www.ah-consulting.net
http://www.ah-webhosting.com
[-- Attachment #2: Type: text/html, Size: 2702 bytes --]
next prev parent reply other threads:[~2006-03-15 3:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-12 0:52 g.fischer
2006-03-13 10:42 ` Peter Stephenson
2006-03-14 23:37 ` goetz fischer
2006-03-14 23:56 ` Wayne Davison
2006-03-15 3:07 ` g.fischer [this message]
2006-03-17 10:08 François-Xavier Coudert
2006-03-17 17:18 ` goetz fischer
2006-03-17 17:45 ` François-Xavier Coudert
2006-03-17 18:46 ` Wayne Davison
2006-03-17 23:09 ` FX Coudert
2006-03-17 23:02 ` goetz fischer
2006-03-19 5:09 ` g.fischer
2006-03-19 21:54 ` 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=441784FB.6070109@ah-online.com \
--to=g.fischer@ah-online.com \
--cc=wayned@users.sourceforge.net \
--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).