LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 06-13-2013, 03:40 PM   #1
abcd12
LQ Newbie
 
Registered: May 2013
Posts: 8

Rep: Reputation: Disabled
Installing wimax patch in ns2.31


Hi i want to install wimax patch in ns2.31 .
i have downloaded the patch from this site :
http://www-x.antd.nist.gov/cgi-bin/req_80216.pl
But when i type this command in th eterminal :

patch -p1 <patch-ns-2.31-041707

i have this result :
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.

i did not what is the source of this .Please help me .
Thanks
 
Old 06-13-2013, 04:52 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
A corrupt package / patch ?

I found the patch here http://www.filesmeethere.com/File/ammedggco8dpg
> prerelease041707.tgz > src-prerelease-041707/ ( > patch-ns-2.31-041707 )

The patched files are also included in prerelease041707.tgz : "src-prerelease-041707/".

An easy way to use the files : 1) cp src-prerelease-041707/ ns-2.31
2) tar -cf wimax802.16-ns231-patch.tar ns-2.31/
3) tar xvf ns-allinone-2.31.tar.gz
4) cd ns-allinone-2.31/
5) tar xvf wimax802.16-ns231-patch.tar
6) ./install ( If the right compilers are set with the export command.)
7) Make a backup: cd ns-2.31/ ; cp ns ns-wimax802.16
8) cd tcl/wimax/
9) ns wimax1.tcl : OK.
10) bash test-be : OK too.

-
 
Old 06-13-2013, 06:19 PM   #3
abcd12
LQ Newbie
 
Registered: May 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Installing wimax patch ins ns2.31

I thank you a lot for your helpful reply . but can you please explain me more . does the patch of wimax is avlaible in prerelease041707.tgz file ? because the link that you send for me i did not understand what is the patch for wimax .
Almost sites contain the steps with patch-ns-2.31-041707 . but i did not find it .
Thnks you again for you .Please help me
 
Old 06-14-2013, 03:59 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .

Download link for wimax802.16-ns231-patch.tar.gz
>> https://docs.google.com/file/d/0B7S2...it?usp=sharing

$ cd ns-allinone.2.31/
$ tar xvf wimax802.16-ns231-patch.tar.gz
$ export CC=gcc-4.1 CXX=gcc-4.1 && ./install
EDIT: Must be : $ export CC=gcc-4.1 CXX=g++-4.1 && ./install
$ cd ns-2.31/ && sudo make install
$ cd tcl/wimax/ : And do the 802.16 simulations.

-

Last edited by knudfl; 06-14-2013 at 07:58 PM.
 
1 members found this post helpful.
Old 06-14-2013, 06:41 PM   #5
abcd12
LQ Newbie
 
Registered: May 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Installing wimax patch in ns2.31

Thank you a lot knudfl for your help . I did as you explain me later but in the step export CC=gcc-4.1 CXX=gcc-4.1 && ./install
the installation is stopped and give me this message after some runs
Code:
gcc-4.1  -o common/ptypes2tcl common/ptypes2tcl.o
common/ptypes2tcl.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make: *** [common/ptypes2tcl] Erreur 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
What is the error please ,
 
Old 06-14-2013, 07:57 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 .

Sorry, there is a typo in post #4 :
CXX is always a g++ compiler : The right text is CXX=g++-4.1

-
 
Old 02-10-2014, 02:14 PM   #7
awesom
LQ Newbie
 
Registered: Feb 2014
Posts: 8

Rep: Reputation: Disabled
#2 related

will you explain what does it mean by 9th n 10th statment...n tht ok ok too???
 
Old 02-10-2014, 05:55 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 .

(9) and (10) in post #2 are simulations.

OK means they worked satisfactory (at that time.)
 
Old 03-24-2014, 01:00 PM   #9
kirejak
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Rep: Reputation: Disabled
Quote:
Originally Posted by awesom View Post
will you explain what does it mean by 9th n 10th statment...n tht ok ok too???
I can help you, write me on kire_jakimoski@yahoo.com for details.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing wimax module in ns2.28 zana Linux - Newbie 42 04-03-2014 05:02 AM
can't find file to patch at input line n problem, Installing WiMax module on ns2-29 Narges Linux - Newbie 14 12-15-2012 05:41 AM
A problem with installing Wimax model in ns2 maha.ahmed Linux - Newbie 4 08-04-2012 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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