From owner-freebsd-questions Mon Oct 15 21:59:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp001pub.verizon.net (smtp001pub.verizon.net [206.46.170.180]) by hub.freebsd.org (Postfix) with ESMTP id 1456037B40D for ; Mon, 15 Oct 2001 21:59:47 -0700 (PDT) Received: from verizon.net (lsanca1-ar14-096-036.lsanca1.dsl.gtei.net [4.41.96.36]) by smtp001pub.verizon.net with ESMTP for ; id f9G4xZr10640 Mon, 15 Oct 2001 23:59:35 -0500 (CDT) Message-ID: <3BCBBEA2.7C44A70C@verizon.net> Date: Mon, 15 Oct 2001 21:59:14 -0700 From: Shill Reply-To: Shill X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: nam build fails (cannot find -lnsl) on FreeBSD 4.4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG $ uname -a FreeBSD cabernet.cs.ucla.edu 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Wed Oct 10 13:03:42 PDT 2001 root@cabernet.cs.ucla.edu:/usr/src/sys/compile/SMP i386 The problem has already been documented: http://www.isi.edu/nsnam/archive/ns-users/webarch/current/msg02326.html I was trying to build nam as part of the ns-allinone-2.1b8 distribution. c++ -o nam tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o node.o main.o trace.o queue.o drop.o animation.o agent.o feature.o route.o transform.o paint.o state.o monitor.o anetmodel.o random.o rng.o view.o graphview.o netgraph.o tracehook.o lan.o psview.o group.o editview.o tag.o address.o animator.o wnetmodel.o nam_stream.o enetmodel.o testview.o parser.o trafficsource.o gen/version.o gen/nam_tcl.o -L/home/abalk/ns-allinone-2.1b8/tclcl-1.0b11 -ltclcl -L/home/abalk/ns-allinone-2.1b8/otcl-1.0a7 -lotcl -L/home/abalk/ns-allinone-2.1b8/lib -ltk8.3 -L/home/abalk/ns-allinone-2.1b8/lib -ltcl8.3 -L/home/abalk/ns-allinone-2.1b8/zlib-1.1.3 -lz -L/usr/X11R6/lib -lXext -lX11 -lnsl -lm /usr/libexec/elf/ld: cannot find -lnsl *** Error code 1 Stop in /home/abalk/ns-allinone-2.1b8/nam-1.0a10. It seems GENERIC does not come with that library. What is it? Do I really need it or is another library compatible? Can I get it at the XFree site? Shill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message