[GRASS5] nvwish error

On Monday, December 11, 2000, at 02:04 AM, Markus Neteler wrote:

From: Markus Neteler <neteler@geog.uni-hannover.de>
Date: Mon Dec 11, 2000 02:04:13 AM US/Pacific
To: grass5@geog.uni-hannover.de
Subject: Re: [GRASS5] nvwish error
In-Reply-To: <200012110912.BAA26553@harrier.prod.itd.earthlink.net>; from
jeshua@SierraMaps.com on Mon, Dec 11, 2000 at 01:11:51AM -0800
Delivered-To: mapman-sierramaps:com-jeshua@SierraMaps.com
X-Envelope-To: jeshua@sierramaps.com
Mail-Followup-To: Markus Neteler <neteler@geog.uni-hannover.de>,
grass5@geog.uni-hannover.de
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Mailing-List: grass5@geog.uni-hannover.de
X-Mailing-List-Server: minordomo 0.7.6.1
X-Loop: grass5@geog.uni-hannover.de
X-Archive-Url: "http://www.geog.uni-hannover.de/grass/grassdevel.html&quot;
X-Archive-Id: 13

Hi Jeshua,

edit
src/CMD/head/head.powerpc-apple-darwin1.2

Add the tcl/tk stuff:
#tcl/tk stuff
TCLINCDIR = -I/usr/include
TKINCDIR = -I/usr/include
TCLTKLIBPATH = -L/usr/lib
TCLTKLIBS = -ltk8.3 -ltcl8.3

(or different tcl/tk version)

Hope this help

Thanks Markus!! Now, I am much closer, but I still get these X errors:

/usr/bin/ld: Undefined symbols:
_XKillClient
_XSetCloseDownMode
_XSetRGBColormaps
_XAllocColorCells
_XStoreColors
make[1]: *** [nvwish] Error 1
make: *** [nvwish] Error 2

Does anyone now what header these are defined in?

On Mon, Dec 11, 2000 at 01:11:51AM -0800, Jeshua Lacock wrote:
> I'm trying to compile NVIZ and I get this error:
>
> (it is obviously not seeing the tcl/tk headers)
>
> #################################################################
> /usr/src/grass/src/libes/ogsf
> make -f OBJ.powerpc-apple-darwin1.2/make.rules
>
> make[2]: Nothing to be done for `all'.
> touch nviz_init.c
> cc -g -O2 -I/usr/X11R6/include -I/usr/include -I/usr/include
-I/usr/src/grass/src/libes/ogsf -D_NO_PROTO -D__STDC__ -I/usr/include
-I/usr/src/grass/src/include -c nviz_init.c -o
OBJ.powerpc-apple-darwin1.2/nviz_init.o
> cc -g -o nvwish OBJ.powerpc-apple-darwin1.2/nvizAppInit.o
OBJ.powerpc-apple-darwin1.2/change_view.o
OBJ.powerpc-apple-darwin1.2/draw.o OBJ.powerpc-apple-darwin1.2/exag.o
OBJ.powerpc-apple-darwin1.2/glwrappers.o
OBJ.powerpc-apple-darwin1.2/init_commands.o
OBJ.powerpc-apple-darwin1.2/lights.o OBJ.powerpc-apple-darwin1.2/map_obj.o
OBJ.powerpc-apple-darwin1.2/misc.o OBJ.powerpc-apple-darwin1.2/nviz_init.o
OBJ.powerpc-apple-darwin1.2/position.o
OBJ.powerpc-apple-darwin1.2/quick_draw.o
OBJ.powerpc-apple-darwin1.2/anim_support.o
OBJ.powerpc-apple-darwin1.2/cutplane_obj.o
OBJ.powerpc-apple-darwin1.2/script_support.o
OBJ.powerpc-apple-darwin1.2/label.o OBJ.powerpc-apple-darwin1.2/nvizMain.o
OBJ.powerpc-apple-darwin1.2/togl.o OBJ.powerpc-apple-darwin1.2/togl_cb.o
OBJ.powerpc-apple-darwin1.2/query_postgr.o -L/usr/include
/usr/src/grass/src/libes/ogsf/LIB.powerpc-apple-darwin1.2/libgsf.a
/usr/src/grass/src/libes/libimage/LIB.powerpc-apple-darwin1.2/libimage.a \
> /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libbitmap.a
/usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/liblinkm.a
/usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libvect.a
/usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libdig2.a \
> /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libgis.a \
> /usr/src/grass/src/libes/LIB.powerpc-apple-darwin1.2/libdatetime.a
-L/usr/lib -lGLU -lGL -lSM -lICE -lX11 -lXmu -lXext -L/usr/X11R6/lib -L/usr/lib
-ltiff
> /usr/bin/ld: Undefined symbols:
> _Tcl_GlobalEval
> _Tcl_Init
> _Tcl_SetVar
> _Tcl_StaticPackage
> _Tk_Init
> _Tk_MainWindow
> _Tk_SafeInit
> _Tcl_GetInt
> _Tcl_GetVar
> _Tcl_SetResult
> _Tcl_SplitList
> _TkCopyAndGlobalEval
> _Tcl_Merge
> _Tcl_CreateCommand
> _Tcl_AppendElement
> _Tcl_GetBoolean
> _Tcl_VarEval
> _Tcl_GetDouble
> _Tcl_Eval
> _Tcl_CreateInterp
> _Tk_MainEx
> _Tcl_AppendResult
> _Tcl_DeleteCommand
> _Tcl_DoWhenIdle
> _Tcl_EventuallyFree
> _Tcl_FirstHashEntry
> _Tcl_InitHashTable
> _Tcl_NextHashEntry
> _Tcl_Preserve
> _Tcl_Release
> _Tcl_ResetResult
> _TkWmAddToColormapWindows
> _Tk_ConfigureInfo
> _Tk_ConfigureWidget
> _Tk_CreateEventHandler
> _Tk_CreateWindowFromPath
> _Tk_DestroyWindow
> _Tk_FreeOptions
> _Tk_GeometryRequest
> _Tk_HandleEvent
> _Tk_MakeWindowExist
> _Tk_SetClass
> _Tk_SetWindowVisual
> _XFreeColormap
> _XGrabServer
> _XKillClient
> _XSetCloseDownMode
> _XSetRGBColormaps
> _XUngrabServer
> _XVisualIDFromVisual
> _XDeleteProperty
> _XAllocStandardColormap
> _XAllocColorCells
> _XStoreColors
> make[1]: *** [nvwish] Error 1
> make: *** [nvwish] Error 2
>
>
> Where would I be able to hard-wire the headers?
>
>
> Thanks,
>
> Jeshua Lacock
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo@geog.uni-hannover.de with
> subject 'unsubscribe grass5'
>

--
Dipl.-Geogr. Markus Neteler * University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494 Fax: -3984

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

DANKA!

Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Mon, Dec 11, 2000 at 10:49:02AM -0800, Jeshua Lacock wrote:

On Monday, December 11, 2000, at 02:04 AM, Markus Neteler wrote:
> edit
> src/CMD/head/head.powerpc-apple-darwin1.2
>
> Add the tcl/tk stuff:
> #tcl/tk stuff
> TCLINCDIR = -I/usr/include
> TKINCDIR = -I/usr/include
> TCLTKLIBPATH = -L/usr/lib
> TCLTKLIBS = -ltk8.3 -ltcl8.3
>
> (or different tcl/tk version)
>
> Hope this help
>

Thanks Markus!! Now, I am much closer, but I still get these X errors:

/usr/bin/ld: Undefined symbols:
_XKillClient
_XSetCloseDownMode
_XSetRGBColormaps
_XAllocColorCells
_XStoreColors
make[1]: *** [nvwish] Error 1
make: *** [nvwish] Error 2

Does anyone now what header these are defined in?

Yes, they are defined in
/usr/X11R6/include/X11/Xlib.h

You should have in head file:
XCFLAGS = -I/usr/X11R6/include

(or comparing path)

Hope this helps

Markus

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