Re: Scotty trouble with Tcl-My-Fancy

Doug Hughes (Doug.Hughes@Eng.Auburn.EDU)
Mon, 10 Jun 1996 12:36:46 -0500

>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'
>
>
>

add -lresolv to the list of linker flags and those should go away.

--
____________________________________________________________________________
Doug Hughes					Engineering Network Services
System/Net Admin  				Auburn University
			doug@eng.auburn.edu
		Pro is to Con as progress is to congress