On Wed, 7 Jul 2004, Alasdair Allan wrote:
> > > ld: undefined symbols:
> > > _Itcl_Init
> > > _Itcl_SafeInit
> > > _Itk_Init
> > > make[2]: *** [ccdwish] Error 1
> > > make[1]: *** [all-recursive] Error 1
> > > make: *** [all] Error 2
> > > klunk{star}:
> >
> > Well Itcl_Init and friends are symbols inthe libraries incstalled
> > from thirdparty/tclsys/itcl (libitcl3.1.so, libitk3.1.so). I don't
> > see any reference to _Itcl_Init etc, so I guess the leading underscores
> > are some sort of Macism? At least check that you've installed
> > thirdparty/tclsys/itcl.
>
> That was indeed the first thing I checked. Are you actually looking for
> shared libraries *.so? I've only got the static *.a libs as (since I'm on
> a Mac) I've compiled with --disable-shared.
Don't think it should be after shared libraries particularly - but you
should be able to work out what's going on by looking at the line
make echoes immediately before the error you quote above - whether
-litcl* is on the line, whether it exists in the given -L locations,
whether it has the sought symbols (use nm) etc.
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|