[GRASS5] CRAY T3E compile errors

Markus Neteler neteler at geog.uni-hannover.de
Fri Sep 22 11:54:23 EDT 2000


Hi all,

excuse me for writing so many mails...

As I am still not very experienced with fixing pointer problems,
I would like to ask for assistance with further CRAY compile
errors (the other errors from my previous mail are fixed):


Further CRAY T3E compile errors:

/home/t3e/fsn/nhdc/nhdcmark/grass/src/mapdev/v.cutter
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c build.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/build.o
CC-167 cc: ERROR File = build.c, Line = 313
  Argument of type "struct poly_vert_info **" is incompatible with parameter
of
          type "void **".

                swap_pointers (&Vert, &Vert2);
                               ^
CC-167 cc: ERROR File = build.c, Line = 313
  Argument of type "struct poly_vert_info **" is incompatible with parameter
of
          type "void **".

                swap_pointers (&Vert, &Vert2);
                                      ^
2 errors detected in the compilation of "build.c".
Make: "cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c build.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/build.o": Error code 1
cmd-2436 make: Stop.

-------------------------------------------------------
/home/t3e/fsn/nhdc/nhdcmark/grass/src/mapdev/v.in.shape
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c
dbutils.c -o OBJ.alpha-cray-unicosmk2.0.4.X/dbutils.o
CC-167 cc: ERROR File = dbutils.c, Line = 93
  Argument of type "pntDescript ***" is incompatible with parameter of type
          "void **".

    res = btree_find( hDB, keyHolder, &dataHolder );
                                      ^

1 error detected in the compilation of "dbutils.c".
Make: "cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c dbutils.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/dbutils.o": Error code 1
cmd-2436 make: Stop.

-------------------------------------------------------
/home/t3e/fsn/nhdc/nhdcmark/grass/src/mapdev/v.out.mif
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c plot.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/plot.o
CC-167 cc: ERROR File = plot.c, Line = 109
  Argument of type "struct Map_info **" is incompatible with parameter of
type
          "struct Map_info *".

            Vect_close (&Map);
                        ^
CC-167 cc: ERROR File = plot.c, Line = 139
  Argument of type "struct Map_info **" is incompatible with parameter of
type
          "struct Map_info *".

            Vect_close (&Map);
                        ^
2 errors detected in the compilation of "plot.c".
Make: "cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c plot.c -o
OBJ.alpha-cray-unicosmk2.0.4.X/plot.o": Error code 1
cmd-2436 make: Stop.

-------------------------------------------------------
/home/t3e/fsn/nhdc/nhdcmark/grass/src/mapdev/v.rmdup/cmd
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c rmdup.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/rmdup.o
CC-136 cc: ERROR File = rmdup.c, Line = 198
  The struct "<unnamed>" has no field "_shortbuf".

      while (match == 0 && Closet->dig_fp->_shortbuf[1])  /* try to upgrade
in 5/2000 */
                                           ^
1 error detected in the compilation of "rmdup.c".
Make: "cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c rmdup.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/rmdup.o": Error code 1
cmd-2436 make: Stop.
Make: "/home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5 cmd": Error code 1
cmd-2436 make: Stop.

-------------------------------------------------------
/home/t3e/fsn/nhdc/nhdcmark/grass/src/raster/r.binfer
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules 

        rm -f lex.c gram.c
        yacc binfer.y
        rm -f gram.c
        mv y.tab.c gram.c
        cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c gram.c
-o OBJ.alpha-cray-unicosmk2.0.4.X/gram.o
        lex binfer.l
"binfer.l":line 13: Error: Missing translation value
Make: "lex binfer.l": Error code 1

-> looks like a problem with  "%option lex-compat"


Many thanks

 Markus

---------------------------------------- 
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