LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2014, 09:47 AM   #1
bhavinsorathiya
LQ Newbie
 
Registered: Jan 2014
Posts: 10
Blog Entries: 4

Rep: Reputation: Disabled
I add new protocol in ns-2 name "Multi-Level feedback Congestion Control Protocol"


I am using fedora 12 and using ns-allinone-2.33,when i run 'make depend' command in terminal it give me this error,

make: *** No rule to make target `tcp/tcp-qs.cc', needed by `depend'. Stop.

How i can solve this error?

please help i really need that.
 
Old 02-13-2014, 11:06 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
The 'make depend' command : You already did run 'make depend'
automatically : As part of the ./install command.

I don't know of any occasion where it should be run a second time.
( Though a lot of "instructions" wrongly say : run $ make depend ).

-
 
Old 02-13-2014, 11:15 AM   #3
bhavinsorathiya
LQ Newbie
 
Registered: Jan 2014
Posts: 10

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
I already install ns 2.33 and than i patch "Multi-Level feedback Congestion Control Protoco (MLCP)" in ns 2.33.

I follow instruction given in below link.

http://www.cs.pitt.edu/~ihsan/mlcp-0.1.tar.gz.

please give me reply.

Last edited by bhavinsorathiya; 02-14-2014 at 09:59 AM.
 
Old 02-14-2014, 10:30 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Well, the code compiles OK with ns-2.29.3, but the executable 'ns' is useless.
( Seems the code is buggy.)

And : Testing the "make depend" behaviour :
I get no errors with 'make depend' on any OS, so far.
Your error : The missing tcp/tcp-qs.cc :
!There is no tcp-qs.cc in ns-2.33! → → The Makefile.in is for ns-2.29 only.
( There may be other big differences from ns229 to ns233 ).

Build example ..
$ tar xvf ns-allinone-2.29.3.tar.gz
$ cd ns-allinone-2.29/ && tar xvf mlcp-ns229-patching-0.1.tar.gz
$ export CC=gcc<?> CXX=g++<?> && ./install (No errors)
.. Where gcc/g++ is version 4.1.2 or 3.4.6 .
.. And : mlcp-ns229-patching-0.1.tar.gz is a "new package of the mlcp files",
to make things easier.

-
 
Old 02-14-2014, 10:42 AM   #5
bhavinsorathiya
LQ Newbie
 
Registered: Jan 2014
Posts: 10

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
so it is not possible to patch MLCP in ns 2.33?
if i have tcp-qs.cc file than where i copy this file in ns 2.33?
 
Old 02-14-2014, 11:24 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
# 5 .
Quote:
so it is not possible to patch MLCP in ns 2.33 ?
Not directly. Some files must be edited.

And so far the code isn't working with the ns229 it was meant for.
See post #4 : "the executable 'ns' is useless."


Quote:
if I have tcp-qs.cc file than where I copy this file in ns 2.33 ?
Please read post #1 : tcp/tcp-qs.cc :
That's ns-2.33/tcp/{tcp-qs.cc}
.. But don't expect it to work. Unpack an ns-allinone-2.29.3.tar.gz and have a look:
The tcp/ in ns-2.33 is totally different from the ns-2.29 version.

-
 
Old 02-15-2014, 10:06 AM   #7
bhavinsorathiya
LQ Newbie
 
Registered: Jan 2014
Posts: 10

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
Thank you knudfl for your response.
 
  


Reply

Tags
mlcp, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I add new protocol in ns-2 name "binary marking congestion protocol(bmcc )" bhavinsorathiya Linux - Software 10 01-16-2014 08:18 AM
Linux kernel "tcp_cubic" algorithm for congestion control pologuy Linux - Kernel 0 04-20-2012 09:53 AM
"socks5" -> "http" proxy protocol, or ssh tunnel to sock5 ? I'm beyond http p vmicho Linux - Networking 2 12-16-2003 05:32 AM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration