LinuxQuestions.org
Review your favorite Linux distribution.
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 09-19-2012, 02:22 AM   #1
devsiva57
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
NS 2.35 installation problem


trace/cmu-trace.o: In function `hdr_aomdv::access(Packet const*)':
cmu-trace.cc.text._ZN9hdr_aomdv6accessEPK6Packet[hdr_aomdv::access(Packet const*)]+0x7): undefined reference to `hdr_aomdv:ffset_'
trace/cmu-trace.o: In function `hdr_mdart::access(Packet const*)':
cmu-trace.cc.text._ZN9hdr_mdart6accessEPK6Packet[hdr_mdart::access(Packet const*)]+0x7): undefined reference to `hdr_mdart:ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Ns make failed!

This error made during ns 2.35 installation in ubuntu 11.04.
So please help me........

Last edited by devsiva57; 09-19-2012 at 02:31 AM.
 
Old 09-19-2012, 02:56 AM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
You need to install some essential packages using the following command:
sudo apt-get install tcl8.5-dev tk8.5-dev sudo apt-get install build-essential autoconf automake sudo apt-get install perl xgraph libxt-dev libx11-dev libxmu-dev

Then, try to install ns 2.35 again.
 
Old 09-19-2012, 03:04 AM   #3
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

sudo apt-get install g++-4.4

Please start from scratch with a new unpacked ns-allinone-2.35.tar.gz :
cd ns-allinone-2.35/ && export CC=gcc-4.4 CXX=g++-4.4 && ./install

( Or 'make clean' and delete 'Makefile' in tcl8*/unix/, tk8*/unix/,
otcl*/, tclcl*/, ns-2.35/ before the above command.)

EDIT : Ref. post # 2 : Please do not install any tcl8.5-dev tk8.5-dev !

.

Last edited by knudfl; 09-19-2012 at 03:07 AM.
 
  


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
ns2.29.3 installation on fedora 15 , nam installation problem Narges Linux - Networking 5 10-31-2011 12:09 PM
PXE installation problem - can only select A series packages for installation Nylex Slackware 4 08-19-2010 03:15 PM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 08:40 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 11:32 PM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 05:56 AM


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