make command

22 views
Skip to first unread message

science computer

unread,
Oct 15, 2023, 1:11:15 PM10/15/23
to Network Simulator 2 (NS2)
Hi again 
 when I run:
~/ns-allinone-2.35/ns-2.35$ make
 I got his error 
make: *** No rules for making target "dsrc/dsrc.cc", needed for "dsrc/dsrc.o". Stop.
any Idea !!!

knudfl

unread,
Oct 15, 2023, 1:30:48 PM10/15/23
to Network Simulator 2 (NS2)
no ns-2.35/dsrc/ ?

$ cd ns-allinone-2.35/
$ patch -p0 < Vanet-Wave1609.r2_ns235.patch
patching file ns-2.35/common/packet.h
patching file ns-2.35/dsrc/channel_sched.cc
patching file ns-2.35/dsrc/channel_sched.h
patching file ns-2.35/dsrc/dsrc_app.cc
patching file ns-2.35/dsrc/dsrc_app.h
patching file ns-2.35/dsrc/dsrc.cc
patching file ns-2.35/dsrc/dsrc_const.h
patching file ns-2.35/dsrc/dsrc.h
patching file ns-2.35/dsrc/round_robin.cc
patching file ns-2.35/dsrc/round_robin.h

patching file ns-2.35/mac/mac-802_11Ext.cc
patching file ns-2.35/mac/mac-802_11Ext.h
patching file ns-2.35/mac/mac.h
patching file ns-2.35/mac/wireless-phyExt.cc
patching file ns-2.35/mac/wireless-phyExt.h
patching file ns-2.35/Makefile.in
patching file ns-2.35/tcl/lib/ns-default.tcl
patching file ns-2.35/tcl/lib/ns-packet.tcl
patching file ns-2.35/trace/cmu-trace.cc
........  If any doubt, do not run make, but  'export CC=gcc-4.8 CXX=g++-4.8 && ./install'  in ns-allinone-2.35

science computer

unread,
Oct 15, 2023, 1:35:30 PM10/15/23
to Network Simulator 2 (NS2)
No, I haven't dsrc at all 

knudfl

unread,
Oct 15, 2023, 1:45:43 PM10/15/23
to Network Simulator 2 (NS2)
"No, I haven't dsrc at all"
Is that a question ?   If you want an answer, please tell what you did.
Note : Conditions for $ patch -p0 < Vanet-Wave1609.r2_ns235.patch :  A copy of the file Vanet-Wave1609.r2_ns235.patch, 50.3kB inside the ns-allinone-2.35/ folder.
Message has been deleted

science computer

unread,
Oct 15, 2023, 2:55:37 PM10/15/23
to Network Simulator 2 (NS2)
Thank's sir there is no error now
Reply all
Reply to author
Forward
0 new messages