On Mon, Oct 4, 2010 at 10:23 AM, alaa mashagbeh <[email protected]>wrote:
> *hi , > please i need the wireless patch file for the ns-2.31 coz i install ns-2.31 > and i need to* Add the channel fading and multi-rate transmission > capability to ns-2.31 and i install (( *ns-2.29_wireless_update_patch *))and > when i install it we face alot of failed hunk like in the attachment > and i don't know how to solve it pleas help me as soon as possible and in > the patch file i don't know ((( @@ -54,6 +54,9 @@ ))) what that mean !!!! > (( sorry i forget the attachment in previous email )) >
checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for dcgettext in -lintl... yes checking for getnodebyname in -ldnet_stub... no checking that g++ can handle -O2... no checking if C++ libraries work without any namespace... no checking if C++ libraries work with namespace std... yes checking if STL works without any namespace... no checking if STL works with namespace std... yes checking should use STL... yes checking for tcl.h... -I../include checking for libtcl8.4... -L../lib -ltcl8.4 checking for init.tcl... ../lib/tcl8.4 checking for tclsh8.4.14... no checking for tclsh8.4... ../bin/tclsh8.4 checking for tk.h... -I../include checking for libtk8.4... -L../lib -ltk8.4 checking for tk.tcl... ../lib/tk8.4 checking for otcl.h... -I../otcl checking for libotcl1.13... -L../otcl -lotcl checking for tclcl.h... -I../tclcl-1.19 checking for libtclcl... -L../tclcl-1.19 -ltclcl checking for tcl2c++... ../tclcl-1.19 checking for libtcldbg... no checking dmalloc... not requested with --with-dmalloc checking for perl... /usr/bin checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fenv.h usability... no checking fenv.h presence... no checking for fenv.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking net/ethernet.h usability... no checking net/ethernet.h presence... no checking for net/ethernet.h... no checking for main in -lm... yes checking for bcopy... yes checking for bzero... yes checking for fesetprecision... no checking for feenableexcept... no checking for getrusage... yes checking for sbrk... yes checking for snprintf... yes checking return type of random... long checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_char... yes checking for u_int... yes checking for strtoq... no checking for strtoll... yes checking for long... yes checking size of long... 4 checking for __int64_t... no checking for long long... yes checking for int64_t... yes checking which kind of 64-bit int to use... int64_t checking for struct ether_header... not found checking for struct ether_addr... not found checking for addr2ascii... no checking for Linux compliant tcphdr... not found checking for BSD compliant tcphdr... found checking for socklen_t... yes checking for main in -lpcap... no checking to make nse... no Explicitly disabling static compilation no dynamic load lib checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating tcl/lib/ns-autoconf.tcl config.status: creating indep-utils/webtrace-conv/ucb/Makefile config.status: creating indep-utils/webtrace-conv/dec/Makefile config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h config.status: autoconf.h is unchanged u...@since /cygdrive/c/ns-allinone-2.31/ns-2.31 $ u...@since /cygdrive/c/ns-allinone-2.31/ns-2.31 $ make clean rm -f ns nse nsx ns.dyn tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o commo n/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace -ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier -hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier /classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/cl assifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/c lassifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr _qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffic trace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o ad c/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc /timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc .o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adapti ve-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps /udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tc p/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp -full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp /tcp-sack1.o tcp/tcp-fack.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/ tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp .o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multi pleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/ loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/ red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/s fq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/s noop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcas t/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymo del.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp -simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/ http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/lo gweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o cla ssifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator. o common/encap.o mac/channel.o mac/ErrorModel80211.o mac/mac.o mac/ll.o mac/mac- 802_11.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/prop_rice an.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing- vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode. o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o qu eue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hd lc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o ime p/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timer s.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr. o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o ds r/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarde r.o aodv/aodv_logs.o aodv/aodv.o aodv/aodv_rtable.o aodv/aodv_rqueue.o common/ns -process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o sa tellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrac e.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp -abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusi on/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table. o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile /energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP .o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv .o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealg o/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute. o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffser v/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o push back/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/ra te-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/ splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/ pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier- lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail .o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4p hy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_ 15_4transac.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diff usion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/ lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/di fftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o di ffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/e vents.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/ main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusio n3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver. o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst _sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_pin g_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_pin g_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_co mmon.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o d iffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/fil ters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/src rt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/fil ters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/pa ckmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/ packmime_ranvar.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o emulat e/net-ip.o emulate/net.o emulate/tap.o emulate/ether.o emulate/internet.o emulat e/ping_responder.o emulate/arp.o emulate/icmp.o emulate/net-pcap.o emulate/nat.o emulate/iptap.o emulate/tcptap.o emulate/inet.o common/tclAppInit.o gen/* ns.co re core core.ns core.nsx core.nse common/ptypes2tcl common/ptypes2tcl.o u...@since /cygdrive/c/ns-allinone-2.31/ns-2.31 $ patch -p1 < ns-2.29_wireless_update_patch patching file Makefile.in Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #1 succeeded at 228 (offset 6 lines). patching file common/packet-stamp.h Reversed (or previously applied) patch detected! Assume -R? [n] y patching file common/packet.h Hunk #1 succeeded at 500 (offset 7 lines). patching file common/scheduler.cc Hunk #1 succeeded at 54 with fuzz 1 (offset 20 lines). Hunk #2 FAILED at 119. Hunk #3 FAILED at 610. Hunk #4 FAILED at 632. Hunk #5 FAILED at 746. Hunk #6 FAILED at 805. Hunk #7 FAILED at 894. Hunk #8 FAILED at 931. 7 out of 8 hunks FAILED -- saving rejects to file common/scheduler.cc.rej patching file common/scheduler.h Hunk #1 succeeded at 34 with fuzz 1. patching file mac/ErrorModel80211.cc patching file mac/ErrorModel80211.h patching file mac/mac-802_11.cc Hunk #7 succeeded at 286 (offset 2 lines). Hunk #8 succeeded at 325 (offset 2 lines). Hunk #9 succeeded at 499 (offset 2 lines). Hunk #10 succeeded at 600 (offset 2 lines). Hunk #11 succeeded at 671 (offset 2 lines). Hunk #12 succeeded at 696 (offset 2 lines). Hunk #13 FAILED at 712. Hunk #14 FAILED at 732. Hunk #15 succeeded at 801 (offset 16 lines). Hunk #16 succeeded at 829 (offset 16 lines). Hunk #17 succeeded at 1008 (offset 16 lines). Hunk #18 succeeded at 1061 (offset 16 lines). Hunk #19 succeeded at 1146 (offset 16 lines). Hunk #20 succeeded at 1199 (offset 16 lines). Hunk #21 succeeded at 1250 (offset 16 lines). Hunk #22 succeeded at 1291 (offset 16 lines). Hunk #23 succeeded at 1325 (offset 16 lines). Hunk #24 succeeded at 1402 (offset 16 lines). Hunk #25 succeeded at 1428 (offset 16 lines). Hunk #26 succeeded at 1450 (offset 16 lines). Hunk #27 succeeded at 1577 (offset 16 lines). Hunk #28 succeeded at 1603 (offset 16 lines). Hunk #29 FAILED at 1637. Hunk #30 succeeded at 1717 (offset 23 lines). Hunk #31 succeeded at 1728 (offset 23 lines). Hunk #32 succeeded at 1763 (offset 23 lines). Hunk #33 succeeded at 1853 (offset 23 lines). Hunk #34 succeeded at 1958 (offset 23 lines). Hunk #35 succeeded at 2038 (offset 23 lines). Hunk #36 succeeded at 2121 (offset 23 lines). Hunk #37 succeeded at 2212 (offset 23 lines). Hunk #38 succeeded at 2316 (offset 23 lines). Hunk #39 succeeded at 2366 (offset 23 lines). 3 out of 39 hunks FAILED -- saving rejects to file mac/mac-802_11.cc.rej patching file mac/mac-802_11.h Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #1 succeeded at 54 (offset 1 line). Hunk #2 FAILED at 146. Hunk #3 succeeded at 154 (offset -25 lines). Hunk #4 succeeded at 201 (offset -25 lines). Hunk #5 succeeded at 258 (offset -20 lines). Hunk #6 succeeded at 299 (offset -20 lines). Hunk #7 succeeded at 340 (offset -20 lines). Hunk #8 succeeded at 357 (offset -20 lines). 1 out of 8 hunks FAILED -- saving rejects to file mac/mac-802_11.h.rej patching file mac/mac-timers.cc Hunk #1 FAILED at 221. Hunk #2 FAILED at 245. Hunk #3 FAILED at 266. 3 out of 3 hunks FAILED -- saving rejects to file mac/mac-timers.cc.rej patching file mac/mac-timers.h Hunk #1 FAILED at 74. 1 out of 1 hunk FAILED -- saving rejects to file mac/mac-timers.h.rej patching file mac/wireless-phy.cc Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #1 succeeded at 387 (offset 6 lines). The next patch would create the file mobile/prop_ricean.cc, which already exists! Assume -R? [n] y patching file mobile/prop_ricean.cc The next patch would create the file mobile/prop_ricean.h, which already exists! Assume -R? [n] y patching file mobile/prop_ricean.h patching file mobile/propagation.cc Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #2 FAILED at 155. 1 out of 2 hunks FAILED -- saving rejects to file mobile/propagation.cc.rej patching file mobile/tworayground.cc Reversed (or previously applied) patch detected! Assume -R? [n] y patching file tcl/lib/ns-default.tcl Hunk #1 FAILED at 660. 1 out of 1 hunk FAILED -- saving rejects to file tcl/lib/ns-default.tcl.rej patching file trace/cmu-trace.h Reversed (or previously applied) patch detected! Assume -R? [n] y patching file trace/trace.cc Reversed (or previously applied) patch detected! Assume -R? [n] y patching file trace/trace.h Reversed (or previously applied) patch detected! Assume -R? [n] y u...@since /cygdrive/c/ns-allinone-2.31/ns-2.31 $
