LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2013, 03:19 AM   #31
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

# 30.

'libXp.so.6' : sudo apt-get install libxp6
 
Old 03-24-2013, 01:08 PM   #32
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Tracegraph

I got the following
Code:
libxp6 is already the newest version.
 
Old 03-24-2013, 03:54 PM   #33
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
# 32 .

Ubuntu 12.04 ?
I get no errors on the 32bits (i686) Ubuntu 12.04 with :
export LD_LIBRARY_PATH=./bin/glnx86 && ./trgraph


You can try adding the default LD_LIBRARY_PATH too :

export LD_LIBRARY_PATH=./bin/glnx86:/usr/lib/i386-linux-gnu && ./trgraph

-
 
Old 03-25-2013, 01:39 AM   #34
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Mine's 64bit
 
Old 03-25-2013, 04:44 AM   #35
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
# 34 : All ns2 is for a 32bits OS.

The most versions will however work on a 64bits OS.
But with reduced functionality. ( An inferior validate result.)

Tracegraph202 : You can install "ia32-libs" ( 315 packages.)
I.e. $ sudo apt-get update && sudo apt-get install ia32-libs

-
 
Old 03-25-2013, 09:53 AM   #36
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Tracegraph

Thankyou sir I got it installed but do you prefer I should install a 32 bit ubuntu because the tracegraph is not working as it should-that's visually not very sound and it gives errors while reading my trace file.
 
Old 03-26-2013, 12:31 PM   #37
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
# 36.

I don't think it will make any difference,
whether tracegraph is used on 32 or 64bits.
 
Old 03-27-2013, 06:25 AM   #38
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Thankyou Sir.
 
Old 04-05-2013, 10:50 AM   #39
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
NS2

Sir do you know how to add awgn channel to lte and umts and send video packets through both of these networks?
 
Old 04-07-2013, 12:39 PM   #40
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
MyEvalvid

Sir your post #15 in the following link
http://www.linuxquestions.org/questi...on-4175445965/
had two binaries do you think they'll work for ubuntu 12.04(64 bits), I found an example and I tried to run it,it gives
Code:
ns-mympeg: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory
 
Old 04-07-2013, 01:56 PM   #41
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
# 40.

Please read post #55 here ..
http://www.linuxquestions.org/questi...965/page4.html
I.e. the suggestion is to use myevalvid (not mympeg) for Linux.

And : The latest pagkage is myevalvid2-ns-2.28-ubuntu10-1_i386.deb
https://docs.google.com/file/d/0B7S2...it?usp=sharing

Don't know how you can have an Ubuntu OS with no libpcap, but here it is :
sudo apt-get install libpcap0.8

Also : The above package works OK in Ubuntu 12.10 - 32 (i686).

-
 
Old 04-09-2013, 10:32 AM   #42
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
MyEvalvid

Sir,a couple of queries:
1.If I install the .deb package you mentioned in the previous post, shall that be enough or do I have to go through whole of the ns-2.28 procedure?
2.I did try to follow the procedure in http://www.linuxquestions.org/questi...965/page4.html (post #46 and #47), If I install without using the command
Code:
export CC=gcc41 CXX=g++41
or
Code:
export CC=gcc34 CXX=g++34
I get the the following error:
Code:
checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
configure: error: /bin/bash ./config.sub x86_64-unknown-linux-gnu failed
otcl-1.9 configuration failed! Exiting ...
and if I use any of these commands I get :
Code:
checking whether the C compiler (gcc41  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
tcl8.3.2 configuration failed! Exiting ...
Somebody else had a similar error in http://www.linuxquestions.org/questi...0-04-a-842773/ and after reading your responses to that , things look far more complex.
 
Old 04-09-2013, 11:24 AM   #43
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
# 42.
Quote:
Invalid configuration `x86_64-unknown-linux-gnu'
Ns2 is for a 32bits OS, not 64bits. 'myevalvid'+ns-2.28 can be installed,
but with an inferior validate result. A workarround ns228, post #2 here
http://www.linuxquestions.org/questi...-4175454946/#2

The package myevalvid2-ns-2.28-ubuntu10-1_i386.deb is also for a 32bits OS,
and you cannot use it for your 64bits Ubuntu 12.04.

64bits packages : myevalvid-ns-2.28-ubuntu12_amd64.deb
https://docs.google.com/file/d/0B7S2...it?usp=sharing
and myevalvid2-ns-2.28-ubuntu1110_amd64.deb :
https://docs.google.com/file/d/0B7S2...it?usp=sharing

The package will do : No ns-allinone-2.xx is required.

-
 
Old 04-10-2013, 11:02 AM   #44
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
MyEvalvid

Sir this new .deb package is not getting installed because I have a previous ns-myevalvid for 32 bit installed, I tried some commands for removing the previous binary , they're not working.I gave the following command to remove the .deb file
Code:
sudo dpkg -r myevalvid2-ns-2.28-ubuntu10-1_i386
which's not working too.
 
Old 04-10-2013, 11:18 AM   #45
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Eurane

......and one more question if a trace file of a umts tcl file gives some lines written as
...............r 0.035004 7 6 tcp 40 ------- 0 7.0 2.0 0 0
+ 0.035004 6 5 tcp 40 ------- 0 7.0 2.0 0 0
- 0.035004 6 5 tcp 40 ------- 0 7.0 2.0 0 0
+ 0.159013 0 1 smac 40 -------- 0 -1.-1 -1.-1 -1 0 1
- 0.140015 1 0 xcp 40 -------- 0 2.0 7.0 0 1 0
- 0.050008 5 4 LMS_SETUP 40 ------- 0 7.0 2.0 0 0
r 0.050008 6 5 tcp 40 ------- 0 7.0 2.0 0 0
+ 0.050008 5 4 tcp 40 ------- 0 7.0 2.0 0 0
- 0.050008 5 4 tcp 40 ------- 0 7.0 2.0 0 0...............

where to me smac,xcp and lms_setup are alien; do you think I've not patched correctly and I should do it again?
 
  


Reply

Tags
gprs-ns2#20, lte, ns2, tracegraph, ubuntu 12.04


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
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Software 4 10-02-2013 12:09 AM
how to install both ns2.28 and ns2.34 versions on ubuntu 10.04? popoaung Linux - Software 3 06-10-2013 04:52 PM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:46 PM.

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