From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14389 invoked from network); 2 Mar 2004 10:53:18 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 2 Mar 2004 10:53:18 -0000 Received: (qmail 16082 invoked by alias); 2 Mar 2004 10:52:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19520 Received: (qmail 19842 invoked from network); 2 Mar 2004 10:36:54 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 2 Mar 2004 10:36:54 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [82.69.48.121] by sunsite.dk (MessageWall 1.0.8) with SMTP; 2 Mar 2004 10:36:54 -0000 Received: by umarumohammed.org (Postfix, from userid 1000) id C8C5915AEFB; Tue, 2 Mar 2004 10:37:57 +0000 (GMT) Date: Tue, 2 Mar 2004 10:37:57 +0000 From: Ibraheem Umaru-Mohammed To: Zsh hackers list Subject: Re: 4.2.0-pre-1 Message-ID: <20040302103757.GA2667@rabox> References: <20040227165910.GD31494@rabox> <18505.1078138363@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18505.1078138363@csr.com> X-OS: Gentoo Base System version 1.4.3.13p1 - Linux 2.6.3-rc2-gentoo User-Agent: Mutt/1.5.6i 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@sunsite.dk, 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