Hi,
Workaround of this problem is to manually edit files
tools/ranvar.cc
mobile/nakagami.cc
and simply erase namespace part (the one before ::). Works for me (openSuse
11.3)
P.S. Sorry for my English.
ashwinipatankar wrote:
Hi All,
Recently I was trying to install ns2 all in one on fedora 14 and open suse
11.3. And this is the error I got:
tools/ranvar.cc: In member function ‘virtual double
GammaRandomVariable::value()’:
tools/ranvar.cc:219:70: error: cannot call constructor
‘GammaRandomVariable::GammaRandomVariable’ directly
tools/ranvar.cc:219:70: error: for a function-style cast, remove the
redundant ‘::GammaRandomVariable’
make: *** [tools/ranvar.o] Error 1
Ns make failed!
Any one having any idea about this ?? I think the compiler got upgraded
just
like in the case of xgraph Error: getline is defined here and passing
wrong
arguments, so I just change the getline function in the specific files by
function my_getline (name only).
If any one having any idea then please make me know.
Thanks and Regards,
Ashwini Shankar Patankar
--
View this message in context:
http://old.nabble.com/Installation-Error-on-Fedora-14-and-OpenSuse-11.3-tp30141156p30502779.html
Sent from the ns-users mailing list archive at Nabble.com.