Problems compiling XGRASS
Stephan Eickschen
eicksch at uni-muenster.de
Fri Sep 12 03:35:45 EDT 1997
Dear GRASSers
I am trying to build the xgrass package, but the following error
occurs:
> GISBASE=/exports/sgi/GRASS/grass4.1
> SRC=/exports/sgi/GRASS/grass4.1/src
> CMD=/exports/sgi/GRASS/grass4.1/src/CMD
> HEADER=irix
> ARCH=irix
> ####################################################################
> GISGEN Wed Sep 10 15:15:57 PDT 1997
> GISBASE = /exports/sgi/GRASS/grass4.1
> SRC = /exports/sgi/GRASS/grass4.1/src
> CMD = /exports/sgi/GRASS/grass4.1/src/CMD
> HEADER = irix
> ARCH = irix
>
> first step: src/xgrass
>
> GISGEN: src/xgrass - Wed Sep 10 15:15:58 PDT 1997
>
> #################################################################
> /exports/sgi/GRASS/grass4.1/src/xgrass
> make -f OBJ.irix/make.rules
>
> rm -f /exports/sgi/GRASS/grass4.1/etc/databases
> echo /exports/sgi/GRASS/grass4.1/data > /exports/sgi/GRASS/grass4.1/etc/databases
> rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp
> tar cf - ./xhelp | (cd /exports/sgi/GRASS/grass4.1/etc; tar xf -)
> rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_personal
> echo XGRASS 4.1 > /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_personal
> rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_old_dbs
> echo XGRASS 4.1 > /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_old_dbs
> rm -rf /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_text
> echo XGRASS 4.1 > /exports/sgi/GRASS/grass4.1/etc/xhelp/xgrass/intro_text
> rm -rf /exports/sgi/GRASS/grass4.1/etc/app-defaults
> tar cf - ./app-defaults | (cd /exports/sgi/GRASS/grass4.1/etc; tar xf -)
> rm -rf /exports/sgi/GRASS/grass4.1/etc/xclip
> tar cf - ./xclip | (cd /exports/sgi/GRASS/grass4.1/etc; tar xf -)
>
> GISGEN: src/xgrass/libes - Wed Sep 10 15:16:37 PDT 1997
>
> #################################################################
> /exports/sgi/GRASS/grass4.1/src/xgrass/libes
> make -f OBJ.irix/make.rules
>
> /home/grass/gmake4.1 -all
> #################################################################
> /exports/sgi/GRASS/grass4.1/src/xgrass/libes/Xgd
> make -f OBJ.irix/make.rules
>
> #################################################################
> /exports/sgi/GRASS/grass4.1/src/xgrass/libes/Xgi
> make -f OBJ.irix/make.rules
>
> rm -f OBJ.irix/prop.o
> cc -cckr -O -n32 -D_NO_PROTO -I/usr/include/X11 -I/usr/include/X11/Xm
-I/exports/sgi/GRASS/grass4.1/src/include -DUSE_TERMIO -c prop.c
> "prop.c", line 70: error(1515): a value of type "void" cannot be assigned to
> an entity of type "int"
> err = XChangeProperty(display,window,property,XA_STRING,
> ^
>
> "prop.c", line 75: warning(1116): non-void function "XgSetCommandString"
> (declared at line 57) should return a value
> }
> ^
>
> 1 error detected in the compilation of "prop.c".
> *** Error code 2 (bu21)
> *** Error code 1 (bu21)
> GISGEN failure at STEP: src/xgrass/libes
Is there an update for prop.c, should I just insert a typecast or
where might I re-define the XChangeProperty function as a int ???
The GRASS4.1.5 itself is running - that compilation went well ....
Cheers,
Stephan
More information about the grass-user
mailing list