Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.2.0-pre-1



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.

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.

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
 
-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited. 
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author