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
 
LinkBack Search this Thread
Old 03-25-2012, 11:07 AM   #16
lucky89
LQ Newbie
 
Registered: Mar 2012
Posts: 19

Rep: Reputation: Disabled

hi
thanks
i used the olsr_exemple.tcl from http://masimum.inf.um.es/fjrm/wp-upl...sr_example.tcl
it is an exemple simulation of OLSR
 
Old 09-17-2012, 02:37 PM   #17
nirvruti
LQ Newbie
 
Registered: Sep 2012
Posts: 14

Rep: Reputation: Disabled
ns2.33 on ubanto 12.04

Error
ggetting otcl failed error Existing when trying to install ns2.33 on uantu 12.04
 
Old 09-17-2012, 03:30 PM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,199

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Post # 17, @nirvruti.

Suggest : Use gcc / g++ version 4.1.2 :

gcc41-compat "1204" https://docs.google.com/open?id=0B7S...lNURldUenRyb3c
g++41-compat https://docs.google.com/open?id=0B7S...hjMjljN2M2MGU4

sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb
.. Then reboot, and the new compiler can be used :

cd ns-allinone-2.33/ && export CC=gcc41 CXX=g++41 && ./install

.
 
1 members found this post helpful.
Old 09-17-2012, 09:35 PM   #19
John VV
Guru
 
Registered: Aug 2005
Posts: 12,108

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
knudfl
you look like a bit of an expert on NS2 ( and the various versions )

do you have an idea WHY so many are using 2.29 and older versions other than 2.34
(and not patching it to work with gcc41)
and why ns2 and on NEW os's ( the new os part is easy )

a "guess" is some 10 year old textbooks
and unqualified ( in Linux)teachers
 
Old 09-18-2012, 01:52 PM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,199

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
# 19

Hi John.

Most of the available extra patches / protocols are written for ns2
versions 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 ( 2.34 ).
The source code files are c++ files.

Thus the easy way is to use the ns2 version that the patch was meant for.
In very rare occasions, an LQ member will modify the code to a later ns2.

About the protocols that teachers will suggest : Don't know.
But may be the teachers will assign an ns2 protocol,
that they used 10 years ago, when they were students.

.
 
  


Reply

Tags
g++41-compat, g++41-compat-12, g++41-compat-1204, g++42-compat


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2.34 installation help in Ubuntu 10.10 xptional Ubuntu 37 02-05-2014 05:01 AM
how to install ns2 in ubuntu 11.10 miu Linux - Networking 20 10-31-2013 02:50 PM
ns2.29 installation in ubuntu bolmeteus Ubuntu 4 02-08-2011 01:46 PM
NS2 2.34 Ubuntu abc Linux - Networking 14 09-16-2010 05:58 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration