LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-22-2013, 07:49 AM   #1
bilalcisco
LQ Newbie
 
Registered: May 2012
Location: Leeds, England
Distribution: Ubuntu Linux
Posts: 3

Rep: Reputation: Disabled
Makefile problem while installing EDCA patch of 802.11e


Dear Fellows!!
I successfully installed ns2.28 on Fedora 8. Now I am adding the EDCA patch of 802.11e. According to the README of the patch I added the following statement in Makefile.in.
-I./mac/802_11e
but it lands me the following error for the make command on the command prompt.
"Makefile:73: *** commands commence before first target. Stop."
Does anyone have any idea of this problem.

Thanks
 
Old 02-22-2013, 10:50 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.
Quote:
"Makefile:73: *** commands commence before first target. Stop."
Means : You have surplus space at line end. Like :
<TAB>-I./mac/802_11e<space>

... Probably OK, when you remove the space.
( Also : The line must start with a <TAB>, no <space>'s are allowed.)


Other information :
There is a later version of EDCA: EDCA_ns233-v1-0-2-18Dec2012.tar.gz
https://docs.google.com/file/d/0B7S2...it?usp=sharing
A Makefile.in is included.
Ref. post #18 here http://www.linuxquestions.org/questi...245/page2.html

-

Last edited by knudfl; 02-22-2013 at 12:52 PM.
 
1 members found this post helpful.
Old 02-23-2013, 01:05 AM   #3
bilalcisco
LQ Newbie
 
Registered: May 2012
Location: Leeds, England
Distribution: Ubuntu Linux
Posts: 3

Original Poster
Rep: Reputation: Disabled
bash ns command not found !! ns2.28 and EDCA patch

Thanks for the prompt reply.

I edited the Makefile.in accordingly and dont get that error anymore after running ./configure; make clean; make depend; commands. But now i get the following strange lines when i run make command.
Code:
 from mac/802_11e/mac-802_11e.cc:41:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found
in section 17.4.1.2 of the C++ standard. Examples include substituting
the <X> header for the <X.h> header for C++ includes, or <iostream>
instead of the deprecated header <iostream.h>. To disable this warning
use -Wno-deprecated.
./mobile/god.h:88: error: extra qualification ‘vector::’ on member ‘operator=’
./mobile/god.h:93: error: extra qualification ‘vector::’ on member ‘operator+=’
./mobile/god.h:98: error: extra qualification ‘vector::’ on member ‘operator==’
./mobile/god.h:101: error: extra qualification ‘vector::’ on member ‘operator!=’
make: *** [mac/802_11e/mac-802_11e.o] Error 1
Furthermore, the ns file is disappeared from the ns directory and now entering ns command, it gives me the error: bash ns command not found.
Please let me know if there is an easy solution for this problem.

Since I spent almost over a week on installing ns2.28 and EDCA patch I would like to make it working now. Otherwise I have to install n2.33 and the new EDCA patch that I came to know only after you suggested in your previous post.
 
Old 02-23-2013, 01:51 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
# yum install compat-gcc-34-c++

cd ns-allinone-2.28/ && export CXX=g++34 && ./install
.. Or :
cd ns-allinone-2.28/ns-2.28/ && export CXX=g++34 && ./configure && make

.. Or edit the Makefile, line 37 to : CPP = g++34

-
 
1 members found this post helpful.
Old 02-23-2013, 02:05 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
.... Continued ..
Quote:
Since I spent almost over a week on installing ns2.28
Well, you could have asked here.
A build example and patches for a "10 minutes build" : post #15
http://www.linuxquestions.org/questi...4-a-842773/#15
 
1 members found this post helpful.
Old 02-26-2013, 12:28 AM   #6
bilalcisco
LQ Newbie
 
Registered: May 2012
Location: Leeds, England
Distribution: Ubuntu Linux
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# yum install compat-gcc-34-c++

cd ns-allinone-2.28/ && export CXX=g++34 && ./install
.. Or :
cd ns-allinone-2.28/ns-2.28/ && export CXX=g++34 && ./configure && make

.. Or edit the Makefile, line 37 to : CPP = g++34

-
First command worked straight away and I didn't try others.
Thank you for your help.
 
Old 10-04-2014, 06:57 AM   #7
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
802.11e simulation

Can anyone help me to simulate the 802.11 e in ns2?
I didnt find the patch mac802.11e .tgz
Can anyone attach it?
Thank you
 
Old 10-04-2014, 11:11 AM   #8
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
← #7 , @rana_abdallah.

Please post your question in only one forum.
 
  


Reply

Tags
edca, 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
seeking advice to install 802.11e patch in ns2 stud17 Linux - Newbie 48 11-04-2012 10:09 AM
Problem in installing 802.11e model in ns2.34 on ubuntu 9.10 san_as Linux - Networking 3 05-22-2012 01:09 PM
which ns2 version is compatible for TKN 802.11e patch stud17 Linux - Newbie 8 03-18-2012 11:12 AM
how to interpret the example.trc file in the hcca patch (802.11e) stud17 Linux - Newbie 0 11-12-2011 12:47 AM
need 802.11e patch for ns2 stud17 Linux - Software 1 03-09-2011 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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