Thx Fahimeh and Nicholas
I have modified the Makefile.in, i have added tcp/tcp-fack.o, but i
have another problem :
tcp/tcp-fack.o: In function `ScoreBoard::ScoreBoard(ScoreBoardNode*, int)':
int)]+0x8): undefined reference to `vtable for
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1
And thx for the tutorial Fahimeh i will read it 2morrow.
Quoting nicholas mbonimpa nmboni...@gmail.com:
Thanks a lot for the correction.
On Tue, Aug 16, 2011 at 6:20 PM, Fahimeh Akbari fahimeh...@yahoo.comwrote:
with thanks from Nicholas, I suggest you that modify makefile.in instead
of makefile, according to Nicholas help. I attached you a .pdf file that is
so usefull in creating a new agent and adding it to in NS. please read the
needed changes part of it that explains how to add your new agent to ns.
your sincerely: Fahimeh
*From:* nicholas mbonimpa nmboni...@gmail.com
*To:* Fahimeh Akbari fahimeh...@yahoo.com
*Cc:* Loukman NAJDI loukman.na...@utt.fr; ns-users@ISI.EDU
*Sent:* Tuesday, August 16, 2011 3:51 PM
*Subject:* Re: [ns] Agent creation problem
As Fahimeh said, you've most probably not gone through all the necessary
steps of adding a new agent.
Most importantly, you need to modify the Makefile in the ns-2.34 (or your
version of ns-2) directory and include tcp-Fack.o, then run make again to
create an executable for your agent.
I hope that will help.
On Tue, Aug 16, 2011 at 11:20 AM, Fahimeh Akbari
please explain your steps for defining your new agent and adding it to NS.
From: Loukman NAJDI loukman.na...@utt.fr
Sent: Tuesday, August 16, 2011 6:57 AM
Subject: [ns] Agent creation problem
When i have created a new agent in ns2-2.34, the make depend and make
options are passed succesfully, after that when itry to run my TCL
code an error occur :
[code omitted because of length]
: invalid command name Agent/TCP/Fack
Agent/TCP/Fack set ss-div4_ false
any idea ?