[GRASS5] CRAY T3E compile errors

Markus Neteler neteler at geog.uni-hannover.de
Tue Sep 19 11:56:59 EDT 2000


Hi all,

currently I have access to a CRAY T3E in our university computer 
center and try to compile the GRASS (what surprise).
I have to use a CC compiler:
cc(1) and c89(1).  These commands invoke the Cray Standard C
       compiler and the source preprocessor on source files that contain C
       code.  The compiler conforms to the International Standards
       Organization (ISO) ISO/IEC 9899:1990 and to the American National
       Standards Institute (ANSI) X3.159-1989 standards.  The c89 command
       conforms to the POSIX standard, IEEE Std P1003.2.

Unfortunately I run into some troubles where I am rather
helpless:

/home/t3e/fsn/nhdc/nhdcmark/grass5/src/libes/digitizer
sh-48 /home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5[7]:
OBJ.alpha-cray-unicosmk2.0.4.X/make.rules: file already exists.
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

cmd-2415 make: line '158': 'syntax error'. Stop.
Make: "/home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5 digitizer": Error code 1
-> I can't see any problems in libes/digitizer/OBJ*/make.rules
   But somehow it is different to other make.rules files?!

---------------------------------------------------

/home/t3e/fsn/nhdc/nhdcmark/grass5/src/libes/gis
sh-48 /home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5[7]:
OBJ.alpha-cray-unicosmk2.0.4.X/make.rules: file already exists.
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 
        cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c fork.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/fork.o
CC-140 cc: ERROR File = fork.c, Line = 32
  Too many arguments in function call.

        setpgrp (0, getpid());
                 ^
1 error detected in the compilation of "fork.c".
Make: "cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c fork.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/fork.o": Error code 1
cmd-2436 make: Stop.
Make: "/home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5 gis": Error code 1
-> mhhh, no idea here

---------------------------------------------------

/home/t3e/fsn/nhdc/nhdcmark/grass5/src/libes/proj
sh-48 /home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5[7]:
OBJ.alpha-cray-unicosmk2.0.4.X/make.rules: file already exists.
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        rm -f OBJ.alpha-cray-unicosmk2.0.4.X/bch2bps.o
        cc -g  -I. -I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c
bch2bps.c
CC-167 cc: ERROR File = bch2bps.c, Line = 141
  Argument of type "UV **" is incompatible with parameter of type "void **".

        freev2(d, nu);
               ^
1 error detected in the compilation of "bch2bps.c".
Make: "cc -g  -I. -I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c
bch2bps.c": Error code 1
Make: "/home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5 proj": Error code 1
-> mhhh, no idea here

---------------------------------------------------
/home/t3e/fsn/nhdc/nhdcmark/grass5/src/libes/segment
sh-48 /home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5[7]:
OBJ.alpha-cray-unicosmk2.
0.4.X/make.rules: file already exists.
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        rm -f OBJ.alpha-cray-unicosmk2.0.4.X/address.o
        cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c
address.c
CC-20 cc: ERROR File =
/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include/segment.h,
 Line = 39
  The identifier "off_t" is undefined.

      SEEK_OFFSET offset;       /* offset of data past header */
      ^
CC-20 cc: ERROR File =
/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include/segment.h,
 Line = 43
  The identifier "off_t" is undefined.

  SEEK_OFFSET lseek();
  ^
2 errors detected in the compilation of "address.c".
Make: "cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c
address.c": 
Error code 1
Make: "/home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5 segment": Error code 1
-> probably a problem with includes/config.h ?

---------------------------------------------------

/home/t3e/fsn/nhdc/nhdcmark/grass5/src/libes/vect32/georef
sh-48 /home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5[7]:
OBJ.alpha-cray-unicosmk2.0.4.X/make.rules: file already exists.
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        rm -f OBJ.alpha-cray-unicosmk2.0.4.X/curses.o
        cc -g   -I../digitizers -I../libes
-I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c curses.c
CC-147 cc: ERROR File = georef.h, Line = 27
  Declaration is incompatible with "int suspend(int, int)" (declared at line
359
          of "/usr/include/unistd.h").

  int suspend(void);
      ^
1 error detected in the compilation of "curses.c".
Make: "cc -g   -I../digitizers -I../libes
-I/home/t3e/fsn/nhdc/nhdcmark/grass5/src/include  -c curses.c": Error code 1
Make: "/home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5 georef": Error code 1

---------------------------------------------------
The other src/libes/ compiled so far.
I would be glad to receive assistance on above errors...

Yours

 Markus

-- 
Dipl.-Geogr. Markus Neteler *  University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494  Fax: -3984

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list