From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22225 invoked from network); 14 Mar 2006 23:56:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Mar 2006 23:56:40 -0000 Received: (qmail 25647 invoked from network); 14 Mar 2006 23:56:34 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Mar 2006 23:56:34 -0000 Received: (qmail 11051 invoked by alias); 14 Mar 2006 23:56:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22346 Received: (qmail 11041 invoked from network); 14 Mar 2006 23:56:30 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Mar 2006 23:56:30 -0000 Received: (qmail 25368 invoked from network); 14 Mar 2006 23:56:30 -0000 Received: from dsl3-63-249-88-2.cruzio.com (HELO dot.blorf.net) (63.249.88.2) by a.mx.sunsite.dk with SMTP; 14 Mar 2006 23:56:29 -0000 Received: by dot.blorf.net (Postfix, from userid 1000) id 1F85A9C4; Tue, 14 Mar 2006 15:56:29 -0800 (PST) Date: Tue, 14 Mar 2006 15:56:29 -0800 From: Wayne Davison To: goetz fischer Cc: Zsh hackers list Subject: Re: zsh 4.3.2 bug Message-ID: <20060314235629.GA25908@dot.blorf.net> References: <441370CD.5090208@ah-online.com> <20060313104235.599f10a1.pws@csr.com> <441753CD.4ACAF943@ah-online.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <441753CD.4ACAF943@ah-online.com> User-Agent: Mutt/1.5.11+cvs20060126 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. 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. ..wayne..