Dear Reza,Create a new folder in the ns2.xx folder and place your .cc and .h 
file in that folder.Go to the makefile, and add this "(folder name)/(your .cc 
file name, with .o postfix)\ " after OBJ_CC = \ but before $(OBJ_STL).Once 
thats done, save your makefile. And run  the command "make clean", then "make 
depend", and finally "make".If no error are reported after the "make" command, 
then this means, your .cc and .h files have no error. And therefore a .o file 
will be created in your folder after you have run "make" command. Your new mac 
protocol is now ready to be used.
 
Jalaluddin Qureshi
Nanyang Technological University
http://www.cemnet.ntu.edu.sg--Forwarded Message Attachment--From: [EMAIL 
PROTECTED]: [EMAIL PROTECTED]: Mon, 21 Jul 2008 19:09:23 -0700Subject: [ns] Fw: 
how i can run new mac protocol in ns    helloi design a new mac protocol and i 
want to implement it in nsbut i can't.i can't use makefile command for this 
protocol.my problem is that i write the .h and .cc file for new protocol but i 
can't implement this protocol in nsplease help methanksreza mohammadi   
_________________________________________________________________
Easily publish your photos to your Spaces with Photo Gallery.
http://get.live.com/photogallery/overview

Reply via email to