[ns] ./autoconf.h:89: error: expected namespace-name before '; ' token

Batov Igor Sergeevich igbatov at mail.ru
Wed Sep 7 09:51:58 PDT 2005


Hello!
trying to compile ns-2.28 on Fedora Core 3 on AMD64
get the following error
In file included from ./config.h:54,
                 from tools/random.cc:40:
./autoconf.h:89: error: expected namespace-name before ';' token
./autoconf.h:89: error: `<type error>' is not a namespace
What this can be?


---------------------------(full output)--------------------------
[root at localhost ns-2.28]# make
g++ -c  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_9 -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=no -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/home/ns-allinone-2.28/tclcl-1.16 -I/home/ns-allinone-2.28/otcl-1.9 -I/home/ns-allinone-2.28/include -I/home/ns-allinone-2.28/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./wpan -o tools/random.o tools/random.cc
In file included from ./config.h:54,
                 from tools/random.cc:40:
./autoconf.h:89: error: expected namespace-name before ';' token
./autoconf.h:89: error: `<type error>' is not a namespace
make: *** [tools/random.o] Error 1



More information about the Ns-users mailing list