LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 12-31-2009, 10:12 PM   #1
ajkannan83
Member
 
Registered: Aug 2005
Location: Tamil Nadu, India
Distribution: Redhat, Fedora
Posts: 116

Rep: Reputation: 15
NS2 Installation Error


Dear Sir,

I am not able to install ns-allinone-2.29 package in fedora 9.

[root@localhost ns-allinone-2.29]# patch -p1 < mannasim-patch.diff
this command is working fine.
[root@localhost ns-allinone-2.29]#./install

The following error message is displayed.

-----------------------------------------------------------------------
./common/packet.h:268: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:271: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:274: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:276: warning: deprecated conversion from string constant to ‘char*’
g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/root/ns-allinone-2.29/tclcl-1.17 -I/root/ns-allinone-2.29/otcl-1.11 -I/root/ns-allinone-2.29/include -I/root/ns-allinone-2.29/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4trace.o wpan/p802_15_4trace.cc
In file included from wpan/p802_15_4trace.cc:54:
./common/packet.h: In constructor ‘p_info:_info()’:
./common/packet.h:184: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:185: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:186: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:187: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:188: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:189: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:190: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:191: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:192: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:193: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:194: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:195: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:196: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:197: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:198: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:199: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:200: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:201: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:202: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:203: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:205: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:206: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:207: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:208: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:209: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:210: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:212: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:213: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:214: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:215: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:216: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:217: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:218: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:219: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:220: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:221: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:222: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:223: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:224: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:225: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:227: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:228: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:230: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:231: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:232: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:235: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:238: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:241: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:244: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:247: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:250: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:254: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:258: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:259: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:261: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:262: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:265: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:268: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:271: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:274: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:276: warning: deprecated conversion from string constant to ‘char*’
g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/root/ns-allinone-2.29/tclcl-1.17 -I/root/ns-allinone-2.29/otcl-1.11 -I/root/ns-allinone-2.29/include -I/root/ns-allinone-2.29/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o wpan/p802_15_4transac.o wpan/p802_15_4transac.cc
In file included from wpan/p802_15_4transac.h:57,
from wpan/p802_15_4transac.cc:55:
./common/packet.h: In constructor ‘p_info:_info()’:
./common/packet.h:184: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:185: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:186: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:187: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:188: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:189: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:190: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:191: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:192: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:193: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:194: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:195: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:196: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:197: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:198: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:199: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:200: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:201: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:202: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:203: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:205: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:206: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:207: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:208: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:209: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:210: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:212: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:213: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:214: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:215: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:216: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:217: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:218: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:219: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:220: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:221: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:222: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:223: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:224: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:225: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:227: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:228: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:230: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:231: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:232: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:235: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:238: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:241: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:244: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:247: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:250: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:254: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:258: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:259: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:261: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:262: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:265: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:268: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:271: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:274: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:276: warning: deprecated conversion from string constant to ‘char*’
g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/root/ns-allinone-2.29/tclcl-1.17 -I/root/ns-allinone-2.29/otcl-1.11 -I/root/ns-allinone-2.29/include -I/root/ns-allinone-2.29/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o mannasim/accessPointApp.o mannasim/accessPointApp.cc
In file included from mannasim/processing.h:44,
from mannasim/accessPointApp.h:45,
from mannasim/accessPointApp.cc:37:
mannasim/sensorNode.h:36:18: error: list.h: No such file or directory
In file included from mannasim/processing.h:45,
from mannasim/accessPointApp.h:45,
from mannasim/accessPointApp.cc:37:
mannasim/sensedData.h:41:20: error: vector.h: No such file or directory
In file included from ./common/agent.h:41,
from mannasim/accessPointApp.h:40,
from mannasim/accessPointApp.cc:37:
./common/packet.h: In constructor ‘p_info:_info()’:
./common/packet.h:184: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:185: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:186: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:187: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:188: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:189: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:190: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:191: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:192: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:193: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:194: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:195: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:196: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:197: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:198: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:199: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:200: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:201: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:202: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:203: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:205: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:206: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:207: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:208: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:209: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:210: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:212: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:213: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:214: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:215: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:216: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:217: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:218: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:219: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:220: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:221: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:222: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:223: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:224: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:225: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:227: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:228: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:230: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:231: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:232: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:235: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:238: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:241: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:244: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:247: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:250: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:254: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:258: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:259: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:261: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:262: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:265: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:268: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:271: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:274: warning: deprecated conversion from string constant to ‘char*’
./common/packet.h:276: warning: deprecated conversion from string constant to ‘char*’
In file included from mannasim/processing.h:44,
from mannasim/accessPointApp.h:45,
from mannasim/accessPointApp.cc:37:
mannasim/sensorNode.h: At global scope:
mannasim/sensorNode.h:48: error: expected initializer before ‘<’ token
mannasim/sensorNode.h:73: error: ‘AppList’ does not name a type
In file included from mannasim/processing.h:45,
from mannasim/accessPointApp.h:45,
from mannasim/accessPointApp.cc:37:
mannasim/sensedData.h:49: error: expected initializer before ‘<’ token
mannasim/sensedData.h:50: error: expected initializer before ‘<’ token
mannasim/sensedData.h:65: error: ‘AppDataList’ does not name a type
mannasim/sensedData.h:105: error: ‘AppDataList’ does not name a type
In file included from mannasim/processing.h:47,
from mannasim/accessPointApp.h:45,
from mannasim/accessPointApp.cc:37:
mannasim/dataGenerator.h: In member function ‘virtual AppData* DataGenerator::collect()’:
mannasim/dataGenerator.h:94: warning: no return statement in function returning non-void
mannasim/dataGenerator.h: In member function ‘virtual AppData* DataGenerator::getMaximumAllowedValue()’:
mannasim/dataGenerator.h:132: warning: no return statement in function returning non-void
mannasim/accessPointApp.cc: In member function ‘virtual void AccessPointApp:rocess_data(int, AppData*)’:
mannasim/accessPointApp.cc:79: error: ‘AppDataList’ was not declared in this scope
mannasim/accessPointApp.cc:79: error: expected `;' before ‘list’
mannasim/accessPointApp.cc:81: error: expected primary-expression before ‘int’
mannasim/accessPointApp.cc:81: error: expected `)' before ‘int’
mannasim/accessPointApp.cc:83: error: ‘AppDataList’ is not a class or namespace
mannasim/accessPointApp.cc:83: error: expected `;' before ‘it’
mannasim/accessPointApp.cc:83: error: ‘it’ was not declared in this scope
mannasim/accessPointApp.cc:83: error: missing template arguments before ‘.’ token
mannasim/accessPointApp.cc: In member function ‘virtual void AccessPointApp::forward_data(int, AppData*)’:
mannasim/accessPointApp.cc:97: error: ‘AppDataList’ was not declared in this scope
mannasim/accessPointApp.cc:97: error: expected `;' before ‘list’
mannasim/dataGenerator.h: At global scope:
mannasim/dataGenerator.h:65: warning: inline function ‘virtual void EventTimer::expire(Event*)’ used but never defined
mannasim/dataGenerator.h:52: warning: inline function ‘virtual void SensingTimer::expire(Event*)’ used but never defined
mannasim/sensorBaseApp.h:84: warning: inline function ‘virtual void DisseminatingTimer::expire(Event*)’ used but never defined
make: *** [mannasim/accessPointApp.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
[root@localhost ns-allinone-2.29]#
---------------------------------------------------------------------

How to solve it.

Thank U
A.Kannan
 
Old 12-31-2009, 11:42 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,778

Rep: Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346
Quote:
Originally Posted by ajkannan83 View Post
Dear Sir,

I am not able to install ns-allinone-2.29 package in fedora 9.

[root@localhost ns-allinone-2.29]# patch -p1 < mannasim-patch.diff
this command is working fine.
[root@localhost ns-allinone-2.29]#./install

The following error message is displayed.

-----------------------------------------------------------------------
mannasim/sensorNode.h:36:18: error: list.h: No such file or directory
mannasim/sensedData.h:41:20: error: vector.h: No such file or directory
Did you read it?? You're missing include files. Also, FC9 is VERY old...the latest is FC12. FC9 has been out of support for a while now, and NS2 may not be supported on that platform.
Quote:
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
[root@localhost ns-allinone-2.29]#
---------------------------------------------------------------------
How to solve it.
And did you go to the link suggested, and look for a solution?
 
Old 01-01-2010, 03:35 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,183

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Assume ns-allinone-2.29.3.tar.gz
http://sourceforge.net/projects/nsna...allinone-2.29/
http://sourceforge.net/projects/nsna...ar.gz/download
> time stamp = 2005-12-17

( I think I remember that 2.29, 2.29.1, 2.29.2 don't
work well with mannasim.)

Though not that old, no new updates for Fedora 9 any more.
End of support five months ago.

The two headers list.h, vector.h : g++3.4 is to be used, and includes
these old headers : e.g. /usr/include/c++/3.4.6/backward/list.h
1)
The file ns-allinone-2.29/ns-2.29/Makefile.in , please edit line 37 :
from
CPP = @CXX@
to
CPP = g++34
----------------------
2) cd ns-allinone-2.29/ns-2.29/
2a) make distclean

.. And this ..
# yum install compat-gcc-34-c++
.....
Then you can start again with cd ns-allinone-2.29/ && ./install
.....

EDIT :
Quote:
[root@localhost ns-allinone-2.29]#
Please do not use su (root) for ns-allinone.
You may have to delete everything and start from scratch.
'root' is for administrative tasks only. Using it for things
that the ordinary user can do : Is asking for trouble .. !
.....
.....
P.S. : Please hit the edit button in post # 1
and delete all the warning lines (all irrelevant) and place
the other code in code tags .. end the code with [/code] ,
and start with [code] . To make post # 1 readable.
.....

Last edited by knudfl; 01-01-2010 at 12:54 PM.
 
  


Reply

Tags
mannasim, ns229


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NS2.26/TCP installation error? japz20 Linux - Newbie 6 01-16-2013 03:27 AM
NS2 installation ds_priyaa Fedora 2 05-28-2008 02:23 AM
installation on ns2 on windows swift_a2002 Linux - Software 1 02-27-2008 05:14 AM
NS2 installation eby83 Linux - Newbie 2 06-11-2007 01:08 AM
ns2 installation pranoti Linux - Software 2 06-11-2007 12:45 AM


All times are GMT -5. The time now is 08:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration