Hi,

I have ns-2.31 installed using the ns-allinone package.   I did some
work on the 802.11 models and am getting some results.  Now I want to
run a simulation with both 802.11 and BT nodes.

It looks like UBCT is the best ns2 BT package.  Is that correct?  If
yes, I would really appreciate it if someone who has installed UBCT on
top of an existing ns-2 installation can look at this e-mail and
advice me on what is wrong.

STEPS I DID:

I downloaded the ubct...*tgz package from the Univ CIncinati website.
After I untarred it, I did a "cd" to the ubctXXX dir and did a
./install-bt.  This failed stating that ns2 is already installed. It
asked me to start with a new ns-allinone*** package.

I did not want to do this.  So, I did the  following.  I added all the
.cc files in the ubctXXX directory to the OBJ_CC list in the  Makefile
and the ubctXXX directory to the  INCLUDES list.  In addition, I added
HDR_BT(), HDR_SCO() etc. functions to common/packet.h to solve some
errors.

However, when I do a make depend and then a make I am getting the
following error which I don't know how to fix.  The errors are:
ucbt-0.9.9.2a/bnep.cc: In member function `void BNEP::piconet_sched()':
ucbt-0.9.9.2a/bnep.cc:349: warning: cast from pointer to integer of
different size
ucbt-0.9.9.2a/bnep.cc: In member function `void BNEP::make_connections()':
ucbt-0.9.9.2a/bnep.cc:379: error: `MIN' was not declared in this scope
ucbt-0.9.9.2a/bnep.cc:379: warning: unused variable 'MIN'


Can someone me advice me on what the problem is?

Thanks,
Arvind

Reply via email to