Hello,

I am trying to run S-MAC in tinyos-2.1.0 by making corresponding changes to
make it compatible from tinyos-1.x to tinyos-2.x.

I make some changes in SMACTestM.nc as well  as into some interfaces,etc

Now, I am not able to solve the foll. error when I type "make micaz sim"
from SMACTest direc.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:354: syntax error before
`MACControl'
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:359: warning: type
defaults to `int' in declaration of `durCtrlPkt'
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:359: conflicting types
for `durCtrlPkt'
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:227: previous
declaration of `durCtrlPkt'
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:359: warning: data
definition has no type or storage class
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:360: warning: type
defaults to `int' in declaration of `durSyncPkt'
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:360: conflicting types
for `durSyncPkt'
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:228: previous
declaration of `durSyncPkt'
/opt/tinyos-2.1.0/contrib/s-mac/tos/system/SMACM.nc:361: warning: data
definition has no type or storage class
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a snipped of the errors that I get.

Now, I checked "durCtrlPkt" in SMACM.nc as well as the variables that it
uses from PhyConst.h (present in tos/platform/micaz), but I could not figure
out the problem!!


Could anyone help with these???

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

Reply via email to