LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-06-2014, 12:20 PM   #16
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled

#14.

if i use gcc++-4.1, i must change cc = @cc@ to gcc-4.1 in ns2.34/otcl/makefile.in,right?

how about the other routing protocol in ns2.34 that use gcc++-4.3?

i cant attach so i use this link

http://www.mediafire.com/view/4vuyxy...DSR90n.tcl.txt
 
Old 06-06-2014, 02:11 PM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 16 .

Noting related to ns2 is "using gcc++-4.3".
{gcc-4.3 / g++-4.3} was OK for building ns-2.3x until about April? 2011.
Then the OS was updated, and you had to use "4.1" : Old story.
* Warning : Do not rely on old instructions → →
→ They were valid only the day the were written : Things change.

! No routing protocol is using gcc !
* A tcl routing protocol uses an interpreter : The executable 'ns'.

* How to use a compiler :
cd ns-allinone-2.34/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install

!
! Do not edit any files, when using gcc-4.1 / g++-4.1
!

-
 
Old 06-11-2014, 02:08 AM   #18
s20
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Rep: Reputation: Disabled
cant read ragent_ variable

hello everyone.

please reply to my previous post regarding error as can't read ragent_ while executing dsr as routing protocol on wired-cum-wireless tcl script. i had attached it with my previous post.

DSR protocol running well with only wireless scenario but it shows above error for wired-cum-wireless topology

urgently need ur help.

thanks and regards,
S20
 
  


Reply

Tags
dsr, ns2


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
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 07:58 AM
"Permission denied " running any .sh file mamunbabu2001 Linux - Newbie 9 09-24-2009 01:09 PM
tcl/expect stdout redirected to file stops (possibly due to a "@" in exp_send) cejennings_cr Programming 1 07-08-2009 07:01 PM
EXPECT/TCL: the "source" command and passing arguments qmqmqm Programming 4 04-02-2009 06:36 PM
Running "svn update" but modified, uncommited file remains kenneho Linux - Software 2 03-12-2008 10:16 AM


All times are GMT -5. The time now is 02:59 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