Hi,everybody I think I must send this letter again,for I didn't post the error message to you. The following is the error message I got when compling ns-2.29:
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/landrew/WsnSimulator/ns-allinone-2.29/tclcl-1.17 -I/home/landrew/WsnSimulator/ns-allinone-2.29/otcl-1.11 -I/home/landrew/WsnSimulator/ns-allinone-2.29/include -I/home/landrew/WsnSimulator/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 dsr/dsragent.o dsr/dsragent.cc dsr/dsragent.cc: In member function ‘void DSRAgent::handleFlowForwarding(SRPacket&, int)’: dsr/dsragent.cc:828: error: ‘XmitFlowFailureCallback’ was not declared in this scope dsr/dsragent.cc: In member function ‘void DSRAgent::sendOutPacketWithRoute(SRPacket&, bool, Time)’: dsr/dsragent.cc:1385: error: ‘XmitFailureCallback’ was not declared in this scope dsr/dsragent.cc:1386: error: ‘XmitFlowFailureCallback’ was not declared in this scope dsr/dsragent.cc:1403: error: ‘XmitFailureCallback’ was not declared in this scope make: *** [dsr/dsragent.o] Error 1 Thank you very much!