[GRASS5] CRAY T3E compile errors

Bernhard Reiter bernhard at intevation.de
Tue Sep 19 11:36:00 EDT 2000


On Tue, Sep 19, 2000 at 04:56:59PM +0100, Markus Neteler wrote:
> 
> 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.

Even when compatible with C standards,
there can be significant differences.

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

What version of make are you using?
(It might be an idea to build gnu make first.)

> 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

Try "man setpgrp" and compare.

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

Again, man might help.
You might be able lto use a cast here.


-- 
Professional Service around Free Software                (intevation.net)  
The FreeGIS Project				            (freegis.org)
Association for a Free Informational Infrastructure            (ffii.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 236 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20000919/c02193cb/attachment.bin


More information about the grass-dev mailing list