LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-21-2012, 08:23 AM   #1
san_as
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Rep: Reputation: 0
Problem in installing 802.11e model in ns2.34 on ubuntu 9.10


Hello all,
I was installing 802.11e model(TKN EDCA_ns-2_28-v1-0-2.tgz).
I kept this tar file in ns-allinone-2.34/ns-2.34/mac.Then
extracted files in same folder.

I got following error while make command was given


mac/802_11e/mac-802_11e.cc:41:20: error: stream.h: No such file or directory
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*’

I found similar thread in this forum & to solve this issue I used

command sudo apt-get install build-essential

but I got following error

Err http://in.archive.ubuntu.com karmic/main patch 2.5.9-5
404 Not Found [IP: 91.189.92.188 80]
Err http://in.archive.ubuntu.com karmic-updates/main dpkg-dev 1.15.4ubuntu2.3
404 Not Found [IP: 91.189.92.188 80]
Err http://in.archive.ubuntu.com karmic/main build-essential 11.4
404 Not Found [IP: 91.189.92.188 80]
Err http://in.archive.ubuntu.com karmic/main fakeroot 1.12.4ubuntu1
404 Not Found [IP: 91.189.92.188 80]
Err http://security.ubuntu.com karmic-security/main dpkg-dev 1.15.4ubuntu2.3
404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/...5.9-5_i386.deb 404 Not Found [IP: 91.189.92.188 80]
Failed to fetch http://security.ubuntu.com/ubuntu/po...ntu2.3_all.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/..._11.4_i386.deb 404 Not Found [IP: 91.189.92.188 80]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/...untu1_i386.deb 404 Not Found [IP: 91.189.92.188 80]
E: Unable to fetch some archives, maybe run apt-get update or try w

Pls guide me in this regard
Thank you
 
Old 05-21-2012, 08:52 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
Ubuntu 9.10 is an old unsupported version.
Was moved to old-releases long time ago.
Please change the URL in /etc/apt/sources.list from
"http://in.archive.ubuntu.com/ubuntu..."
to : http://old-releases.ubuntu.com/ubuntu/
... And do : sudo apt-get update

Required for ns2 : sudo apt-get install \
g++ autoconf automake make libtool patch xgraph \
libx11-dev libxmu-dev libxmu-headers libxt-dev

.
 
Old 05-22-2012, 12:28 PM   #3
san_as
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Problem still exist in installing 802.11e model on ubuntu 9.10

Hello Sir/Madam
Thank you for quick reply(help).
I made the changes as per guideline given,still problem exist.
I made changes in /etc/apt/sources.list
as follows
for ex. Lines before modification

deb http://in.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ karmic main restricted

Lines after modification
deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted

Then I put
sudo apt-get update command
following ERRORS occured

Err http://security.ubuntu.com karmic-security/main Packages
404 Not Found [IP: 91.189.92.184 80]
Err http://security.ubuntu.com karmic-security/restricted Packages
404 Not Found [IP: 91.189.92.184 80]
Hit http://old-releases.ubuntu.com karmic-updates/multiverse Sources
Err http://security.ubuntu.com karmic-security/main Sources


Also I gave these commands for ns2
sudo apt-get install \
> g++ autoconf automake make libtool patch xgraph \
> libx11-dev libxmu-dev libxmu-headers libxt-dev
>

I got ERROR after "make depend "

make: *** No rule to make target `tcp/linux/tcp_naivereno.cc', needed by `depend'. Stop.


ERROR after " make "

mac/802_11e/mac-802_11e.cc:41:20: error: stream.h: No such file or directory
mac/802_11e/mac-802_11e.cc: In member function ‘void Mac802_11e::dump(char*)’:
mac/802_11e/mac-802_11e.cc:1722: warning: unused variable ‘ch’
make: *** [mac/802_11e/mac-802_11e.o] Error 1


Plz guide me to solve the same.
Thank you
 
Old 05-22-2012, 01:09 PM   #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
The new /etc/apt/sources.list :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ karmic main
deb http://old-releases.ubuntu.com/ubuntu/ karmic multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main multiverse universe
Don't know what's up with the stream.h issue.
Could origin from the first install, if g++-4.1 was used.
( sudo apt-get install g++-4.1 ).

Either run : cd ns-allinone-2.34/ns-2.34/ &&
export CC=gcc-4.1 CXX=g++-4.1 && ./configure && make
( No reason to use 'make depend', when it's a "second run".)

... Or edit lines 36-37 in the Makefile to
CC = gcc-4.1
CPP = g++-4.1

.
 
  


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
seeking advice to install 802.11e patch in ns2 stud17 Linux - Newbie 48 11-04-2012 10:09 AM
which ns2 version is compatible for TKN 802.11e patch stud17 Linux - Newbie 8 03-18-2012 11:12 AM
need 802.11e patch for ns2 stud17 Linux - Software 1 03-09-2011 06:54 AM
ns2-802.11e patch - error: stream.h, iostream.h not found shojaru Linux - Newbie 3 06-12-2009 11:11 PM
802.11e hardware kannerke Linux - Wireless Networking 0 08-10-2006 03:35 AM

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

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