Scotty trouble with Tcl-My-Fancy

Martone Mike (martonem@bah.com)
Mon, 10 Jun 96 09:24:00 PDT

I have recently been trying to make a "BIGwish" which includes Tcl/TK,
expect, BLT, DP, and of course, Scotty. This is in preparation of making my
own net manager application. I know Tcl pretty well, but I dont do C. I
have been using Tom Poindexter's Tcl-My-Fancy utility which searches for all
compiled libraries and creates a combine tcl and wish shell for them. I
have been succesful with all of the packages thus far, except for Scotty.
Scotty must modify the Tcl base code or something? I'm not 100% sure what
TMF does (since I dont know C) but it adds something to Tcl_AppInit and uses
libscotty.o file. The make file output is provided below. If anyone has
done what I am trying to do, or has input about the make file...please let
me know.
Thanks in advance.
Mike
----------------------------------------------------------------------------
------------------------------------------------------
playdo# make
sed -f tmftk.sed <../tk4.0/tkAppInit.c >tkAppInit.c
cc -c -I../tk4.0 -I../tcl7.4 -I/usr/openwin/include -DNO_GETWD=1
-DNO_WAIT3=1 -D
HAVE_UNISTD_H=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1
-DNEED_MAT
HERR=1 -Dvfork=fork -DGETTOD_NOT_DECLARED=1 -O tkAppInit.c
cc tkAppInit.o ../scotty-2.0.2/libscotty.a ../blt2.1/src/libBLT.a
../tcl-dp3.4b
2/libdp.a ../tk4.0/libtk.a ../tcl7.4/libtcl.a ../tk4.0/libtk.a
../tcl7.4/libt
cl.a -L/usr/openwin/lib -lX11 -lsocket -lnsl -lm \
-o bigwish
Undefined first referenced
symbol in file
dn_expand ../scotty-2.0.2/libscotty.a(dns.o)
_res ../scotty-2.0.2/libscotty.a(dns.o)
res_mkquery ../scotty-2.0.2/libscotty.a(dns.o)
dn_skipname ../scotty-2.0.2/libscotty.a(dns.o)
res_send ../scotty-2.0.2/libscotty.a(dns.o)
res_init ../scotty-2.0.2/libscotty.a(dns.o)
ld: fatal: Symbol referencing errors. No output written to bigwish
*** Error code 1
make: Fatal error: Command failed for target `bigwish'