[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] What does $d mean in the configure file of ns-2.1b6 ?




Thanks so much!  The configure passed now.  The
problem now becomes like this (attached).  I noticed
it looks similar to the problem reported at:

http://www-mash.cs.berkeley.edu/dist/archive/ns-users/0003/0205.html
http://www-mash.cs.berkeley.edu/dist/archive/ns-users/0003/0268.html

However, I don't understand what packages I should
patch.  I found there are a few patches on the ftp
site:
ns-2.1b6-configure.patch
ns-2.1b6-webtraf.patch
ns-configure.patch
ns-src-current.lwood
temp-dsr.patch

I did the ns-2.1b6-configure.patch and
ns-2.1b6-webtraf.patch and ns-2.1b6 didn't get
through.  I also tried the snapshot (b7) and it didn't
get through either.  Both error messages are attached.

Do you know why or what patches I should use ? 
Thanks!


----------------ns-2.1b6 compile error--------
% make
c++ -c -O2 -DTCP_DELAY_BIND_ALL -DNO_TK
-DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM
 -DHAVE_LIBTCLCL1_0B9 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A5 -DHAVE_OTCL_H -DHAVE_LI
BTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H 
-DHAVE_CONFIG_H -I. -I/lusr/X1
1R6/include -I/u/lzhu/zhf/ns6/tclcl-1.0b9
-I/u/lzhu/zhf/ns6/otcl-1.0a5 -I/u/lzhu
/zhf/ns6/tk8.0.4/generic
-I/u/lzhu/zhf/ns6/tcl8.0.4/generic -o
webcache/webtraf.
o webcache/webtraf.cc
c++  -o ns \
        tclAppInit.o  random.o rng.o ranvar.o misc.o
timer-handler.o scheduler.o
 object.o packet.o ip.o route.o connector.o ttl.o
trace.o trace-ip.o classifier.
o classifier-addr.o classifier-hash.o
classifier-virtual.o classifier-mcast.o cl
assifier-bst.o classifier-mpath.o replicator.o
classifier-mac.o classifier-port.
o app.o telnet.o tcplib-telnet.o trafgen.o
traffictrace.o pareto.o expoo.o cbr_t
raffic.o tbf.o resv.o sa.o saack.o measuremod.o
estimator.o adc.o ms-adc.o timew
indow-est.o acto-adc.o pointsample-est.o salink.o
actp-adc.o hb-adc.o expavg-est
.o param-adc.o null-estimator.o adaptive-receiver.o
vatrcvr.o consrcvr.o agent.o
 message.o udp.o session-rtp.o rtp.o rtcp.o ivs.o
tcp.o tcp-sink.o tcp-reno.o tc
p-newreno.o tcp-vegas.o tcp-rbp.o tcp-full.o
scoreboard.o tcp-sack1.o tcp-fack.o
 tcp-asym.o tcp-asym-sink.o tcp-fs.o tcp-asym-fs.o
tcp-int.o chost.o tcp-session
.o nilist.o integrator.o queue-monitor.o flowmon.o
loss-monitor.o queue.o drop-t
ail.o simple-intserv-sched.o red.o
semantic-packetqueue.o semantic-red.o ack-rec
ons.o sfq.o fq.o drr.o cbq.o hackloss.o errmodel.o
delay.o snoop.o dynalink.o rt
ProtoDV.o net-interface.o ctrMcast.o mcast_ctrl.o
srm.o sessionhelper.o delaymod
el.o srm-ssm.o srm-topo.o mftp.o mftp_snd.o mftp_rcv.o
codeword.o alloc-address.
o address.o lib/int.Vec.o lib/int.RVec.o
lib/dmalloc_support.o webcache/http.o w
ebcache/tcp-simple.o webcache/pagepool.o
webcache/inval-agent.o webcache/tcpapp.
o webcache/http-aux.o webcache/mcache.o
webcache/webtraf.o lanRouter.o filter.o
pkt-counter.o Decapsulator.o Encapsulator.o channel.o
mac.o ll.o mac-802_11.o ma
c-802_3.o mip.o mip-reg.o gridkeeper.o propagation.o
tworayground.o antenna.o om
ni-antenna.o bi-connector.o node.o mobilenode.o arp.o
god.o dem.o topography.o m
odulation.o priqueue.o phy.o wired-phy.o
wireless-phy.o mac-timers.o cmu-trace.o
 varp.o dsdv/dsdv.o dsdv/rtable.o rtqueue.o rttable.o
imep/imep.o imep/dest_queu
e.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o
imep/imep_timers.o imep/im
ep_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/mobic
ache.o dsr/path.o dsr/requesttable.o dsr/routecache.o
aodv/aodv_logs.o aodv/aodv
.o ns-process.o satgeometry.o sathandoff.o satlink.o
satnode.o satposition.o sat
route.o sattrace.o rap/raplist.o rap/rap.o
rap/media-app.o rap/utilities.o fsm.o
 tcp-abs.o tfrc.o tfrc-sink.o energy-model.o ping.o
tcp-rfc793edu.o gen/version.
o gen/ns_tcl.o gen/ptypes.o  win32.o
-L/u/lzhu/zhf/ns6/tclcl-1.0b9 -ltclcl -L/u/
lzhu/zhf/ns6/otcl-1.0a5 -lotcl
-L/u/lzhu/zhf/ns6/tk8.0.4/unix -ltk8.0 -L/u/lzhu/
zhf/ns6/tcl8.0.4/unix -ltcl8.0 -L/lusr/X11R6/lib
-lXext -lX11 -lnsl -ldl -lm
for i in indep-utils/cmu-scen-gen/setdest
indep-utils/webtrace-conv/dec indep-ut
ils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr
indep-utils/webtrace-conv/
ucb; do ( cd $i; make all; ) done
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/cmu-s
cen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/cmu-sc
en-gen/setdest'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtr
ace-conv/dec'
c++ -c -O2 -I. -I/u/lzhu/zhf/ns6/tclcl-1.0b9
-I/u/lzhu/zhf/ns6/otcl-1.0a5 -I/u/l
zhu/zhf/ns6/tk8.0.4/generic
-I/u/lzhu/zhf/ns6/tcl8.0.4/generic -o my-endian.o my
-endian.cc
my-endian.cc: In function `void ToOtherEndian(TEntry
*)':
my-endian.cc:42: conversion from `short unsigned int'
to `enum method_t'
my-endian.cc:45: conversion from `u_4bytes' to `enum
method_t'
my-endian.cc:48: conversion from `short unsigned int'
to `enum protocol_t'
my-endian.cc:51: conversion from `u_4bytes' to `enum
protocol_t'
make[1]: *** [my-endian.o] Error 1
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtra
ce-conv/dec'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtr
ace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtra
ce-conv/epa'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtr
ace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtra
ce-conv/nlanr'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtr
ace-conv/ucb'
c++ -c -O2 -I. -I/u/lzhu/zhf/ns6/tclcl-1.0b9
-I/u/lzhu/zhf/ns6/otcl-1.0a5 -I/u/l
zhu/zhf/ns6/tk8.0.4/generic
-I/u/lzhu/zhf/ns6/tcl8.0.4/generic -o utils.o utils.
cc
utils.cc: In function `int saccept(int)':
utils.cc:358: passing `int *' as argument 3 of
`accept(int, sockaddr *, socklen_
t *)' changes signedness
utils.cc: In function `int sportnum(int)':
utils.cc:469: passing `int *' as argument 3 of
`getsockname(int, sockaddr *, soc
klen_t *)' changes signedness
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b6/indep-utils/webtra
ce-conv/ucb'
make: *** [all-recursive] Error 2


----------------ns-2.1b7 (current) error---------
% make
for i in indep-utils/cmu-scen-gen/setdest
indep-utils/webtrace-conv/dec indep-ut
ils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr
indep-utils/webtrace-conv/
ucb; do ( cd $i; make all; ) done
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-uti
ls/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-util
s/cmu-scen-gen/setdest'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-uti
ls/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-util
s/webtrace-conv/dec'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-uti
ls/webtrace-conv/epa'
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-util
s/webtrace-conv/epa'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-uti
ls/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-util
s/webtrace-conv/nlanr'
make[1]: Entering directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-uti
ls/webtrace-conv/ucb'
c++ -c -O2 -I. -I/u/lzhu/zhf/ns6/tclcl-1.0b9
-I/u/lzhu/zhf/ns6/otcl-1.0a5 -I/u/l
zhu/zhf/ns6/tk8.0.4/generic
-I/u/lzhu/zhf/ns6/tcl8.0.4/generic -o utils.o utils.
cc
utils.cc: In function `int saccept(int)':
utils.cc:358: passing `int *' as argument 3 of
`accept(int, sockaddr *, socklen_
t *)' changes signedness
utils.cc: In function `int sportnum(int)':
utils.cc:469: passing `int *' as argument 3 of
`getsockname(int, sockaddr *, soc
klen_t *)' changes signedness
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory
`/v/hank/v62/lzhu/zhf/ns6/ns-2.1b7-current/indep-util
s/webtrace-conv/ucb'
make: *** [all-recursive] Error 2



__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com