Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-05-2011, 09:35 AM   #1
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 in the ./ns-allinone-2.34/otcl-1.13 !
still I got this error :
tools/ error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly
tools/ 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 :
trace/cmu-trace.o: In function `hdr_ant_pkt::access(Packet const*)':[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 ""

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


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
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 > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration