Hello. I am a Korean student.
I find a mistake in your Web page. It is "Ns by example" (http://perform.wpi.edu/NS/new_app_agent.html) (My ns is ns-2.1b6a) I have downloaded "mm-app.h", "mm-app.cc", "udp-mm.h" and
"udp-mm.cc". And I tried to compile those files.
But I failed.
I have inserted lines "mm-app.o udp-mm.o" in "Makefile". But it is invalidity. Compile is fail. It means, compiling of "mm-app.cc" and "udp-mm.cc" is can't be done by "Makefile". So, I have tried compiling with
"gcc -c mm-app.cc" or "gcc -c -I(...full path of directories it have include files...) mm-app.cc". But It all failed. I saw error messages only.
Isn't it has any error in "mm-app.h", "mm-app.cc", "udp-mm.h"
and "udp-mm.cc"?
The example which in "http://perform.wpi.edu/NS/new_app_agent.html"
is all failed. No example runs well.
I want adding new application and agent on ns-2.
"http://perform.wpi.edu/NS/new_app_agent.html"
is try to explain adding. But it dosen't correct.
Please help me how do me slove this
problem.
|