[GRASS-user] Grass6.2\Cygwin

Martin du Saire mdusaire at umn.edu
Mon Nov 6 16:10:31 EST 2006


Here is some additional info:

in v.in.ogr, make generates the following errors:


gcc -I/usr/src/grass-6.2.0/dist.i686-pc-cygwin/include  -g 
-O2    -I/usr/local/include     -DPACKAGE=\""grassmods"\" 
-I/usr/local/include -I/usr/src/grass-6.2.0/dist.i686-pc-cygwin/include \
		-o OBJ.i686-pc-cygwin/main.o -c main.c
main.c: In function `main':
main.c:638: error: `OFTDate' undeclared (first use in this function)
main.c:638: error: (Each undeclared identifier is reported only once
main.c:638: error: for each function it appears in.)
make: *** [OBJ.i686-pc-cygwin/main.o] Error 1


in v.digit, make generates errors of the type:

/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1092): 
undefined reference to `_XDestroyWindow'

Is the compiler expecting a set of directories /usr/local/lib/tk and 
/tcl?  Right now what I have are /tk8.4 and /tcl8.4.  Assuming I 
should be using these newer libraries, how do I force the compiler to 
use for these?

./configure appears to have found them okay:

checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes...
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.4
checking Tk version... 8.4
checking for location of Tcl/Tk library...
checking for Tcl_Init in -ltcl... yes
checking for Tk_MainWindow in -ltk... yes

Thanks.

Martin




More information about the grass-user mailing list