LinuxQuestions.org
Visit Jeremy's Blog.
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 05-27-2014, 03:22 AM   #1
sachini
LQ Newbie
 
Registered: May 2014
Posts: 2
Blog Entries: 1

Rep: Reputation: Disabled
having trouble when compiling OLSR.cc in ns2.35


Hi

I have installed ns2.35 in ubuntu and patched olsr protocol. when i m trying to compile OLSR.cc file it gives me an error saying,

"OLSR.cc:29:23: fatal error: olsr/OLSR.h: No such file or directory
compilation terminated.
"

please anyone give me a solution...
 
Old 05-27-2014, 06:31 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Welcome to LQ.

Building ns-2.35 + OLSR :
$ cd ns-allinone-2.35/ns-2.35/
$ tar xvf um-olsr-1.0.tgz
$ ln -s um-olsr/ olsr
$ patch -p1 < olsr/um-olsr_ns-2.35_v1.0.patch
$ cd ../
$ ./install

Important : You cannot compile a file separately in ns2.
And using './configure' in ns-2.35/ will often fail.
! The safe way is to run ./install in the top directory.

OLSR info http://www.linuxquestions.org/questions/tags/olsr/

-

Last edited by knudfl; 05-27-2014 at 07:01 AM.
 
1 members found this post helpful.
Old 05-27-2014, 09:59 AM   #3
sachini
LQ Newbie
 
Registered: May 2014
Posts: 2
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I m new to ns2. so I didn't know about it.

Thank You very much..
 
  


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
[SOLVED] Cannot patch UM-OLSR in NS2.35 sudee1990 Linux - Newbie 2 04-01-2014 12:27 PM
olsr.tcl with ns2.35 Suhaila Linux - Software 6 03-10-2014 11:16 AM
OLSR evaluation using NS2 ddebbie90 Linux - Software 0 06-19-2013 01:44 AM
OLSR implementation in NS2 Ashish Kots Linux - Wireless Networking 2 05-18-2013 05:25 AM


All times are GMT -5. The time now is 04:53 AM.

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