make error in re-building ns2
- by user3702405
I have implemented a new routing protocol named AODV2 in ns-2.35. I am using ns-2.35 in fedora 13. All .cc files have a .o file with them that means recompilation is done. But I am getting an error in response to the 'make' command. Error is shown below:
trace/cmu-trace.o: In function hdr_aodv2::access(Packet const*)':
cmu-trace.cc:(.text._ZN9hdr_aodv26accessEPK6Packet[hdr_aodv2::access(Packet const*)]+0x7): undefined reference tohdr_aodv2::offset_2'
collect2: ld returned 1 exit status
make: * [ns] Error 1
I don't know how to remove this error, Can anyone help me please?
Thanks,
Naeem