From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 625 invoked by alias); 15 Aug 2010 18:48:23 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15282 Received: (qmail 8535 invoked from network); 15 Aug 2010 18:48:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,RCVD_IN_PSBL autolearn=no version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at ntlworld.com designates 81.103.221.56 as permitted sender) Date: Sun, 15 Aug 2010 19:16:56 +0100 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: Installation compiling error in builtin.c, builtin.epro Message-ID: <20100815191656.795168fa@pws-pc> In-Reply-To: <474DE3DB-5F98-496F-8906-88399EC24238@aol.com> References: <474DE3DB-5F98-496F-8906-88399EC24238@aol.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=DhNl2YeytwJssBBGe49HJX82LNDFEEVkpVB34RXKaPo= c=1 sm=0 a=syvlgrTxwTUA:10 a=DogomfpGjd0A:10 a=kj9zAlcOel0A:10 a=3oc9M9_CAAAA:8 a=NLZqzBF-AAAA:8 a=IejAiMkk_ozmY94pf6oA:9 a=sKYVrJ-1aeJhyw_iCSg5xJ2GJG8A:4 a=CjuIK1q_8ugA:10 a=U8Ie8EnqySEA:10 a=_dQi-Dcv4p4A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 On Sun, 15 Aug 2010 21:55:40 +0530 Kanny wrote: > I am trying to install Zsh 4.3.10 on Mac OS X 10.5.8 PPC and getting > the following error when running "make": > > ======== > gcc -c -I. -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2 -o > builtin.o builtin.c > In file included from zsh.mdh:34, > from builtin.c:33: > builtin.epro:57:1: error: unterminated argument list invoking macro "_" The problem is occuring when using the macro: #ifdef PROTOTYPES # define _(Args) Args #else # define _(Args) () #endif (defined in system.h) which should convert things like extern int bin_umask _((char*nam,char**args,Options ops,UNUSED(int func))); into extern int bin_umask (char*nam,char**args,Options ops,UNUSED(int func)); However, the error doesn't give much clue as to why it's going wrong here. Are there obvious errors within builtin.epro (that might be caused by awk or sed going haywire)? You can mail it as an attachment if it's not obvious. If it is wrong builtin.syms might be the interesting one. Also check what "AWK = " is set to in the generated Makemod in the same (Src) directory. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/