grass4.2.1v19 source; where is libvect.a, libdig2.a?

Ben Horner-Johnson ben at earth.nwu.edu
Sat Oct 10 19:14:41 EDT 1998


The libvect.a library is made in src/mapdev/Vlib.  The Vlib Gmakefile has these
lines, which refer to things set in the make.mid part of src/CMD/generic (used
by gmake, I think).  Similar for src/mapdev/diglib for the libdig2.a

src/mapdev/Vlib/Gmakefile:
$(VECTLIB_REAL): $(OBJ)
        $(AR)

src/mapdev/diglib/Gmakefile:
$(DIG2LIB): $(OBJ)
        $(AR)

src/CMD/generic/make.mid:
AR          = $(GMAKE) -makeparentdir $@; $(LIBRULE)
LIBDIR      = $(SRC)/libes
...
DIG2LIB     = $(LIBDIR)/libdig2.a
VECTLIB_REAL= $(LIBDIR)/libvect.a

LIBRULE is defined in the src/CMD/head/* files... perhaps it was the incorrect
form for your Linux ar command.  Though that wouldn't explain why the other
libraries were built properly.  Perhaps something is missing from your
distribution tree ... mine was ok for Solaris (more or less)

Hope this helps...

Ben Horner-Johnson
ben at earth.nwu.edu





More information about the grass-user mailing list