s.surf.tps2 compilation under AIX
ALOBO
alobo at ija.csic.es
Fri Mar 3 11:29:36 EST 1995
Hi!
I've not been able to compile in a RS6000. This is what happens.
1. I've put interp.shar under src.contrib/irina
2. I follow your directions:
""") uncompress interp_lib,shar.Z
2) sh interp_lib.shar -- creates 5 directories
3) gmake4.1 in data/ and tree/ directories
4) gmake4.1 in interp/ directory"""
I get the following error (which is not important) in almost all *.c:
"main.c", line 36.15: 1506-132 (S) Function calloc cannot be redeclared.
"main.c", line 37.14: 1506-132 (S) Function free cannot be redeclared.
"main.c", line 38.15: 1506-132 (S) Function malloc cannot be redeclared.
"main.c", line 39.15: 1506-132 (S) Function realloc cannot be redeclared.
I comment out the ofending statements and compilation succeeds.
3. But then, when compilring s.surf.tps and v.surf.tps :
cc -s OBJ.RS6000/main.o ../data/LIB.RS6000/libdata.a ../tree/LIB.RS6000/libtr
ee.a ../interp/LIB.RS6000/libinterp.a /tele/grass/src/libes/LIB.RS6000/libbitma
p.a /tele/grass/src/libes/LIB.RS6000/liblinkm.a /tele/grass/src/libes/LIB.RS600
0/libvect.a /tele/g
rass/src/libes/LIB.RS6000/libdig2.a /tele/grass/src/libes/LIB.RS6000/libgis.a
-lm
0706-729 ERROR: ../interp/LIB.RS6000/libinterp.a[libtree.a]: not an XCOFF obje
ct
make: 1254-004 The error code from the last command is 12.
I don't know what to do, I've no idea of what an XCOFF object is.
Could anybody help?
Agus
More information about the grass-user
mailing list