LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-05-2011, 09:35 AM   #1
MounaRM
Member
 
Registered: Nov 2010
Posts: 35

Rep: Reputation: 14
Help with NS2.34


Hello my friends .

I hope you will help me cause I'm suffring with NS2 (version 2.34 )!!
Actually , I've 2 questions :
first :
I tried to install NS2.34 on ubuntu 11.04 , it won't work !!
I installed the GCC 4.3 , and I modified the makefile.in in the ./ns-allinone-2.34/otcl-1.13 !
still I got this error :
Code:
tools/ranvar.cc:219:70: error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly
tools/ranvar.cc:219:70: error:   for a function-style cast, remove the redundant ‘::GammaRandomVariable’
make: *** [tools/ranvar.o] Error 1
Second :
I tried to install NS2.34 on ubuntu 9.10 .
this time the installation finished succefully .
but when I tried to run my new protocol , I've got this error :
Code:
trace/cmu-trace.o: In function `hdr_ant_pkt::access(Packet const*)':
cmu-trace.cc:(.text._ZN11hdr_ant_pkt6accessEPK6Packet[hdr_ant_pkt::access(Packet const*)]+0x7): undefined reference to `hdr_ant_pkt::offset_'
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1
I can locate the source of this error ,in fact , I have no "hdr_ant_pkt::access(Packet const*)" in "cmu-trace.cc"

I hope you will help me ,so I can,at least , work with one version .
Thanks alot .
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with NS2 MounaRM Linux - Networking 2 01-09-2011 09:14 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
weight throwing protocol using ns2 code,diffusion based protocol using ns2 code rajrupa Linux - Networking 1 05-27-2010 03:39 AM
ns2 sandhya_it17m Linux - Networking 2 01-11-2010 03:14 AM
ns2 md_imranullah LQ Suggestions & Feedback 2 01-25-2008 02:01 PM


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