[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please Help ~~ I can't install NS-simulator
Hi Jongil,
----------
> From: Jongil, Park <[email protected]>
> To: [email protected]
> Subject: Please Help ~~ I can't install NS-simulator
> Date: Saturday, August 09, 1997 2:08 AM
>
> Dear, friends.
> During Installation, I get following message.
> I don't know cause of this message....
> Please help me.
>
----------------------------------------------------------------------------
---
>
> c++ -static -o ns -I/home/Tcl-1.0a6 -mv8 -msupersparc -D__svr4__
> -DUSE_SHM -DNO_TK -O2 scheduler.o ns_tclsh.o object.o classifier.o
> classifier-addr.o
> classifier-mcast.o replicator.o packet.o connector.o agent.o cbr.o
> misc.o
> delay.o queue.o drop-tail.o random.o trace.o tcp.o tcp-sink.o
> tcp-reno.o
> tcp-newreno.o tcplib-telnet.o red.o route.o loss-monitor.o message.o
> ivs.o scoreboard.o
> tcp-sack1.o session-rtp.o rtp.o rtcp.o gen/version.o gen/ns_tcl.o
> -R/home/Tcl-1.0a6 -L/home/Tcl-1.0a6 -lTcl -R/usr/local/lib
> -L/usr/local/lib -lotcl -ltcl
> -lsocket -lnsl -lintl
> Undefined first referenced
> symbol in file
> dlclose /usr/lib/libnsl.a(netdir.o)
> dlsym /usr/lib/libtcl.a(tclLoadDl.o)
> dlopen /usr/lib/libtcl.a(tclLoadDl.o)
> dlerror /usr/lib/libtcl.a(tclLoadDl.o)
> ld: fatal: Symbol referencing errors. No output written to ns
> --
The four missing functions are all in libdl.so (you can find this out with
"nm libdl.so"), which appears to be missing for some reason in your script.
As a quick & dirty solution, try adding "-ldl" after "-lintl" in your
Makefile. Seems like the configure script doesn't generate a properly
designed Makefile in your case.
-Chris.