Error:
make: *** No rule to make target `tcp/linux/tcp_naivereno.cc', needed by `depend'. Stop.
Solution:
edit file “ns-allinone-2.33/ns-2.33/Makefile.in”
...
OBJ_CC = \
...
tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o \
- tcp/linux/tcp_naivereno.o\
- tcp/linux/src/tcp_cong.o\
- tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux /src/tcp_htcp.o tcp/linux/src/tcp_scalable.o src/tcp_cubic.o\
- tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o\
- tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o \
- tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o\
- tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o\
+ tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o \
tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o \
...
-OBJ_C =
+OBJ_C = \
+ tcp/linux/tcp_naivereno.o\
+ tcp/linux/src/tcp_cong.o\
+ tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o\
+ tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o\
+ tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o \
+ tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o\
+ tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o
make: *** No rule to make target `tcp/linux/tcp_naivereno.cc', needed by `depend'. Stop.
Solution:
edit file “ns-allinone-2.33/ns-2.33/Makefile.in”
...
OBJ_CC = \
...
tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o \
- tcp/linux/tcp_naivereno.o\
- tcp/linux/src/tcp_cong.o\
- tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux /src/tcp_htcp.o tcp/linux/src/tcp_scalable.o src/tcp_cubic.o\
- tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o\
- tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o \
- tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o\
- tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o\
+ tcp/scoreboard1.o tcp/tcp-linux.o tcp/linux/ns-linux-util.o \
tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o \
...
-OBJ_C =
+OBJ_C = \
+ tcp/linux/tcp_naivereno.o\
+ tcp/linux/src/tcp_cong.o\
+ tcp/linux/src/tcp_highspeed.o tcp/linux/src/tcp_bic.o tcp/linux/src/tcp_htcp.o tcp/linux/src/tcp_scalable.o tcp/linux/src/tcp_cubic.o\
+ tcp/linux/src/tcp_westwood.o tcp/linux/src/tcp_vegas.o tcp/linux/src/tcp_hybla.o\
+ tcp/linux/src/tcp_illinois.o tcp/linux/src/tcp_yeah.o \
+ tcp/linux/src/tcp_veno.o tcp/linux/src/tcp_compound.o tcp/linux/src/tcp_lp.o\
+ tcp/linux/ns-linux-c.o tcp/linux/ns-linux-param.o
hello sir
ReplyDeletei am getting following error when i edited Makefile
makefile:348: *** Commands Commence before first target. stop.
please help me out
Hi,
DeletePlease check Makefile for declaration of object file name and location.
hello sir.
ReplyDeletei am new to ns2... i have installed ns2.34 in fedora10 in workstation.
i have editted Makefile.in as per your instructions.. but i am still getting same error while using "make depend" command
make: *** No rule to make target `tcp/linux/tcp_naivereno.cc', needed by `depend'. Stop.
can u specify filename and error n line no that need to be rectified