[Ns-developers] Implementation of Routing Protocol in NS-2.28 ! {make error}

Francisco J. Ros fjros at um.es
Wed May 13 03:36:13 PDT 2009


Hi Shreyas,

Probably you're modifying Mafefile. In such case, do the same changes in 
Makefile.in instead (then run ./configure).

Regards,
fran

On Wednesday 13 May 2009 12:32:07 pm shreyas toro wrote:
> hi all,
> Shreyas Toro here...
> I am working on NS-2.28 installed on RedHat 9.0 ... My aim is to implement
> a new routing protocol for this simulator in wireless ad-hoc networks... I
> refered the "NS-HOW TO" manual to implement...  
>      When i do all the changes and when i run the make command... it is
> successful... but further in executing the tcl script i get "Wrong node
> Routing Agent !" error... 
>      One of my friend who works on ns-2 told me that after making the
> needed changes... i need to run "./configure" command and then execute the
> "make command... When i did this i got error during make command... The
> error is as posted below... 
>
> 
trace/cmu-trace.o(.gnu.linkonce.t._ZN17hdr_protoname_pkt6accessEPK6Packet+0xb: 
In function `hdr_protoname_pkt::access(Packet const*)':
> : undefined reference to `hdr_protoname_pkt::offset_'
>
> collect2: ld returned 1 exit status
> make: *** [ns] Error 1
> [root at localhost ns-2.28]#
>  
>      Please help me out... Is there any patch file to debug this error...
> please post me or help me find it ! 
> Regards,
>  
> Shreyas Toro
>
>
>       Cricket on your mind? Visit the ultimate cricket website. Enter
> http://beta.cricket.yahoo.com



-- 
Francisco J. Ros, Ph.D. Student
Dept. of Information and Communications Engineering
University of Murcia, Murcia (Spain)

http://masimum.inf.um.es/fjrm/



More information about the Ns-developers mailing list