Re: Scotty trouble with Tcl-My-Fancy

Erik Schoenfelder (schoenfr@gaertner.de)
Mon, 10 Jun 96 17:36:34 +0200

Hi!

MM> cc tkAppInit.o ../scotty-2.0.2/libscotty.a ../blt2.1/src/libBLT.a
MM> ../tcl-dp3.4b
MM> 2/libdp.a ../tk4.0/libtk.a ../tcl7.4/libtcl.a ../tk4.0/libtk.a
MM> ../tcl7.4/libt
MM> cl.a -L/usr/openwin/lib -lX11 -lsocket -lnsl -lm \
MM> -o bigwish
MM> Undefined first referenced
MM> symbol in file
MM> dn_expand ../scotty-2.0.2/libscotty.a(dns.o)
MM> _res ../scotty-2.0.2/libscotty.a(dns.o)
MM> res_mkquery ../scotty-2.0.2/libscotty.a(dns.o)
MM> dn_skipname ../scotty-2.0.2/libscotty.a(dns.o)
MM> res_send ../scotty-2.0.2/libscotty.a(dns.o)
MM> res_init ../scotty-2.0.2/libscotty.a(dns.o)
MM> ld: fatal: Symbol referencing errors. No output written to bigwish
MM> *** Error code 1
MM> make: Fatal error: Command failed for target `bigwish'

add -lresolv to the linker commandline eg. after -lm.

Erik