LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   NS2 Installation Error (http://www.linuxquestions.org/questions/linux-general-1/ns2-installation-error-779177/)

ajkannan83 12-31-2009 10:12 PM

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::p_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::p_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::p_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::process_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

TB0ne 12-31-2009 11:42 PM

Quote:

Originally Posted by ajkannan83 (Post 3810492)
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?

knudfl 01-01-2010 03:35 AM

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.
.....


All times are GMT -5. The time now is 03:41 AM.