error in configuring ns2.33 using make command
in my project i am using ns2.33 on fedora 16 & i have to make some changes in makefile.in.To incorporate these changes i have to compile ns2 again so i make use of following commands
1) ./configure 2)make clean 3) make and everytime i make use of make command i get following error tools/ranvar.cc: In member function ‘virtual double GammaRandomVariable::value()’: tools/ranvar.cc:219:70: error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly [-fpermissive] tools/ranvar.cc:219:70: error: for a function-style cast, remove the redundant ‘::GammaRandomVariable’ [-fpermissive] make: *** [tools/ranvar.o] Error 1 |
The commands should be :
0) export CC=gcc34 CXX=g++34 1) ./configure 2)make clean 3) make . |
All times are GMT -5. The time now is 08:31 PM. |