Urgent !!!Please HELP !!!!! 
HI ALL,
I’m in very deep shit guys !!
I tried to apply this patch 
http://snad.ncsl.nist.gov/proj/iptel/ns2-sip-simulation/ns-2.1b9a.sip.patch to 
my ns-allinone-2.26 in order to implement SIP protocol
In this version.This project is critical for me because it’s the project of my 
diploma!!!!!
I tried to apply this patch located here with the command “patch -p0 < 
ns-allinone-2.1b9a.sip.patch” in the terminal but the cursor stop and I got 
nothing I waited for hours, the PC didn’t execute anything and the hard drive 
is not working!! But the PC didn’t block!!! And I could easily return to the 
command line [EMAIL PROTECTED] just typing ctrl+c.
So I tried to do this MANUALLY and I followed the instructions:
-first I modified the MAKEFILE.in by adding the line 
sip.o\sip_server.o\sip_tg.o\
-Second I modified the files agent.cc agent.h and packet.h as the tutorial do.
-I modified ns-default.tcl and ns-packet.tcl located on 
/root/Desktop/ns-allinone-2.26/ns-2.6/tcl/lib
-I create the files sip.h;sip.cc;sip_server.cc;sip_server.h;sip_tg.h;sip_tg.cc
-I typed ./configure
-I typed make on the ns-2.26 directory
 
And the PROBLEMS began!!
The files .o was correctly generated and putted in the directory /ns-2.26/sip 
because the .CC and .h files were putted there,BUT I got the message   invalid 
reference to ‘vtable SIPAGENT’ and other error which told me that my new agent 
SIPAGENT that I created is not referenced by my vtable!!
I thought that this was the cause of the virtual functions but all my functions 
were correct and well defined and declared!!
I ignored the message and I tried to test my implementation by the tcl files 
located on the same patch file like proxy_test.tcl for exemple I got the error 
which told me that the command “set sipA [new Agent/SIP jwjung www.nist.gov] “ 
is invalid and that NS is enable to create or “locate” my new agent “Agent/SIP” 
what the problem!!!!!!!!!!!!!!!!!!!!!!!!!
 
PLEASE I’m spending sleepless nights in this problem I loosed 10 KG of my 
weight and I’m really really sick!!!!
 
PLEASE HELP ME HELP ME HELP ME!!!
 
 
THANKS

Reply via email to