[GRASSLIST:3517] Re: gmake53 problems when porting code...

Glynn Clements glynn.clements at virgin.net
Thu May 27 12:57:08 EDT 2004

Juhana Nieminen wrote:

> We are trying to port some older code used in generating sampling sites 
> to grass53 - we seem to have missed something. There is a reoccurring 
> message with timestamps. The code has been done rather fast but it still 
>   compiles the problem seems to be in the linking...

> gcc -L/mirror/grasscompile/grass-5.3.0/src/libes/LIB.i686-pc-linux-gnu 
> -Wl,--export-dynamic -o 
> /mirror/grasscompile/grass-5.3.0/dist.i686-pc-linux-gnu/etc/bin/cmd/r.vsample 
> OBJ.i686-pc-linux-gnu/vsample.o OBJ.i686-pc-linux-gnu/wrtesite.o -lgis 
>   -lm  -lz
> /mirror/grasscompile/grass-5.3.0/src/libes/LIB.i686-pc-linux-gnu/libgis.a(sites.o)(.text+0x107b): 
> In function `G_site_get_head':
> /mirror/grasscompile/grass-5.3.0/src/libes/gis/sites.c:834: undefined 
> reference to `datetime_error_msg'

libgis requires libdatetime, but you're not linking against it.

> [jster at streptocarpus r.vsample]# more Gmakefile


You need:


Glynn Clements <glynn.clements at virgin.net>

More information about the grass-user mailing list