I have currently successfully installed ns2.1b9 on my CentOS 5 machine.
After installation, I implemented the patch listed

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:

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

Reply via email to