LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2014, 03:12 AM   #1
esthersangeetha
LQ Newbie
 
Registered: Mar 2014
Posts: 10

Rep: Reputation: Disabled
[code omitted because of length


Dear Sir/Madam,
I am using ns-allinone-2.34 in Fedora 18. While I run my nam file I am facing the following error.

[root@localhost ~]# nam yeho.nam
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[string equal [tk windowingsystem] "classic"]
|| [string equal [tk windowingsystem] "aqua"]} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {..."

Please help me to recover this
 
Old 09-30-2014, 12:01 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please install the nam package for CentOS6 / Fedora :

Post #2 here http://www.linuxquestions.org/questi...-4175517981/#2

$ cd Downloads/
# yum localinstall nam-1.14-*

And : Delete the nam you have in ns-allinone-2.34/nam-1.14/
( Or you can delete the complete nam-1.14/ folder.)

P.S. : You are not supposed to run nam with root.
The root prompt is for administrative tasks only !


-

Last edited by knudfl; 09-30-2014 at 12:09 PM.
 
1 members found this post helpful.
Old 09-30-2014, 01:14 PM   #3
esthersangeetha
LQ Newbie
 
Registered: Mar 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
thanks a lot. it works.
 
Old 09-30-2014, 01:21 PM   #4
esthersangeetha
LQ Newbie
 
Registered: Mar 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Dear Sir/Madam,
Is there any possibility to create a new protocol for wireless sensor network using ns2?? Please help me..
 
Old 09-30-2014, 01:51 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #4 .

Have you tried using the advised nrlsensorsim package ?
If you are a skilled c++ coder, you could try porting
the ns226 files to a later ns2 ...... as a start.

-
 
Old 12-17-2014, 11:46 PM   #6
esthersangeetha
LQ Newbie
 
Registered: Mar 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Dear Sir/Mam,
Is there any simple coding for hash classifier ?? I searched but i couldn't get..
 
Old 12-18-2014, 03:21 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #6 .

"hash classifier" :
ns-2.35/classifier/\
{ classifier-addr.cc classifier-mcast.cc
classifier-addr.h classifier-mcast.h
classifier-bst.cc classifier-mpath.cc
classifier.cc classifier-port.cc
classifier.h classifier-port.h
classifier-hash.cc classifier-qs.cc
classifier-hash.h classifier-qs.h
classifier-hier.cc classifier-virtual.cc
classifier-hier.h filter.cc
classifier-mac.cc filter.h }

... And tcl : cd ns-2.35/tcl/ && grep -Rin hash * >> hash.txt
.
Attached Files
File Type: txt hash.txt (5.3 KB, 21 views)
 
Old 12-18-2014, 04:18 AM   #8
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,467

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Just a hint, read this: How To Ask A Question and then try creating "New Thread" with a meaningful title for each new question you'll get better exposure and probably more answers.
 
  


Reply

Tags
nam-rpm, ns2, wsn


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
NS2.31 NAM problem - "[code omitted because of length]" shoosh Linux - Newbie 3 11-17-2015 06:41 AM
Extending NS-2.34 to include RCP - [code omitted because of length] : invalid command jnhun6 Linux - Networking 11 11-01-2012 06:55 AM
code omitted because of length in ns2.28(fedora 13) ravigorripati Linux - Networking 1 05-08-2012 12:52 AM
code omitted & invalid command naren123.k Programming 1 04-23-2011 02:39 PM
code omitted because of length newbie06 Linux - Newbie 0 03-13-2007 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 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
Open Source Consulting | Domain Registration