Install xgrass on Aix Problems with Matrix.c

Serge ALGAROTTI algarott at paris.cma.fr
Fri Jun 2 08:00:00 EDT 1995


 I would like install grass 4.1 (update 5) on a Aix 3.2.5. I have 
some problems when compiling Matrix.c (xgrass). I use gcc .

has Someone compiled successfully xgrass on Aix ?
Can somebody help me ?

Thank you for your help

this is the problem:

        gcc -O -D_NO_PROTO   
-I/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include  -c Matrix.c
In file included from
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:37,
                 from Matrix.c:39:
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/Matrix.h:121: warning:
`XmRStringArray' redefined
/usr/include/Xm/XmStrDefs.h:3787: warning: this is the location of the previous
definition
In file included from
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/std_incs.h:23,
                 from
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/xgrass_lib.h:7,
                 from Matrix.c:29:
[...]

In file included from Matrix.c:39:
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:252: parse erro
r
before `XmManagerClassPart'
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:252: warning: n
o
semicolon at end of struct or union
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:254: parse erro
r
before `}'
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:254: warning:
data definition has no type or storage class

/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:256: parse erro
r
before `xbaeMatrixClassRec'
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:256: warning:
data definition has no type or storage class

/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:415: parse erro
r
before `XmManagerPart'
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:415: warning: n
o
semicolon at end of struct or union
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:417: parse erro
r
before `}'
/tmp_mnt/tools/sources/grass/grass-4.1.u5/src/include/MatrixP.h:417: warning:
data definition has no type or storage class

Matrix.c:75: parse error before `)'
Matrix.c:75: initializer element for `resources.resource_offset' is not constan
t

-- 

Serge ALGAROTTI  (Serge.Algarotti at cemef.cma.fr)                                
|





More information about the grass-user mailing list