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

Allen J. Newton (anewton@sandia.gov)
Tue, 26 May 1998 13:18:11 -0600

Doug Hughes wrote:
> Date: Tue, 26 May 1998 13:23:19 -0500
> Subject: Re: [tkined] How to install Tcl/Tk8.0 Sun package + Scotty?

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

I concur. I forgot to mention that. Thanks, Doug.

-- 
Allen J. Newton  (anewton@sandia.gov)  |  Voice:  505/844-7037
Sandia National Laboratories           +    FAX:  505/844-2067
P.O. Box 5800, MS-0807                 |
Albuquerque, NM 87185-0807             -----------------------
--
!! 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.