I am trying to compile the application (Surge) which uses MultiHopRouter.nc component for its routing algorithm. This component's module file is MultiHopRouteM.nc. In this component when I made changes according to my need in MultiHopRouteM.nc, but changes were not reflected on my motes when I ran the application on test bed. As a result I got suspecious and delebrately made some compile time errors in the file. Despite of the fact I made erroneous changes and irrespective of type of errors I introduced (like using new variables without declaration etc), the application got compiled.

Even though I changed the name of MultiHopRouteM.nc file to MultiHopRouterM.nc it still compiled without detecting errors.

Then finally I changed the name of component in all files to MultiHopRouterM.nc from MultiHopRouteM.nc, thinking that it might be refereing component with same name from other directory, it still compiled with errors in file. I got this thing compiled in different platforms too.

Its funny and strange. Can anyone throw some light on it?

I am confused what to do to make changes effective in my application. This file is located in :../tinyos-1.x/tos/lib/Route/ directory. One more thing I would like to tell that I am trying to compile it with nucleus specification. Is it happening because of that?

Please help.

Regards,
Sumit

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to