zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-users@zsh.org
Subject: Re: Installation compiling error in builtin.c, builtin.epro
Date: Sun, 15 Aug 2010 19:16:56 +0100	[thread overview]
Message-ID: <20100815191656.795168fa@pws-pc> (raw)
In-Reply-To: <474DE3DB-5F98-496F-8906-88399EC24238@aol.com>

On Sun, 15 Aug 2010 21:55:40 +0530
Kanny <kanny96@aol.com> 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@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


  reply	other threads:[~2010-08-15 18:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15 16:25 Kanny
2010-08-15 18:16 ` Peter Stephenson [this message]
2010-08-15 19:18   ` Kanny
2010-08-17 21:01     ` Kanny

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=20100815191656.795168fa@pws-pc \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-users@zsh.org \
    /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).