[ns] ns-2.29 installation problem: trace.c compilation error
Salih ML
salih.ml at gmail.com
Sun Apr 6 17:39:54 PDT 2008
Has any one encountered the following error while installing 2.29. I
tried installing the 2.29.1 & 2.29.2 but still got the same error:
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/home/ns/ns-allinone-2.29.2/tclcl-1.17
-I/home/ns/ns-allinone-2.29.2/otcl-1.11
-I/home/ns/ns-allinone-2.29.2/include
-I/home/ns/ns-allinone-2.29.2/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 trace/trace.o trace/trace.cc
./sctp/sctp.h:705: error: extra qualification 'SctpAgent::' on member
'DumpSendBuffer'
make: *** [trace/trace.o] Error 1
Ns make failed!
I checked the FAQ or ns-problems page but couldn't find the answer there.
I am trying to compile the code on a Ubuntu machine:
Linux xxxxx 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
Thanks,
salih
More information about the Ns-users
mailing list