LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-11-2013, 05:14 AM   #1
Kavita bilimoria
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Rep: Reputation: Disabled
sir,can i transmitted video trace in ns-2.34 ?


Please anybody can help me to guide how can i transmited video in ns-2. i have install ns-2.34 can i transmited using it? pls hepl me...
 
Old 03-11-2013, 05:47 AM   #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
Welcome to LQ.

AFAIK, there are no "mpeg2" patches for ns-2.34. But then again :
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time.
Remark : Do not add any paths to .bashrc, .bash_profile.

MPEG2 http://www.linuxquestions.org/questi....php?p=4906377
Myvalvid2 http://www.linuxquestions.org/questi...965/page4.html
Binary packages : Post # 47. ( 'myevalvid2-ns-2.28-ubuntu10-1_i386.deb', 3.7 MB.)

-
 
Old 03-11-2013, 06:04 AM   #3
Kavita bilimoria
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
video transmission in NS2

sir,you give me link for 32bit ubuntu but i have installed Ubuntu 11.10 and OS is 64-bit....
what can i do for that?

Thank you...
 
Old 03-11-2013, 07:27 AM   #4
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
# 3 .

Ref. http://www.linuxquestions.org/questi...965/page4.html
There is an "amd64 package", myevalvid-ns-2.28-ubuntu12_amd64.deb,
but for Ubuntu 12.** ( and 13.** etc.) only.

1) I can probably upload an amd64 package for Ubuntu 10* ..11*, ... later.
2) Why are you using a 64bits OS ? All ns2 is for a 32bits OS.
Will most often work too with a 64bits OS,
but you will have to accept an inferior validate result.

-
 
1 members found this post helpful.
Old 03-11-2013, 11:52 AM   #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
Package myevalvid2-ns-2.28-ubuntu1110_amd64.deb ( 4.0 MB ) :
https://docs.google.com/file/d/0B7S2...it?usp=sharing

$ ns-myevalvid2 be_a01.tcl : OK.


-
 
Old 03-12-2013, 04:27 AM   #6
Kavita bilimoria
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
video transmission in NS2

sir,
when i run this command patch -p0 < ns228-gcc40.patch
it gives this error
bash: ns228-gcc40.patch: No such file or directory

kindly help me...
 
Old 03-12-2013, 04:42 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 : Have you got the patches ? Post # 15 here ..
http://www.linuxquestions.org/questi...4-a-842773/#15

If you want to use the command "patch -p0 < ns228-gcc40.patch",
then the patch must be present in the same folder as ns-allinone-2.28/.
Or you can use: patch -p0 < <path-to-folder-with-patch>/ ns228-gcc40.patch

Ref. the above link, # 15 :
2) patch -p0 < ns228-gcc40.patch
3) patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> <Enter>

P.S.: According to other LQ members, the myevalvid changes will work
in the later ns2 versions too. (ns-2.35 is mentioned in a myevalvid thread.)

-

Last edited by knudfl; 03-12-2013 at 04:46 AM.
 
Old 03-12-2013, 05:09 AM   #8
Kavita bilimoria
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
How can i get this patch sir?

patch -p0 < ns228-gcc40.patch",
 
Old 03-12-2013, 05:27 AM   #9
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
# 8 : What do you mean ? ?

The patch can be downloaded from the linked post #15 as ns228-gcc40.patch.txt
and probable from multiple locations on the Internet.
( Naming = ns228-gcc40.patch or ns228-gcc40.patch.gz )
Example http://www.cnblogs.com/xiaotie/archi...07/270859.html

-
 
Old 03-12-2013, 06:08 AM   #10
Kavita bilimoria
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
I got the below error when i tried installing ns-2.28. Used the command ./install.

cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or directory[/COLOR]
============================================================
* Build GT-ITM
============================================================
sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing..
============================================================
* Build zlib
============================================================
Checking for gcc...
Building static library libz.a version 1.1.4 with gcc.
Checking for unistd.h... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
make: Nothing to be done for `all'.
Zlib has been installed successfully.
============================================================
* Build tcl8.4.5
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking for required early compiler flags... _LARGEFILE64_SOURCE
checking for 64-bit integer type... using long
checking whether byte ordering is bigendian... no
checking for getcwd... yes
checking for opendir... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoull... yes
checking for tmpnam... yes
checking for waitpid... yes
checking for strerror... yes
checking for getwd... yes
checking for wait3... yes
checking for uname... yes
checking for realpath... yes
checking dirent.h... yes
checking for errno.h... yes
checking for float.h... yes
checking for values.h... yes
checking for limits.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/wait.h... yes
checking for dlfcn.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/modem.h... no
checking termios vs. termio vs. sgtty... termios
checking for fd_set in sys/types... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for tm_zone in struct tm... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... yes
checking long timezone variable... yes
checking for st_blksize in struct stat... yes
checking for fstatfs... yes
checking for 8-bit clean memcmp... yes
checking for memmove... yes
checking proper strstr implementation... yes
checking for strtoul... yes
checking for strtod... yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... ok
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for socklen_t... yes
checking for opendir... (cached) yes
checking union wait... yes
checking for strncasecmp... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking for gettimeofday declaration... present
checking whether char is unsigned... no
checking signed char declarations... yes
checking for a putenv() that copies the buffer... no
checking for langinfo.h... yes
checking whether to use nl_langinfo... yes
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking how to build libraries... static
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: 1: Syntax error: Unterminated quoted string
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
 
Old 03-12-2013, 06:27 AM   #11
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
# 10 .
Quote:
Used the command ./install
First you will have to edit the 'install' script to cheat it to accept 64bit :
Line 473 to : ./configure --build=i686 || die "otcl-$OTCLVER configuration failed! Exiting ...";
Line 498 to : ./configure --build=i686 || die "tclcl-$TCLCLVER configuration failed! Exiting ..."

The install command is, example :
export CC=gcc34 CXX=g++34 && ./install

The "compat-gcc 34" compilers for Ubuntu 11.10, 12.**, 64bits :
1) compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb
https://docs.google.com/file/d/0B7S2...it?usp=sharing

2) compat-gcc-34-c++_3.4.6-20_amd64.deb
https://docs.google.com/file/d/0B7S2...it?usp=sharing

-

Last edited by knudfl; 03-12-2013 at 06:31 AM.
 
Old 03-12-2013, 10:33 AM   #12
Kavita bilimoria
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
sir can you pls suggest me 32-bit os which friendly with NS2. and i want to do real time video streaming in MANET using Multipath DSR and for encoding video i want to use Multiple Description Coding Technique can you help me on this? i am totally new in this area. so pls kindly give me reply.. thank you for your help sir...

Last edited by Kavita bilimoria; 03-12-2013 at 10:43 AM.
 
Old 03-12-2013, 11:07 AM   #13
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
# 12 .

Well, you can start here ..
http://www.linuxquestions.org/questi...s2-4175453116/
The links are included in post #11.
( For the 802.11e files, may be EDCA can be used.)

? A 32bits OS ? Depends on the version(s) of ns-allinone-2.xx.
The old versions ns-2.26 - ns-2.31 : Ubuntu 10.10, but 10.10 is obsolete.
The later versions ns-2.33 - ns-2.34 :
Not easy to say, the "mpeg2 etc." patching can make things better or worse.
I.e. any Linux OS can be used, but the 'validation' / 'make test' result may vary.

-
 
Old 03-13-2013, 02:32 AM   #14
Kavita bilimoria
LQ Newbie
 
Registered: Mar 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
sir, can i use ns2.35 for video transmission in ns2. i am using Ubuntu 11.10 64-bit. when i am using ns-2.28 in my os it will give error.
 
Old 03-13-2013, 03:16 AM   #15
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
# 14 .

Which errors ? Which patches is it about ?

( And you will (maybe) run into problems when using 64bits ! )
 
  


Reply

Tags
g++34-compat64, mpeg2-ns2, myevalvid2, ns2



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
Sir, While installing ns2.34 on fedora 16 got the error : trace/cmu-trace.cc 1327:22 jeevanpinto Linux - Newbie 2 06-28-2012 03:35 AM
How to trace and disable the HTTP TRACE method in Apache 1.3.33 with FreeBSD? SomnathG Linux - Security 1 11-11-2008 09:41 AM
LXer: Sir Bill and Sir Tim: A Tale of Two Knights LXer Syndicated Linux News 0 07-02-2008 12:00 AM
Ping 100% transmitted, 0% received bruce1271 Linux - Networking 4 08-08-2003 09:15 AM

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

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