SCS v.report

Ronald E. Thomas ront at niwot.CFNR.ColoState.EDU
Wed Oct 7 11:28:52 EDT 1992


	I sent a message to the list(s) detailing a problem in compiling
src.contrib/SCS/vector/v.report. After an 'anonymous' tip, I was able to
track down the developer of this program, Ron Glenn, who graciously spent
 over 2 hours with me working on this problem step by step until
we figured out that the problem was in the v.report/cmd/Gmakefile.

after line 20 of the Gmakefile are these lines:

$(BIN_CONTRIB_CMD)/$(PGM): $(LIST) $(LIBES) 
	$(CC) $(LDFLAGS) -o $@ $(LIST) $(LIBES) $(VECTLIB) $(MATHLIB) 
 
The ORDER of the library directories is wrong, and causes a loader error.
The correct order is;

$(BIN_CONTRIB_CMD)/$(PGM): $(LIST) $(LIBES) 
	$(CC) $(LDFLAGS) -o $@ $(LIST) $(VECTLIB) $(LIBES) $(MATHLIB) 

	Why this is so, or if it is only a quirk of the SUN 386i, we
don't know.  But it works, and we now have v.report up and running.  It 
effortlessly gave us a report of the lengths of the 140+ trails in RMNP, 
and I can see where it will prove extremely valuable in the future.

	I strongly recommend compiling the src.contrib/SCS/vector tools.

^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^
   Ronald Thomas                         ^  ront at meeker.cfnr.colostate.edu
    Natural Resource Spec. (GIS)         ^  
     Resource Management Division        ^   Phone: 303-586-3565  x285
      Rocky Mountain National Park       ^          700-323-7285  (FTS)
       Estes Park, CO  80517             ^ 
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^



More information about the grass-user mailing list