LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-12-2009, 03:23 AM   #1
shojaru
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25

Rep: Reputation: 15
ns2-802.11e patch - error: stream.h, iostream.h not found


Dear all,

My distro is Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ).
The ubuntu version is 9.04 ,jaunty. ( Don't know which one is useful for you, so adding all that I know :s)

I am trying to install 802.11e patch available on sourceforge.net , within ns2.28.
After doing all the modification mentioned in the associated readme file, I tried to configure, the output was like:

No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
.......
with no warning or error message. So I took it to be OK.

Then I did, make clean, make depend , make .

Make depend gave the following error:
mac/802_11e/mac-802_11e.cc:41:20: error: stream.h: No such file or directory
mac/802_11e/d-tail.cc:40:22: error: iostream.h: No such file or directory


So Make command also failed for the same reason:

mac/802_11e/mac-802_11e.cc:41:20: error: stream.h: No such file or directory
In file included from ./link/delay.h:42,
from mac/802_11e/mac-802_11e.cc:36:
./common/packet.h: In constructor ‘p_info:_info()’:
./common/packet.h:173: warning: deprecated conversion from string constant to ‘char*’
........................

mac/802_11e/mac-802_11e.cc: In member function ‘void Mac802_11e::dump(char*)’:
mac/802_11e/mac-802_11e.cc:302: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘MacState*’
make: *** [mac/802_11e/mac-802_11e.o] Error 1


I tried searching for iostream.h & stream.h files, but they are not really present in my system, at least they didn't show up. Rather I found 2 IOSTREAM.h in microsoft visual... directory and some zstream.h , nam_stream.h files in the ns directory.

Can anyone tell me what should I do now?

Thank you very much for your time and patience.

Last edited by shojaru; 06-12-2009 at 03:30 AM. Reason: include OS version
 
Old 06-12-2009, 08:15 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Code:
sudo apt-get install build-essential
for a start.

Does the readme want the tarball untar'd to a specific location?
 
Old 06-12-2009, 11:09 PM   #3
shojaru
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25

Original Poster
Rep: Reputation: 15
sorry.

Last edited by shojaru; 06-12-2009 at 11:12 PM.
 
Old 06-12-2009, 11:11 PM   #4
shojaru
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jamescondron View Post

Does the readme want the tarball untar'd to a specific location?
Thank you very much for your kind reply.
The readme did mention a specific location: it was ns-2.28 root directory.
My directory path is like below:
/home/shojaru/ns-allinone-2.28/ns-2.28/...

So I think the root directory is ns-2.28 , isn't it?

Actually after the unsuccessful patching, my ns2 also giving trouble. Now if I run any tcl script, it gives me message :
The program 'ns' is currently not installed. You can install it by typing:
sudo apt-get install host
bash: ns: command not found

I am quite at a loss, what should I do now
 
  


Reply



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
any information ns-2 802.11e code ??????? asd309 Linux - Software 0 11-01-2006 06:08 PM
802.11e hardware kannerke Linux - Wireless Networking 0 08-10-2006 03:35 AM
iostream not found krsnachaitanya Linux - Software 4 02-10-2005 06:47 AM
gcc vs. g++ -> iostream lib found vs. not found CooManChu Linux - General 1 12-11-2004 09:20 AM
rpm error-> patch: command not found Bosnja Linux - Software 5 01-30-2004 12:59 PM

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

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