[tkined] Where is function SNMP_TimeoutEvent (code)?

Juergen Schoenwaelder schoenw at ibr.cs.tu-bs.de
Mon Jan 25 18:56:36 CET 1999

>>>>> Howard B Cinamon writes:

Howard> 1. I am new new Tcl/Tk, scotty, wish, etc. I am doing
Howard> maintenance on someone elses code.  I downloaded Tcl 7.3,
Howard> Tk3.6 and scotty 1.2.5, all old stuff. Why you ask? Because
Howard> scwish is still in that version of scotty and my appl uses
Howard> scwish; it's not in latest scotty 2.1.9 or 2.1.10.  and I am
Howard> trying to get by without major changes to the 'wish' makefile.

You really want to upgrade if at all possible. If you OS supports
dynamic loading, then you can load the scotty extension into any Tcl
interpreter at runtime. With dynamic loading, there is no need anymore
for scwish and this is why we dropped it.

Howard> 2. While compiling/linking scotty, I got cc -o scotty scotty.o
Howard> event.o libscotty.a -L/usr/local/lib -ltcl -lm
Howard> /usr/ccs/bin/ld: Unsatisfied symbols: SNMP_ResponseEvent
Howard> (code) sunrpcCmd (code) SNMP_AgentEvent (code)
Howard> SNMP_TimeoutEvent (code) SNMP_TrapEvent (code) *** Error exit
Howard> code 1

Howard> I cannot find these symbols in the scotty source.  Anyone know
Howard> where they are, what I am missing ?

A simple grep through the sources tells me that they are defined in

Howard> 3.  Trying to compile sunrpc.c, where sunrpcCmd symbol
Howard> resides, I get this errror: cc -c -O
Howard> -I.. -I/usr/include/rpcsvc -I/usr/local/include
Howard> -DHAVE_GETMNTENT=1 ../sunrpc.c cpp: "sunrpc.c", line 46: error
Howard> 4036: Can't open include file ether.h'.  *** Error exit code 1

Howard> 	On HP-UX 10.20 ether.h is not in /usr/include Where
Howard> can I find a compatible copy of ether.h ?

There is a replacement in scotty-1.2.5/compat/ether.h which hopefully
works on HP-UX 10.20...
Juergen Schoenwaelder  schoenw at ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3289)
!! 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 at ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.

More information about the Tkined mailing list