[tkined] lost connection problem

Kevin Trotman (ktrotman@ti.com)
Fri, 15 May 1998 12:57:44 -0500

I posted about 2 or 3 weeks ago about some compile problems with SunOS. I
reported then that I had gotten a compile, but I thought there was a
problem with the bind<->scotty code in SunOS. Well, I think my problems go
beyond that. After a short break to clear my head (ie: I was to busy to
work on it), I tried a little debugging on the problem.

I think the compile I got using the directions I posted here was a valid
compile and the directions will most likely work fine for versions 2.1.7
through the 3.0.0 snapshot at least. I could run scotty interactively and
run all of the example apps. But the problem I am having is that I cannot
run tkined. I get the error

Tnm lost connection to Tkined
Segmentation fault

ANYONE have ANY ideas on this one?????

I thought maybe this was an installation problem or a tcl env variable that
I had not set at first, so I went through all the install & readme docs in
all the directories and the web site, but nothing turned up. Also, I did a
trace (truss) and prof on it and it bombs at the point where it tries to
load scotty. I unset my path and got a slightly different error though.

/usr/local/lib/tkined1.4.8/apps/manager.tcl[3]: scotty2.1.8: not found
Segmentation fault

At this point, I though I had a bad compile of scotty, so I tried a solaris
compile on a sparc-20. Same result. So, being pretty frustrated by that
point, I decided to dump the whole sun idea altogether and I tried the
compile on an SGI origin 200 running Irix 6.4. Same result. I've been
through all the docs many many times, but something is still not right
here. btw, I've also tried this with tcl/tk 8.0 and 8.1a.

Also, with irix 6.4, after the configure you'll get too many warnings to
continue for duplicate symbol defs if you do not go into the Makefile and
edit out the extra libs .....change this:

LIBS = -lsun -lsocket -lnsl -lrpcsvc # -lresolv
to:
LIBS = #-lsun -lsocket -lnsl -lrpcsvc # -lresolv

The symbols contained in these libs are in libc.so .....new one on me. ;)

also, since its 64bit, it'll give you some strange error about... "32 bit
object cannot be linked without -n32" and I just searched for 32 and found
the -32 option on ld and changed it to -n32. I have not red the mans, but
I think that just links in the 32-bit libraries from the lib32 directory
rather than the 64-bit libraries. But hey, 32-bit is slightly better than
no compile at all. ;)

No other modifications were needed for 6.4.

----------------------------------------------------------------------------
-----
Kevin Trotman phone: 972-952-3272
System Administrator
Raytheon TI Systems email: ktrotman@ti.com
-E-X-S-T--> w w w . b e o w u l f . o r g <--R-E-M-E-
----------------------------------------------------------------------------
-----

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.