Hello, I started to use ns2.35 recently with Cygwin Terminal 1.7.35 under a virtual machine Windows XP Pro Service Pack 3. I'm having a problem when trying to apply a EDCA patch of 802.11e.
First i tried the oficial patch (intended for ns2.28), then i found a later version of EDCA:
Ref. post #18 he http://www.linuxquestions.org/questi...245/page2.html
I also tried to apply the patch for ns-2.35
Ref. post #70 he http://www.linuxquestions.org/questi...928/page5.html
After I made the changes in the files and running the following commands (as said by the 'README.txt' inside the patch)
./configure; make clean; make depend; make
I got the message:
Code:
g++ -c -O2 -Wall -Wno-write-strings -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/home/Administrator/ns-allinone-2.35/tclcl-1.20 -I/home/Administrator/ns-allinone-2.35/otcl -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/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 -I./mac/802_11e -o mac/802_11e/mac-802_11e.o mac/802_11e/mac-802_11e.cc
mac/802_11e/mac-802_11e.cc:41:20: fatal error: stream.h: No such file or directory
#include "stream.h"
^
compilation terminated.
Makefile:93: recipe for target 'mac/802_11e/mac-802_11e.o' failed
make: *** [mac/802_11e/mac-802_11e.o] Error 1
Also, the ns command (which was working before the patch) now shows me an error:
Code:
bash: ns: command not found
I've searched the ns directory and the ns executable there is no more.
Do you have any ideia how to correct this?
Thank you in advance.