[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ns tutorial and indep-utils/cmu-scen-gen/setdest
Hi,
I am a graduate student at USC and am reading ns tutorial on the web. I have
current snapshot of ns built and followed instructions on Section XI.2. Creating
node-movements for wireless scenarios.
I run "make" under directory
/a/home/netlab1/jhong/ns/ns-2.1b5/indep-utils/cmu-scen-gen/setdest
and obtain the following errors
jhong@jalama[20] make
c++ -c -Dstand_alone -o rng.o ../../../rng.cc
In file included from ../../../rng.cc:49:
../../../config.h:55: tclcl.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `rng.o'
Exit 1
Line 55 of config.h is #include <tclcl.h> and tclcl.h is not in the same
directory of config.h. When I change path of the include line, some other errror
occurs.
Anyone can help me with this?
Thanks,
Jiatian Hong
[email protected]
Attach is the Makefile under ~/ns/ns-2.1b5/indep-utils/cmu-scen-gen/setdest
------------------------------------------------------------------------------
jhong@jalama[43] more Makefile
# Generated automatically from Makefile.in by configure.
#
# Copyright (c) 1999 by the University of Southern California
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation in source and binary forms for non-commercial purposes
# and without fee is hereby granted, provided that the above copyright
# notice appear in all copies and that both the copyright notice and
# this permission notice appear in supporting documentation. and that
# any documentation, advertising materials, and other materials related
# to such distribution and use acknowledge that the software was
# developed by the University of Southern California, Information
# Sciences Institute. The name of the University may not be used to
# endorse or promote products derived from this software without
# specific prior written permission.
#
# THE UNIVERSITY OF SOUTHERN CALIFORNIA makes no representations about
# the suitability of this software for any purpose. THIS SOFTWARE IS
# PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,
# INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# Other copyrights might apply to parts of this software and are so
# noted when applicable.
#
# Makefile for CMU mobile code scenario generation.
#
# $Header:
/usr/src/mash/repository/vint/ns-2/indep-utils/cmu-scen-gen/setdest/Makefile.in,
v 1.2 1999/08/14 00:18:48 haldar Exp $
CCX = c++
MKDEP = ../../../conf/mkdep
DEFINE = -Dstand_alone
CFLAGS =
LDFLAGS =
LIBS = -ldl -lm -ldl
all: setdest calcdest
setdest: rng.o setdest.o
$(CCX) -o setdest [email protected] rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \
$(LIBS)
calcdest: rng.o calcdest.o
$(CCX) -o calcdest [email protected] rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \
$(LIBS)
rng.o:
@rm -f $@
$(CCX) -c $(DEFINE) -o $@ ../../../rng.cc
setbox: setbox.o
$(CCX) -o setbox [email protected] $(LDFLAGS) $(CFLAGS) $(LIBS)
clean:
@rm -f setdest setbox *.o *.core
.SUFFIXES: .cc
.cc.o:
$(CCX) -c $(DEFINE) $(CFLAGS) -o $@ $*.cc
----------------------------------------------------------------------------