Hi svilen!!! I'm sure in this file is the problem and my error. I'm a new user of NS-2 and I'm a little bit lost. I downloaded the file (MAC-802_11.cc) from the site http://nsnam.cvs.sourceforge.net/nsnam/ns-2/mac/ and I copy this file to my directory. But when I try to do the command "make", it finds an error (I copied the result here) and I don't know wht to do with that. Can you help me with that please ??? thanks a lot, rgds, Cristina The error is: "chivacoa.crt.umontreal.ca[cris]43% make 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/cris/ns-allinone-2.29/tclcl-1.17 -I/home/cris/ns-allinone-2.29/otcl-1.11 -I/home/cris/ns-allinone-2.29/include -I/home/cris/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./wpan -o mac/mac-802_11.o mac/mac-802_11.cc mac/mac-802_11.cc: In constructor `Mac802_11::Mac802_11()': mac/mac-802_11.cc:224: error: `bugFix_timer_' undeclared (first use this function) mac/mac-802_11.cc:224: error: (Each undeclared identifier is reported only once for each function it appears in.) mac/mac-802_11.cc: In member function `void Mac802_11::tx_resume()': mac/mac-802_11.cc:529: error: `bugFix_timer_' undeclared (first use this function) mac/mac-802_11.cc:531: error: no matching function for call to `BackoffTimer::start(u_int32_t&, int, double)' mac/mac-timers.h:79: note: candidates are: void BackoffTimer::start(int, int) mac/mac-802_11.cc:548: error: no matching function for call to `BackoffTimer::start(u_int32_t&, int, double)' mac/mac-timers.h:79: note: candidates are: void BackoffTimer::start(int, int) mac/mac-802_11.cc: In member function `void Mac802_11::send(Packet*, Handler*)': mac/mac-802_11.cc:1168: error: `bugFix_timer_' undeclared (first use this function) mac/mac-802_11.cc:1170: error: no matching function for call to `BackoffTimer::start(u_int32_t&, int, double)' mac/mac-timers.h:79: note: candidates are: void BackoffTimer::start(int, int) make: *** [mac/mac-802_11.o] Error 1 " Thanks again!!!
Re: [ns] Help Scheduler: Event UID not valid!
Cristina Marisol Ortiz De La Roche Fri, 19 May 2006 11:03:46 -0700
