s.surf.tps2 compilation under AIX
James Darrell McCauley
mccauley at ecn.purdue.edu
Sun Mar 5 03:49:42 EST 1995
ALOBO (alobo at ija.csic.es) writes on 3 March 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
[...]
>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 obj
e
Agus,
this is because of an error in interp/Gmakefile.
Change the line that reads:
$(LIB): $(LIST) $(TREELIB) $(DATALIB) $(GISLIB) $(BITMAPLIB) $(LINKMLIB) $(VECT
LIB)
to be:
$(LIB): $(LIST)
and all should go well. What happened was that 'ar' was embedding
a library into another library; a library is a special collection
of objects (for you, of type XCOFF, which is something like eXtended
Common Object Format File, or some such). However, a library
itself if not an object. Hence, your error message.
Anyhow, I made several changes, mostly just cleaning up stuff,
so that warnings from 'gcc -Wall' are minimized. (It still warns
about type int functions that I think should defined in
gis.h.) If you (or anyone else) is interested, they are in
ftp://moon.cecer.army.mil/grass/incoming/interp.gcc-Wall:no-warnings.diff
Darrell
--
James Darrell McCauley, PhD http://soils.ecn.purdue.edu/~mccauley/
Dept of Agricultural Engineering mccauley at ecn.purdue.edu
Purdue University new-> tel: 317.494.1198 fax: 317.496.1115
More information about the grass-user
mailing list