Fw: Re: [GRASS-user] GRASS 6.2 RC2 - Compile with Python Problem
Hamish
hamish_nospam at yahoo.com
Mon Oct 9 21:00:28 EDT 2006
[fwd'd to list, I can't help --H]
Begin forwarded message:
Date: Mon, 9 Oct 2006 07:37:42 -0500
Subject: Re: [GRASS-user] GRASS 6.2 RC2 - Compile with Python Problem
Like the "python_grass6", I get a lot of "undefined reference" errors.
Here is part of the output from running make.
make
gcc -L/cygdrive/c/pkg/downloads/grass-6.2.0RC2/dist.i686-pc-cygwin/lib
-Wl,--export-dynamic -I/usr/X11R6/include -I/usr/local/include
-DPACKAGE=\""grassmods"\" -o
/cygdrive/c/pkg/downloads/grass-6.2.0RC2/dist.i686-pc-cygwin/bin/v.digit
OBJ.i686-pc-cygwin/attr.o OBJ.i686-pc-cygwin/background.o
OBJ.i686-pc-cygwin/c_face.o OBJ.i686-pc-cygwin/cat.o
OBJ.i686-pc-cygwin/centre.o OBJ.i686-pc-cygwin/display.o
OBJ.i686-pc-cygwin/driver.o OBJ.i686-pc-cygwin/i_face.o
OBJ.i686-pc-cygwin/line.o OBJ.i686-pc-cygwin/main.o
OBJ.i686-pc-cygwin/symb.o OBJ.i686-pc-cygwin/util.o
OBJ.i686-pc-cygwin/var.o OBJ.i686-pc-cygwin/vertex.o
OBJ.i686-pc-cygwin/zoom.o -lgrass_D -lgrass_display -lgrass_gis
-lgrass_datetime -lrpclib -lz -lgrass_raster -lgrass_pngdriver
-lgrass_driver -lgrass_gis -lgrass_datetime -lrpclib -lz
-liconv -lgrass_gis -lgrass_datetime -lrpclib -lz -lpng -lz
-lgrass_driver -lgrass_gis -lgrass_datetime -lrpclib -lz
-liconv -lgrass_gis -lgrass_datetime -lrpclib -lz
-lgrass_gis -lgrass_datetime -lrpclib -lz -lgrass_raster
-lgrass_pngdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lrpclib
-lz -liconv -lgrass_gis -lgrass_datetime -lrpclib -lz
-lpng -lz -lgrass_driver -lgrass_gis -lgrass_datetime -lrpclib
-lz -liconv -lgrass_gis -lgrass_datetime -lrpclib -lz
-lgrass_display -lgrass_gis -lgrass_datetime -lrpclib -lz
-lgrass_raster -lgrass_pngdriver -lgrass_driver -lgrass_gis
-lgrass_datetime -lrpclib -lz -liconv -lgrass_gis
-lgrass_datetime -lrpclib -lz -lpng -lz -lgrass_driver
-lgrass_gis -lgrass_datetime -lrpclib -lz -liconv -lgrass_gis
-lgrass_datetime -lrpclib -lz -lgrass_raster
-lgrass_pngdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lrpclib
-lz -liconv -lgrass_gis -lgrass_datetime -lrpclib -lz
-lpng -lz -lgrass_driver -lgrass_gis -lgrass_datetime -lrpclib
-lz -liconv -lgrass_gis -lgrass_datetime -lrpclib -lz
-lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lrpclib
-lz -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis
-lgrass_datetime -lrpclib -lz -lgrass_gis -lgrass_datetime
-lrpclib -lz -lgrass_dgl -lgrass_dig2 -lgrass_gis
-lgrass_datetime -lrpclib -lz -lgrass_rtree -lgrass_gis
-lgrass_datetime -lrpclib -lz -lgrass_linkm -lgrass_rtree
-lgrass_dig2 -lgrass_gis -lgrass_datetime -lrpclib -lz
-lgrass_rtree -lgrass_dgl -lgrass_rtree -lgrass_linkm
-lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime
-lrpclib -lz -lgrass_gis -lgrass_datetime -lrpclib -lz
-lgrass_dbmibase -lgrass_gis -lgrass_datetime -lrpclib -lz
-L/usr/local/lib -lgdal -lgrass_form -lgrass_dbmibase -lgrass_gis
-lgrass_datetime -lrpclib -lz -lgrass_dbmiclient
-lgrass_dbmibase -lgrass_gis -lgrass_datetime -lrpclib -lz
-lgrass_gis -lgrass_datetime -lrpclib -lz -lgrass_gis
-lgrass_datetime -lrpclib -lz -lgrass_gis -lgrass_datetime
-lrpclib -lz -ltk -ltcl -lrpclib -lz
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1092):
undefined reference to `_XDestroyWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1106):
undefined reference to `_XDestroyIC'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x129a):
undefined reference to `_XSync'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x130e):
undefined reference to `_XMapWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1382):
undefined reference to `_XRootWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1401):
undefined reference to `_XConfigureWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x150c):
undefined reference to `_XUnmapWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x15e0):
undefined reference to `_XConfigureWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1638):
undefined reference to `_XMoveWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x168b):
undefined reference to `_XResizeWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x16f5):
undefined reference to `_XMoveResizeWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1741):
undefined reference to `_XSetWindowBorderWidth'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x183e):
undefined reference to `_XChangeWindowAttributes'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1876):
undefined reference to `_XSetWindowBackground'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x18b8):
undefined reference to `_XSetWindowBackgroundPixmap'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x18fa):
undefined reference to `_XSetWindowBorder'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x193c):
undefined reference to `_XSetWindowBorderPixmap'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1981):
undefined reference to `_XDefineCursor'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x19de):
undefined reference to `_XSetWindowColormap'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x1db6):
undefined reference to `_XConfigureWindow'
/usr/local/lib/libtk.a(tkWindow.o):tkWindow.c:(.text+0x2474):
undefined reference to `_XSynchronize'
/usr/local/lib/libtk.a(tkEvent.o):tkEvent.c:(.text+0x338): undefined
reference to `_XQueryTree'
/usr/local/lib/libtk.a(tkEvent.o):tkEvent.c:(.text+0x352): undefined
reference to `_XSync'
.
.
.
/usr/local/lib/libtk.a(tkCanvArc.o):tkCanvArc.c:(.text+0x10f2): undefined refere
nce to `_XDrawLine'
/usr/local/lib/libtk.a(tkCanvWind.o):tkCanvWind.c:(.text+0xb1c): undefined refer
ence to `_XGetImage'
Info: resolving __ctype_ by linking to __imp___ctype_ (auto-import)
collect2: ld returned 1 exit status
make: *** [/cygdrive/c/pkg/downloads/grass-6.2.0RC2/dist.i686-pc-
cygwin/bin/v.digit] Error 1
Thanks
Bruce
On 10/9/06, Hamish <hamish_nospam at yahoo.com> wrote:
> A B wrote:
> > I tried running make in the v.digit directory and got more reference
> > errors but they seem to be related just to tcltk.
>
> could you post them?
>
>
> Hamish
>
More information about the grass-user
mailing list