[GRASS5] Re: [GRASS-CVS] CVS update: grass

Glynn Clements glynn.clements at virgin.net
Fri Aug 3 06:36:10 EDT 2001


Markus Neteler wrote:

> > I need to see config.log in order to figure out what else is required
> > for the link to succeed.
> 
> Sorry, I missed that. Here we are:
> 
> configure:4235: checking for location of Tcl/Tk includes
> configure:4273: checking for tcl.h
> configure:4283: gcc -E   conftest.c >/dev/null 2>conftest.out
> configure:4319: gcc -o conftest -g -O2    conftest.c  1>&5
> configure:4348: checking for tk.h
> configure:4358: gcc -E   conftest.c >/dev/null 2>conftest.out
> configure:4394: gcc -o conftest -g -O2    conftest.c  1>&5
> configure:4433: checking for location of Tcl/Tk libraries
> configure:4463: checking for Tcl_Init in -ltcl
> configure:4482: gcc -o conftest -g -O2    -lm conftest.c -ltcl   1>&5
> configure:4547: checking for Tk_MainWindow in -ltk
> configure:4566: gcc -o conftest -g -O2    -lm conftest.c -ltk   1>&5
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libtk.so: undefined
> reference
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libtk.so: undefined
> reference to ...
> [... some xxx times]
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libtk.so: undefined
> reference

Undefined reference to what? Didn't it say?

> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 4555 "configure"
> [...skipped...]
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libtk8.3.so: undefined
> reference to 'Tcl_CreateChannelHandler' 

Ah; that makes sense. Obviously libtk requires libtcl, regardless of
what else it might need. I'll commit a fix shortly.

I take it that your libtk8.3.so doesn't have dependency information.

> Does this help?

Yes.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list