Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.2.0-pre-1
- X-seq: zsh-workers 19520
- From: Ibraheem Umaru-Mohammed <umarumohammed@xxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: 4.2.0-pre-1
- Date: Tue, 2 Mar 2004 10:37:57 +0000
- In-reply-to: <18505.1078138363@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040227165910.GD31494@rabox> <18505.1078138363@xxxxxxx>
On [01/03/04 10:52 +0000], Peter Stephenson wrote:
> Ibraheem Umaru-Mohammed wrote:
> > I have been unable to build zsh-4.2.0-pre-1, (or zsh-4.1.1) on AIX 5.2. Any
> > help will be greatly appreciated. I have included the config.log, and the
> > last few lines before failure - should you require any more details let me
> > know.
> >...
> > /usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o init.o ini
> > t.c
> > "sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the en
> > d of line.
> > "signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the
> > end of line.
> > "init.c", line 493.5: 1506-275 (S) Unexpected text 'int' encountered.
> > make: The error code from the last command is 1.
>
> Thanks for reporting this, although please send messages to
> zsh-workers@xxxxxxxxxx, not to me personally.
[...]
My apologies - I guess one can still get shy behind the mask of an email.
> The code you must be executing looks uncompilable in standard C... not
> surprising it didn't work. Please do let us know about any more
> failures, we only have a limited user base for AIX.
>
This makes sense, because of all the platforms I have access to at work
(Linux, Solaris, HPUX, and AIX), AIX 5.x is the only platform that zsh has
failed to successfully compile under.
> pws
>
> Index: Src/init.c
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/init.c,v
> retrieving revision 1.39
> diff -u -r1.39 init.c
> --- Src/init.c 15 Dec 2003 22:45:29 -0000 1.39
> +++ Src/init.c 1 Mar 2004 10:37:40 -0000
> @@ -481,6 +481,9 @@
> init_shout(void)
> {
> static char shoutbuf[BUFSIZ];
> +#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
> + int ldisc;
> +#endif
>
> if (SHTTY == -1)
> {
> @@ -490,8 +493,7 @@
> }
>
> #if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
> - int ldisc = NTTYDISC;
> -
> + ldisc = NTTYDISC;
> ioctl(SHTTY, TIOCSETD, (char *)&ldisc);
> #endif
>
[...]
Seem to have gotten further, but still falls over:
[--- build zsh on AIX 5.2 ---]
** NONE **:44% make
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
Updated `zsh.mdh'.
Updated `termcap.mdh'.
Updated `terminfo.mdh'.
Updated `cap.mdh'.
Updated `clone.mdh'.
Updated `datetime.mdh'.
Updated `example.mdh'.
Updated `files.mdh'.
Updated `langinfo.mdh'.
Updated `mapfile.mdh'.
Updated `mathfunc.mdh'.
Updated `parameter.mdh'.
Updated `pcre.mdh'.
Updated `socket.mdh'.
Updated `stat.mdh'.
Updated `system.mdh'.
Updated `tcp.mdh'.
Updated `zftp.mdh'.
Updated `zprof.mdh'.
Updated `zpty.mdh'.
Updated `zselect.mdh'.
Updated `zle.mdh'.
Updated `complete.mdh'.
Updated `zutil.mdh'.
Updated `rlimits.mdh'.
Updated `sched.mdh'.
Updated `compctl.mdh'.
Updated `complist.mdh'.
Updated `computil.mdh'.
Updated `deltochar.mdh'.
Updated `zleparameter.mdh'.
rm -f stamp-modobjs.tmp
Updated `zsh.mdh'.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o builtin.o builtin.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o compat.o compat.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o cond.o cond.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o exec.o exec.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o glob.o glob.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o hashtable.o hashtable.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
"/usr/include/rpcsvc/ypclnt.h", line 99.31: 1506-310 (I) The type "struct dom_binding" was introduced in a parameter list, and will go out of scope at the end of the function declaration or definition.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o hist.o hist.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
`zshpaths.h' is up to date.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o init.o init.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
1265 1500-010: (W) WARNING in zsh_main: Infinite loop. Program may not stop.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o input.o input.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
/usr/vac/bin/cc -qlanglvl=ansi -c -I. -DHAVE_CONFIG_H -O -o jobs.o jobs.c
"sigcount.h", line 2.74: 1506-186 (W) String literal must be ended before the end of line.
"signames.epro", line 5.74: 1506-186 (W) String literal must be ended before the end of line.
"jobs.c", line 686.43: 1506-276 (S) Syntax error: possible missing ')'?
"jobs.c", line 697.46: 1506-068 (S) Operation between types "char*" and "int" is not allowed.
"jobs.c", line 698.21: 1506-277 (S) Syntax error: possible missing ')' or ','?
"jobs.c", line 698.27: 1506-275 (S) Unexpected text ')' encountered.
"jobs.c", line 769.77: 1506-276 (S) Syntax error: possible missing ')'?
"jobs.c", line 773.88: 1506-277 (S) Syntax error: possible missing ')' or ','?
"jobs.c", line 775.77: 1506-277 (S) Syntax error: possible missing ')' or ','?
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 1.
Stop.
[--- build zsh on AIX 5.2 ---]
Cheers,
--ibraheem
Messages sorted by:
Reverse Date,
Date,
Thread,
Author