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

Compilation Error



Hello

	I am trying to compile zsh-3.0.5 on HPUX (9.07 and 10.20)
using all the gnu utilities and i get the following compilation
error. Could you please help me.

	Thanks in advance

niraj
======================================================================
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit
-Wmissing-prototypes -O2 builtin.c
builtin.c: In function `bin_fg':
builtin.c:556: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c: In function `bin_fc':
builtin.c:2591: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c: In function `bin_typeset':
builtin.c:2813: warning: subscript has type `char'
builtin.c:2815: warning: subscript has type `char'
rlimits.h: At top level:
In file included from builtin.c:3634:
rlimits.h:7: parse error before character 034
builtin.c: In function `bin_limit':
builtin.c:3696: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c: In function `bin_unlimit':
builtin.c:3778: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c:3813: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c: In function `bin_ulimit':
builtin.c:3923: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c: In function `zexit':
builtin.c:4635: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c: In function `bin_read':
builtin.c:5137: warning: suggest explicit braces to avoid ambiguous
`else'
builtin.c: In function `zread':
builtin.c:5200: warning: suggest explicit braces to avoid ambiguous
`else'
make[1]: *** [builtin.o] Error 1
make[1]: Leaving directory `/tmp/zsh-3.0.5/Src'
make: *** [Src] Error 2
======================================================================

                                \\\|///
                               \\ ~ ~ //
                               (/ @ @ /)
 ----------------------------oOOo-(_)-oOOo-------------------------------
| Niraj Sachdeva                           E-mail:                       |
| Research Scholar                         niraj@xxxxxxxxxxxxxxxxxx      |
| Department of Aerospace Engineering                                    |
| Indian Institute of Science                                            | 
| Bangalore 560 012                        Tel.(off) +91 (0) 80 309 2754 |
| INDIA                                    Tel.(res) +91 (0) 80 348 8666 |
|                                                                        |
|            WWW:  http://aero.iisc.ernet.in/~niraj/home.html            |
|        WWW:  http://asterix.aero.iisc.ernet.in/~niraj/home.html        |
 ------------------------------------------------------------------------




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