Hello there.

U guys are helping me a lot. I am really thankful to
all of u there.

I have another problem which I can't get a solution
for. I have made some modification on DSR and added
some more files in the folder ns-2.29/DSR. I have made
modification to Makefile as well so that it contains
the .o's for the new files I have added to dsr. I have
to run the following commands:

make clean
make

When I run the above commands, I get the following
after taking some time to create the .o's (this is
only partial):

 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_4phy.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/diffusion/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/difftimer.o
diffusion3/filter_core/filter_core.o
diffusion3/filter_core/iolog.o
diffusion3/filter_core/iostats.o
diffusion3/lib/main/attrs.o
diffusion3/lib/main/events.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
diffusion3/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_ping_sender.o
diffusion3/apps/ping/1pp_ping_receiver.o
diffusion3/apps/ping/2pp_ping_sender.o
diffusion3/apps/ping/2pp_ping_receiver.o
diffusion3/apps/ping/ping_common.o
diffusion3/apps/ping/push_receiver.o
diffusion3/apps/ping/push_sender.o
diffusion3/filters/gear/gear_attr.o
diffusion3/filters/gear/gear.o
diffusion3/filters/gear/gear_tools.o
diffusion3/filters/misc/log.o
diffusion3/filters/misc/srcrt.o
diffusion3/filters/misc/tag.o
diffusion3/filters/rmst/rmst.o
diffusion3/filters/rmst/rmst_filter.o gen/version.o
gen/ns_tcl.o gen/ptypes.o  common/win32.o
-L/root/nets/ns-allinone-2.29/tclcl-1.17 -ltclcl
-L/root/nets/ns-allinone-2.29/otcl-1.11 -lotcl
-L/root/nets/ns-allinone-2.29/lib -ltk8.4
-L/root/nets/ns-allinone-2.29/lib -ltcl8.4 -lnsl
-lpcap -ldl -lm -lm
dsr/mobicache.o: In function `MobiCache::command(int,
char const* const*)':
mobicache.cc:(.text+0x79): undefined reference to
`RouteCache::trace(char*, ...)'
mobicache.cc:(.text+0x8e): undefined reference to
`RouteCache::command(int, char const* const*)'
dsr/mobicache.o: In function
`MobiCache::~MobiCache()':
mobicache.cc:(.text+0x170): undefined reference to
`RouteCache::~RouteCache()'
mobicache.cc:(.text+0x18c): undefined reference to
`RouteCache::~RouteCache()'
dsr/mobicache.o: In function
`MobiCache::~MobiCache()':
mobicache.cc:(.text+0x232): undefined reference to
`RouteCache::~RouteCache()'
mobicache.cc:(.text+0x24e): undefined reference to
`RouteCache::~RouteCache()'
dsr/mobicache.o: In function
`MobiCache::~MobiCache()':
mobicache.cc:(.text+0x2f4): undefined reference to
`RouteCache::~RouteCache()'
dsr/mobicache.o:mobicache.cc:(.text+0x310): more
undefined references to `RouteCache::~RouteCache()'
follow
dsr/mobicache.o: In function `MobiCache::MobiCache()':
mobicache.cc:(.text+0x45d): undefined reference to
`RouteCache::RouteCache()'
mobicache.cc:(.text+0x514): undefined reference to
`RouteCache::~RouteCache()'
dsr/mobicache.o: In function `MobiCache::MobiCache()':
mobicache.cc:(.text+0x595): undefined reference to
`RouteCache::RouteCache()'
mobicache.cc:(.text+0x64c): undefined reference to
`RouteCache::~RouteCache()'
dsr/mobicache.o: In function
`MobiCache::noticeRouteUsed(Path const&, double, ID
const&)':
mobicache.cc:(.text+0x120e): undefined reference to
`RouteCache::pre_noticeRouteUsed(Path const&, Path&,
double, ID const&)'
dsr/mobicache.o: In function `MobiCache::addRoute(Path
const&, double, ID const&)':
mobicache.cc:(.text+0x12b4): undefined reference to
`RouteCache::pre_addRoute(Path const&, Path&, double,
ID const&)'
dsr/mobicache.o:(.gnu.linkonce.r._ZTI9MobiCache[typeinfo
for MobiCache]+0x8): undefined reference to `typeinfo
for RouteCache'
dsr/mobicache.o:(.gnu.linkonce.r._ZTV9MobiCache[vtable
for MobiCache]+0x38): undefined reference to
`RouteCache::dump(_IO_FILE*)'
collect2: ld returned 1 exit status
make: *** [ns] Error 1


I know I did some modifications to mobicache.cc. But
the above errors are not concerning any of my
modifications. Please get me a solution to this
'unclear' error. It is killing me!!!!

Thanks a lot again.

Netsanet







__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to