[GRASSLIST:3276] Re: Missing r.resamp.rst

Glynn Clements glynn.clements at virgin.net
Sun Apr 25 09:38:37 EDT 2004


Lukas Lehner wrote:

> Hello
> 
> In binary distribution isn't (or I can't find it) modul r.resamp.rst
> During conpilation of 53 from 20.4 (same bad result in 5.0.3) in
> directory src/raster/r.resamp.rst

> OBJ.i686-pc-linux-gnu/main.o(.text+0x8c7): In function `main':
> /home/lukas/inst/grass/src/raster/r.resamp.rst/main.c:379: undefined
> reference to `G_alloc_vector'

Those functions have been moved from libgis to libgmath, so the
Gmakefile needs to be updated accordingly.

I've fixed this in CVS; the corresponding patch is below.

-- 
Glynn Clements <glynn.clements at virgin.net>

-------------- next part --------------
--- src/raster/r.resamp.rst/Gmakefile	18 Apr 2002 12:46:29 -0000	1.7
+++ src/raster/r.resamp.rst/Gmakefile	25 Apr 2004 13:36:39 -0000
@@ -13,9 +13,9 @@
 SRCS   =  main.c 
 
 LIBES=$(INTERPFLIB) $(DATALIB) $(TREELIB) \
-	$(GISLIB) $(DATETIMELIB) $(BITMAPLIB) $(LINKMLIB) $(VECTLIB)
+	$(GMATHLIB) $(GISLIB) $(DATETIMELIB) $(BITMAPLIB) $(LINKMLIB) $(VECTLIB)
 DEPLIBS=$(INTERPFLIB) $(DATALIB) $(TREELIB) \
-	$(DEPGISLIB) $(DEPDATETIMELIB) $(DEPBITMAPLIB) $(DEPLINKMLIB) $(DEPVECTLIB)
+	$(DEPGMATHLIB) $(DEPGISLIB) $(DEPDATETIMELIB) $(DEPBITMAPLIB) $(DEPLINKMLIB) $(DEPVECTLIB)
 
 $(BIN_CMD)/$(PGM): $(LIST) $(DEPLIBS)
 	$(CC) $(LDFLAGS) -o $@ $(LIST) $(LIBES) $(MATHLIB) $(XDRLIB)


More information about the grass-user mailing list