Re: [ns] Patched NS Make error

2011-01-15 Thread Christopher Ogirri

Christopher Ogirri wrote:

  I should note now that in order to install ns2.1b9 I had to basically
  install a much older version of gcc, precisely gcc 3.3.6.

How did you manage to downgrade to a lower version of gcc?
What OS are you using?


For the downgrading I used the command:

rpm -Uvh -force *

I am using CentOS 5.4.



Christopher Ogirri wrote:

   I have attached  the file so that anyone can go through it.


Sir! Attachments are not permitted in messages to mailing list.

Sorry about the attachement. I was not aware. My first time on a mailing
list.


Re: [ns] Patched NS Make error

2011-01-13 Thread Christopher Ogirri

 I have currently successfully installed ns2.1b9 on my CentOS 5 machine.
 After installation, I implemented the patch listed 
 herehttp://www.cs.unh.edu/cnrg/people/sowmyam/ns-atm/
 .

 Following the readme instructions( also found on that page) I was able to
 apply the patch and ./configure.

 I however encountered an error trying to run make.

 The error is listed below:

 g++-3.3.6 -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR
 -DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL
 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H
 -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DPGM -DPGM_DEBUG
 -DNS_DIFFUSION -I.
 -I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/tclcl-1.0b12
 -I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/otcl-1.0a8
 -I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/include
 -I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/include -I/usr/include/pcap
 -I./tcp -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/main
 -I./diffusion3/lib -I./diffusion3/nr -I./diffusion3/ns -I./asim/ -o
 trace/trace.o trace/trace.cc
 In file included from trace/trace.cc:55:
 atm/atm.h:66: error: syntax error before `*' token
 make: *** [trace/trace.o] Error 1
 

 In the file its complainig, there is a śtring'declaration before the *
 character. I fear this is the problem.

 I should note now that in order to install ns2.1b9 I had to basically
 install a much older version of gcc, precisely gcc 3.3.6.

 I have searched the mailing lists but have found nothing. I have attached
 the file so that anyone can go through it.

 Any help would be greatly appreciated.





[ns] NS2 ATM-Patched make fails ( syntax error before * token)

2011-01-13 Thread Christopher Ogirri

I have currently successfully installed ns2.1b9 on my CentOS 5 machine.
After installation, I implemented the patch listed
herehttp://www.cs.unh.edu/cnrg/people/sowmyam/ns-atm/
.

Following the readme instructions( also found on that page) I was able to
apply the patch and ./configure.

I however encountered an error trying to run make.

The error is listed below:

g++-3.3.6 -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR
-DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H
-DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DPGM -DPGM_DEBUG
-DNS_DIFFUSION -I.
-I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/tclcl-1.0b12
-I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/otcl-1.0a8
-I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/include
-I/home/ktofa/ns_atm/ns2.1b9/ns-allinone-2.1b9/include -I/usr/include/pcap
-I./tcp -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/main
-I./diffusion3/lib -I./diffusion3/nr -I./diffusion3/ns -I./asim/ -o
trace/trace.o trace/trace.cc
In file included from trace/trace.cc:55:
atm/atm.h:66: error: syntax error before `*' token
make: *** [trace/trace.o] Error 1


In the file its complainig, there is a śtring'declaration before the *
character. I fear this is the problem.

I should note now that in order to install ns2.1b9 I had to basically
install a much older version of gcc, precisely gcc 3.3.6.

I have searched the mailing lists but have found nothing. I have attached
the file so that anyone can go through it.

Any help would be greatly appreciated.