make error in re-building ns2
        Posted  
        
            by 
                user3702405
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user3702405
        
        
        
        Published on 2014-06-03T09:21:23Z
        Indexed on 
            2014/06/03
            9:24 UTC
        
        
        Read the original article
        Hit count: 361
        
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
© Stack Overflow or respective owner