Re: [tkined] How to install Tcl/Tk8.0 Sun package + Scotty?

Doug Hughes (Doug.Hughes@Eng.Auburn.EDU)
Tue, 26 May 1998 13:23:19 -0500

>
>I tried this (Doug Hughes kinda suggested it too) by using --enable-gcc as
>well as --enable-shared, but I still get link errors:
>
>scinfo@sunm2> make | & more
>gcc tclAppInit.o -L/export/sunm2_exec_1/sun4/opt/tcl8.0/unix -ltcl8.0 -ldl -lm
> -lc \
> -R /usr/local/lib -o tclsh
>Undefined first referenced
> symbol in file
>socket /export/sunm2_exec_1/sun4/opt/tcl8.0/unix/li
>btcl8.0.so
>getpeername /export/sunm2_exec_1/sun4/opt/tcl8.0/unix/li
>---8<---
>

Add -lsocket -lnsl to your link flags and those will go away.

--
____________________________________________________________________________
Doug Hughes					Engineering Network Services
System/Net Admin  				Auburn University
			doug@eng.auburn.edu

--
!! 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.