LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2012, 02:41 AM   #1
stud17
Member
 
Registered: Dec 2010
Posts: 32

Rep: Reputation: 0
Question which ns2 version is compatible for TKN 802.11e patch


Hello friends,

I wanna try the EDCA patch that is available in TKN Berlin website. I tried it on ns2.28 Ubuntu10.04 version. But I never go through the make command. It throws an error saying "*** No rule to make target `mac/802_11e/mac-802_11e.cc'

I saw this http://www.linuxquestions.org/questi...f-gcc4-889781/

Here the procedure is given for fedora 8. Can you please let me know which ns2/ubuntu version is compatible. And which gcc compiler should I go with?

Kindly post your suggestions. Your inputs are highlly valuable for me. Thanks in Advance!
 
Old 03-05-2012, 02:53 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Check installing this one: http://sourceforge.net/projects/ieee...0for%20ns2.28/ given on this site.
 
Old 03-05-2012, 03:01 AM   #3
stud17
Member
 
Registered: Dec 2010
Posts: 32

Original Poster
Rep: Reputation: 0
@Satyaveer Arya- Thanks for your reply! I tried this EDCA patch on ns2.28 but I am encountering the error as I said in post#1. May I know which ns2/gcc version is compatible?
 
Old 03-05-2012, 06:23 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
You should use latest ns2-allinone and update gcc, that's it.
 
Old 03-05-2012, 07:04 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
The EDCA patch, EDCA_ns-2_28-v1-0-2.tgz is for ns-2.28.
Do not expect it to work in other versions.

Fedora, CentOS :
http://www.linuxquestions.org/questi...led-732164/#11
tar xvf ns-allinone-2.28.tar.gz && patch -p1 < ns228-gcc40.patch &&
cd xvf ns-allinone-2.28/ns-2.28/mac/ && tar xvf EDCA_ns-2_28-v1-0-2.tgz
&& exit
Then do the changes described in ns-allinone-2.28/ns-2.28/mac/802_11e/README.
cd ns-allinone-2.28/ && export CC=gcc34 && CXX=g++34 && ./install


Ubuntu 10.04 (10.10) As above (other gcc/g++ names), and ..
http://www.linuxquestions.org/questi...led-732164/#10
A liitle more complicated, as Ubuntu cannot configure old tcl/tk.
cd ns-allinone-2.28/ && export CC=gcc-3.4 && CXX=g++-3.4 && ./install



Ubuntu 11.04 : Only with the special compilers
g++34-compat-3.4.6_i386.deb, gcc34-compat-3.4.6_i386.deb

Ubuntu 11.10 : No chance.

.

Last edited by knudfl; 03-05-2012 at 07:13 AM.
 
Old 03-17-2012, 03:50 PM   #6
stud17
Member
 
Registered: Dec 2010
Posts: 32

Original Poster
Rep: Reputation: 0
Hello Knudfl,

I followed this link to install gcc 3.4 package
http://www.linuxquestions.org/questi...10-a-782356/#3

and I tried to download the gcc-3.4 package from this site(http://packages.ubuntu.com/hardy/i386/g++-3.4/download) by adding one more line (deb http://mirror.pnl.gov/ubuntu/ hardy main universe)to /etc/apt/sources.list

But I couldn't do the installation at all.
chithra@ubuntu:~$ sudo apt-get install g++-3.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package g++-3.4

Can you please tell me what am I missing here?? Kindly give your suggestion.

Thanks
 
Old 03-17-2012, 04:25 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 6

Which OS are you using ? Still Ubuntu 10.04 ?

Synaptic :
Settings > Repositories > Other Software
... Tick the 3 Hardy entries, and then "Reload".
Now the package g++-3.4 can be installed, I guess.

.

Last edited by knudfl; 03-17-2012 at 04:29 PM.
 
Old 03-17-2012, 05:30 PM   #8
stud17
Member
 
Registered: Dec 2010
Posts: 32

Original Poster
Rep: Reputation: 0
Yes, I am working on Ubuntu10.04

By the way, where can I find these options,
Synaptic :
Settings > Repositories > Other Software
... Tick the 3 Hardy entries, and then "Reload".
Now the package g++-3.4 can be installed, I guess.

Please let me know.

Thanks
 
Old 03-18-2012, 12:12 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Synaptic is the package manager : Menu > System >> Synaptic


Or start 'synaptic' at the command line : sudo synaptic
 
  


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
seeking advice to install 802.11e patch in ns2 stud17 Linux - Newbie 48 11-04-2012 11:09 AM
how to interpret the example.trc file in the hcca patch (802.11e) stud17 Linux - Newbie 0 11-12-2011 01:47 AM
need 802.11e patch for ns2 stud17 Linux - Software 1 03-09-2011 07:54 AM
ns2-802.11e patch - error: stream.h, iostream.h not found shojaru Linux - Newbie 3 06-13-2009 12:11 AM
802.11e hardware kannerke Linux - Wireless Networking 0 08-10-2006 04:35 AM


All times are GMT -5. The time now is 09:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration