LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Leach installation on ns2.35-- error after "make" command (https://www.linuxquestions.org/questions/linux-newbie-8/leach-installation-on-ns2-35-error-after-make-command-936598/)

supu 03-27-2012 12:11 AM

Leach installation on ns2.35-- error after "make" command
 
I am using ns2.35 and fedora 14 along with gcc version 4.5.1. I downloaded the mit.tar.gz package and followed instructions given on the forums.

This is the error i get after "make".

mac/ll.cc:244:13: error: redefinition of ‘void LL::hdr_dst(Packet*, int)’
./mac/ll.h:99:22: error: ‘virtual void LL::hdr_dst(Packet*, int)’ previously defined here
make: *** [mac/ll.o] Error 1

Im doing this on ns2.35 and not ns2.34. I've followed the instructions for installations on ns2.34.... Should I be making any alterations??
Please help.

Slackyman 03-27-2012 01:08 AM

Redefinitions errors are not critical most of the times, so maybe the error is another one.
Try checking the whole output to see if there's another error.

knudfl 03-27-2012 03:20 AM

Welcome to LQ.


The files in "mit.tar.gz" are for ns-2.27 .

Instructions for ns-2.34 / Fedora : posts #2, #9, #11 here
http://www.linuxquestions.org/questi...dora13-907076/


All times are GMT -5. The time now is 03:11 AM.