Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-19-2012, 01:22 AM   #1
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*)':[hdr_aomdv::access(Packet const*)]+0x7): undefined reference to `hdr_aomdv:ffset_'
trace/cmu-trace.o: In function `hdr_mdart::access(Packet const*)':[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 01:31 AM.
Old 09-19-2012, 01:56 AM   #2
Registered: Jun 2012
Location: Missouri, USA
Posts: 236

Rep: Reputation: 64
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, 02:04 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 02:07 AM.


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 11:09 AM
PXE installation problem - can only select A series packages for installation Nylex Slackware 4 08-19-2010 02:15 PM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 07:40 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 10:32 PM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration