Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Installation compiling error in builtin.c, builtin.epro
- X-seq: zsh-users 15282
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Installation compiling error in builtin.c, builtin.epro
- Date: Sun, 15 Aug 2010 19:16:56 +0100
- In-reply-to: <474DE3DB-5F98-496F-8906-88399EC24238@xxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <474DE3DB-5F98-496F-8906-88399EC24238@xxxxxxx>
On Sun, 15 Aug 2010 21:55:40 +0530
Kanny <kanny96@xxxxxxx> 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 <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author