[GRASS-dev] g.mapsets use of sleep()

Paul Kelly paul-grass at stjohnspoint.co.uk
Tue Dec 5 16:40:45 EST 2006


Since $(VASKLIB) was removed from the g.mapsets Makefile I get the 
following error on Windows:
gcc -L/c/grass/grass6/dist.i686-pc-mingw32/lib -Wl,--export-dynamic,--enable-run
time-pseudo-reloc  -L/c/grass/lib         -DPACKAGE=\""grassmods"\" -o /c/grass/
grass6/dist.i686-pc-mingw32/bin/g.mapsets.exe OBJ.i686-pc-mingw32/main_cmd.o OBJ
.i686-pc-mingw32/dsply_path.o OBJ.i686-pc-mingw32/dsply_maps.o OBJ.i686-pc-mingw
32/get_maps.o /c/grass/grass6/lib/gis/OBJ.i686-pc-mingw32/fmode.o -lgrass_gis -l
grass_datetime -lxdr -liberty -lws2_32    -lz      -lxdr -liberty -lws2_32    -l
z
OBJ.i686-pc-mingw32/main_cmd.o(.text+0x427): In function `main':
c:/grass/grass6/general/g.mapsets/main_cmd.c:128: undefined reference to `sleep'

collect2: ld returned 1 exit status
make: *** [/c/grass/grass6/dist.i686-pc-mingw32/bin/g.mapsets.exe] Error 1

Not at all sure what's the most elegant way of fixing it???

Paul




More information about the grass-dev mailing list