Hi all,
I run the command
patch -p0 < patch-wimax-prerelease-092206 in ns-allinone-2.29 directory. Then,
after the ./configure, I added in the Makefile --DDEBUG_WIMAX to the DEFINE
command (somewhere around line 62).
then I did:
$ make clean
and
$ make
g++ -c -g -Wall -Werror -Wall -DTCP_DELAY_BIND_ALL -DNO_TK
-DTCLCL_CLASSINSTVAR \ -I. -I/usr/local/ns-allinone-2.29/tclcl-1.17
-I/usr/local/ns-allinone-2.29/otcl-1.11 -I/usr/local/ns-allinone-2.29/include
-I/usr/local/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./wimax -I./wpan -o tools/random.o tools/random.cc
g++: : No such file or directory
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
when I did make install, the result was:
$ make install
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install: cannot stat `ns': No such file or directory
make: *** [install-ns] Error 1
therefore when I did:
$ ns simple.tcl
gap size=1
invalid command name "Mac/802_16"
while executing
"Mac/802_16 set debug_ 0"
(file "simple.tcl" line 45)
what is there that he does not go?
thanks in advance
Elena