Hi Arvind,
Are you able to install/configure UCBT on ns2.x. I am trying the same (UCBT + ns2.29 / ns2.34 + Ubuntu 8.04/9.10) but its getting failed with hell lot of errors. Can you please share your experience. Regards Hassan Collin Krepps wrote: > > > I am also beginning work with the UCBT package. I hit MIN/MAX macro > errors in several class files. It seems the macros are defined in > config.h but are not available to the UCBT classes. My solution was to > copy the macro definition to the various files that complained. > > After that, I hit an error with some private members of cmu-trace. I > changed those members to protected and compiled successfully. > > > > On Sun, 23 Dec 2007, Arvind Swaminathan wrote: > >> >> Hi, >> >> JUst realized that I was referring to the wrong package name. The >> package name is UCBT and not UBCT!! >> >> If anyone has experience with installing UCBT and ns-2.31 (or >> installing UCBT with ns already installed), please read this e-mail >> and send me your comments. >> >> 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 UCBT 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 ucbt...*tgz package from the Univ CIncinati website. >> After I untarred it, I did a "cd" to the ucbtXXX 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 >> >> > > > -- View this message in context: http://old.nabble.com/UCBT-%28Univ-of-Cincinati-Bluetooth%29-and-ns-2.31%2C-tp14475775p28232392.html Sent from the ns-users mailing list archive at Nabble.com.
