[GRASS5] XDRIVER compile problem on CRAY
Markus Neteler
neteler at geog.uni-hannover.de
Thu Nov 30 12:20:12 EST 2000
Hi all,
maybe Andreas can help: A new compile problem is there on CRAY,
probably due to the latest cast fixes (I won't change anything here :-)
/home/t3e/fsn/nhdc/nhdcmark/grass/src/display/devices/XDRIVER/XDRIVER24
make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules
cc -g -I../../lib
-I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include -c Raster.c -o
OBJ.alpha-cray-unicosmk2.0.4.X/Raster.o
CC-513 cc: ERROR File = Raster.c, Line = 83
A value of type "XImage *" cannot be assigned to an entity of type "char
*".
grimage->data = (XImage *) G_malloc((size_t) (num *
bytes_per_pixel));
^
CC-513 cc: ERROR File = Raster.c, Line = 85
A value of type "XImage *" cannot be assigned to an entity of type "char
*".
grimage->data = (XImage *) realloc((void *)grimage->data,
(size_t) (num * bytes_per_pixel));
^
CC-167 cc: WARNING File = Raster.c, Line = 94
Argument of type "unsigned int *" is incompatible with parameter of type
"int *".
_get_color_index_array(array, num) ;
^
2 errors detected in the compilation of "Raster.c".
Make: "cc -g -I../../lib -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include
-c Raster.c -o OBJ.alpha-cray-unicosmk2.0.4.X/Raster.o": Error code 1
cmd-2436 make: Stop.
Make: "/home/t3e/fsn/nhdc/nhdcmark/grass5bin/gmake5 XDRIVER24": Error code 1
Especially line 83/85 are causing an error on CRAY, but they cause a warning
on Linux as well.
Could anyone take care for this?
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