LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-24-2015, 11:10 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

Ref. #15.

Please tell what you have done, and what you want to do.
 
Old 03-25-2015, 12:25 AM   #17
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Ref. #15.

Please tell what you have done, and what you want to do.
I had modified original AODV code, but I had put all modified code of AODV into another folder named IAODV ,now I want to recompile NS-2 so that it can recognize my new protocol named IAODV, how to do that ???

Thanks a lot in advance
 
Old 03-25-2015, 08:06 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
IAODV
? I guess you mean ns-2.35/iaodv/ ... and not IAODV.

Adding objects : The usual :
Read the Makefile.in to learn how it's done :

Add some lines to Makefile.in section OBJ_CC :
<TAB>iaodv/aodv_logs.o iaodv/aodv.o \
<TAB>iaodv/aodv_rtable.o iaodv/aodv_rqueue.o \


-
 
Old 03-25-2015, 11:55 AM   #19
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
? I guess you mean ns-2.35/iaodv/ ... and not IAODV.

-
yes i mean iaodv only
i had added this lines

iaodv/iaodv_logs.o iaodv/iaodv.o \
iaodv/iaodv_rtable.o iaodv/iaodv_rqueue.o \

is it not right because according to your reply it is iaodv/aodv_logs.o iaodv/aodv.o \
 
Old 03-27-2015, 10:15 AM   #20
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
? I guess you mean ns-2.35/iaodv/ ... and not IAODV.

Adding objects : The usual :
Read the Makefile.in to learn how it's done :
-
knudfl SIR I am waiting for your reply
 
Old 03-27-2015, 10:44 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. post #20.

? What is your question ?
 
Old 03-27-2015, 11:55 AM   #22
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Ref. post #20.

? What is your question ?
yes i mean iaodv only
i had added this lines

iaodv/iaodv_logs.o iaodv/iaodv.o \
iaodv/iaodv_rtable.o iaodv/iaodv_rqueue.o \

is it not right because according to your reply it is iaodv/aodv_logs.o iaodv/aodv.o \
 
Old 03-27-2015, 04:41 PM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
My example is of of course a pure guess,
as you didn't supply the usual required information.

Please read .... again ..
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html
I.e. you are supposed to supply all relevant information.
Every time you ask a question.
 
Old 03-28-2015, 06:01 AM   #24
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
About your duplicate post here
http://www.linuxquestions.org/questi...on-4175538024/
( Duplicate posts are not allowed at LQ.)

? Why don't you just setup a couple more ns-allinone-2.35 ?
The only way you will know if your new files will work is by doing.
Not by asking.
Your files are unknown. Only you can test the files.

Doesn't matter if you fail the first couple of ns-allinone-2.35 builds.
That's called learning by doing. And by failing you will learn more.


Besides that, your duplicate post is missing the essential information :
The file names.


-
 
  


Reply

Tags
iaodv, ns2



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
[SOLVED] sumo,move nd ns2.35 installation in ubuntu 12.4 praveensalagar Linux - Newbie 7 08-20-2014 08:39 AM
NS2: How to set idle(sleeping) time to a node in wireless network in ns2 pon Linux - Newbie 0 08-19-2014 06:45 PM
How to Install MOVE and SUMO on ubuntu 12.10 with ns2.35 sumegha13 Linux - Software 11 03-21-2014 01:35 AM
NS2: Require eap-sim authentication code for simulation in ns2.24 noamankhatib Linux - Software 0 04-29-2013 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:31 AM.

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