LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   which ns2 version is compatible for TKN 802.11e patch (https://www.linuxquestions.org/questions/linux-newbie-8/which-ns2-version-is-compatible-for-tkn-802-11e-patch-932759/)

stud17 03-05-2012 01:41 AM

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! :)

Satyaveer Arya 03-05-2012 01:53 AM

Check installing this one: http://sourceforge.net/projects/ieee...0for%20ns2.28/ given on this site.

stud17 03-05-2012 02:01 AM

@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?

Satyaveer Arya 03-05-2012 05:23 AM

You should use latest ns2-allinone and update gcc, that's it.

knudfl 03-05-2012 06:04 AM

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.

.

stud17 03-17-2012 02:50 PM

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

knudfl 03-17-2012 03:25 PM

# 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.

.

stud17 03-17-2012 04:30 PM

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

knudfl 03-18-2012 11:12 AM

Synaptic is the package manager : Menu > System >> Synaptic


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


All times are GMT -5. The time now is 01:15 AM.