[GRASS5] problem with gis library - timestamp

William L. Baker BakerWL at uwyo.edu
Wed Dec 27 11:22:05 EST 2000


I have a program that links to the gis library, and when attempting
to compile it, I get errors relating to the timestamp.c and sites.c
code, all dealing with undefined references to "datetime_copy"
"datetime_format" "datetime_scan" and "datetime_copy".  

Anyone know what is wrong?

Here is the result from gmake5:

/usr/local/grass5/grass5.0beta10/src/libes/LIB.i686-pc-linux-gnu/libgis.a(si
tes.o): In function `G_site_get_head':
/usr/local/grass5/grass5.0beta10/src/libes/gis/sites.c:803: undefined
reference to `datetime_error_msg'
/usr/local/grass5/grass5.0beta10/src/libes/LIB.i686-pc-linux-gnu/libgis.a(ti
mestamp.o): In function `G_set_timestamp':
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:15: undefined
reference to `datetime_copy'
/usr/local/grass5/grass5.0beta10/src/libes/LIB.i686-pc-linux-gnu/libgis.a(ti
mestamp.o): In function `G_set_timestamp_range':
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:23: undefined
reference to `datetime_copy'
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:24: undefined
reference to `datetime_copy'
/usr/local/grass5/grass5.0beta10/src/libes/LIB.i686-pc-linux-gnu/libgis.a(ti
mestamp.o): In function `G_format_timestamp':
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:60: undefined
reference to `datetime_format'
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:65: undefined
reference to `datetime_format'
/usr/local/grass5/grass5.0beta10/src/libes/LIB.i686-pc-linux-gnu/libgis.a(ti
mestamp.o): In function `G_scan_timestamp':
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:95: undefined
reference to `datetime_scan'
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:95: undefined
reference to `datetime_scan'
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:101: undefined
reference to `datetime_scan'
/usr/local/grass5/grass5.0beta10/src/libes/LIB.i686-pc-linux-gnu/libgis.a(ti
mestamp.o): In function `G_get_timestamps':
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:116: undefined
reference to `datetime_copy'
/usr/local/grass5/grass5.0beta10/src/libes/gis/timestamp.c:121: undefined
reference to `datetime_copy'
collect2: ld returned 1 exit status
make: *** [/usr/local/grass5/etc/bin/contrib/cmd/r.le.setup] Error 1    

Thanks for any help...

Bill Baker
University of Wyoming
BAKERWL at UWYO.EDU

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list