LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2014, 11:57 AM   #1
anbarasisekar
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
what to do for following error while installing ns2.35 in fedora 20?


what to do for following error while installing ns2.35 in fedora 20?
linkstate/ls.h:137:58: note: declarations in dependent base ‘std::map<int, LsIdSeq, std::less<int>, std::allocator<std:air<const int, LsIdSeq> > >’ are not found by unqualified lookup
linkstate/ls.h:137:58: note: use ‘this->erase’ instead
make: *** [linkstate/ls.o] Error 1
Ns make failed!
 
Old 07-15-2014, 12:05 PM   #2
urbanwks
Member
 
Registered: Sep 2003
Distribution: Slackware64-Current, FreeBSD 11.0
Posts: 128

Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by anbarasisekar View Post
what to do for following error while installing ns2.35 in fedora 20?
linkstate/ls.h:137:58: note: declarations in dependent base ‘std::map<int, LsIdSeq, std::less<int>, std::allocator<std:air<const int, LsIdSeq> > >’ are not found by unqualified lookup
linkstate/ls.h:137:58: note: use ‘this->erase’ instead
make: *** [linkstate/ls.o] Error 1
Ns make failed!
a google search of 'ns "linkstate/ls.h:137:58: note: use ‘this->erase’ instead"' gave me this page. it's directed at ubuntu, but the change should work anywhere. specifically:

Quote:
Open the file (~ns-2.35/linkstate/ls.h) using gedit or vi or vim and in line number 137 and change the following line
void eraseAll() { erase(baseMap::begin(), baseMap::end()); }
to
void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }
http://www.nsnam.com/2013/10/install...-2-ns-235.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in installing ns2 2.35 in fedora 14 moptasim Linux - Software 4 12-06-2013 10:55 AM
Problems in installing ns2 2.35 in fedora 14 moptasim Linux - Software 1 12-05-2013 04:20 AM
Error in installing ns2.31 ines8989 Linux - Networking 9 06-19-2013 12:41 PM
Sir, While installing ns2.34 on fedora 16 got the error : trace/cmu-trace.cc 1327:22 jeevanpinto Linux - Newbie 2 06-28-2012 04:35 AM
Problem in installing NS2 in fedora 5 arunram Linux - Software 6 03-14-2009 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration