GRASS under IRIX5.3

try to rebuild GRASS under IRIX 5.3 but got the following errors:
/usr/grass/src/src/libes/gis
  make -f OBJ.sgi/make.rules

        rm -f OBJ.sgi/gets.o
        cc -O -DGETHOSTNAME_OK -I/usr/grass/src/src/include -DUSE_TERMIO -c get
s.c
cfe: Warning 709: gets.c, line 43: Incompatible pointer type assignment
                sigtstp = (int (*)()) signal (24 , catch_ctrlz);
                --------^
cfe: Error: gets.c, line 44: Unacceptable operand of == or !=
                if (sigtstp != (int (*)()) ((SIG_PF)0) )
                ------------^
cfe: Warning 740: gets.c, line 61: conflicting declarations for 'catch_ctrlz'
static void catch_ctrlz(n)
------------^
cfe: Warning 653: gets.c, line 61: (previous declaration of 'catch_ctrlz' at li
ne 35 in file 'gets.c')
static void catch_ctrlz(n)
------------^
cfe: Warning 740: gets.c, line 77: conflicting declarations for 'catch_int'
static void catch_int(n)
------------^
cfe: Warning 653: gets.c, line 77: (previous declaration of 'catch_int' at line
64 in file 'gets.c')
static void catch_int(n)
------------^
*** Error code 1 (bu21)

Appreciate any hint and help

zhuang@patriot.net

Xin Zhuang wrote:

try to rebuild GRASS under IRIX 5.3 but got the following errors:
/usr/grass/src/src/libes/gis
  make -f OBJ.sgi/make.rules
        rm -f OBJ.sgi/gets.o
        cc -O -DGETHOSTNAME_OK -I/usr/grass/src/src/include -DUSE_TERMIO -c g

ets.c

cfe: Warning 709: gets.c, line 43: Incompatible pointer type assignment
                sigtstp = (int (*)()) signal (24 , catch_ctrlz);

...

*** Error code 1 (bu21)

Appreciate any hint and help

When I built GRASS under irix 5.3, I found that I needed to specify the -cckr f
lag
to the compiler to make it behave like a Kernigan and Richie compiler. I don't
know
if this is your problem, but you don't seem to have that flag set in your heade
r
file.

--
David Wheatley
Department of Archaeology,
University of Southampton,
UK, SO17 1BJ

Xin Zhuang wrote:

try to rebuild GRASS under IRIX 5.3 but got the following errors:
/usr/grass/src/src/libes/gis

For the correct header to compile under IRIX5.2-5.3 I refer to
the notes left by BILL BROWN. Look at

http://taoren.rug.ac.be/members/bart/paper/paper.html
or in
detail
http://taoren.rug.ac.be/members/bart/paper/node69.html#SECTION00011400000000000
0000

                Bart
--
        ---------------------------------------------------
        | ir. Bart Cosyn |
        | VLIR-project Tunisia |
        | Laboratory for Hydrology and Water Management |
        | University of Gent |
        | Coupure 653, B-9000 Gent |
        | Belgium |
        | Tel: +/32/9/2646137 |
        | Fax: +/32/9/2646236 |
        | E-mail: Bart.Cosyn@rug.ac.be |
        | URL: http://taoren.rug.ac.be/ |
        ---------------------------------------------------