[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] [Fwd: HELP ME....PLEASE]
Hi Aun,
[..]
hai22 wrote on Fri, Jun 22, 2001 at 10:15:25PM +1200:
[..]
> I downloaded the latest version of ns-2.1b8 and tried to install it .I
> am getting the follwoing error message about nam installation .Could
> any expert guy can help me ...
> Thanks a lot.
> Aun
[..]
> -ltcl8.3 -R../zlib-1.1.3
> -L/users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/zlib-1.1.3 -lz
> -R/usr/openwin/lib -L/usr/openwin/lib -lXext -lX11 -lnsl -ldl -lm -ldl
> Undefined first referenced
> symbol in file
> socket
> /users/cosc/studPHD/hai22/NEW-1/ns-allinone-2.1b8/lib/libtcl8.3.a(tclUnixChan.o)
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
[..]
This looks pretty obvious. You need to link with the socket library,
on Solaris systems. Add "-lsocket" to your library paths, and
it should work. tcl was already built with -lsocket and
references it. You could ask, why nam's configure-script
didn't realize that, and put it in for your automagically.
HTH,
Daniel
--
IRCnet: Mr-Spock - Work is for people, who don't surf -
*Daniel Lang * [email protected] * +49 89 289 25735 * http://www.leo.org/~dl/*