Hi everyone, I tried to run under /opt/tinyos-1.x/contrib/xbow/apps/Surge_Reliable, but the result shows like : $ make mica2 install,1 mib510,com1mkdir -p build/mica2 compiling Surge to a mica2 binaryncc -o build/mica2/main.exe -Os -I../../tos/platform/mica2 -I../../tos/CC1000RaioAck -I../../tos/lib/ReliableRoute -I%T/lib/Queue -I%T/lib/Broadcast -I%T/lib/ttributes -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x81 -Wnesc-al -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DCC1K_DEFAULT_FRE=RADIO_916BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF -DIDENT_PROGRAM_NAME="Surge"DIDENT_PROGRAM_NAME_BYTES="83,117,114,103,101,0" -DIDENT_USER_HASH=0xd63717c4LDIDENT_UNIX_TIME=0x443efb1aL Surge.nc -lmSurgeM.nc: In function `SendData':SurgeM.nc:124: warning: passing argument 2 of `AttrUse.getAttrValue' from incomatible pointer typeSurgeM.nc:124: warning: passing
argument 3 of `AttrUse.getAttrValue' from incomatible pointer typeSurgeM.nc:125: warning: passing argument 2 of `AttrUse.getAttrValue' from incomatible pointer typeSurgeM.nc:125: warning: passing argument 3 of `AttrUse.getAttrValue' from incomatible pointer typeSurgeM.nc: At top level:SurgeM.nc:187: warning: `LightStdControl.stop' called asynchronously from `Ligh.dataReady'SurgeM.nc:188: warning: `TempStdControl.start' called asynchronously from `Ligh.dataReady'SurgeM.nc:189: warning: `TempTimer.start' called asynchronously from `Light.datReady'SurgeM.nc:205: warning: `TempStdControl.stop' called asynchronously from `Temp.ataReady'AttrMagM.nc:133: warning: non-atomic accesses to shared variable `bufr_data':AttrMagM.nc:150: warning: non-atomic r/wAttrMagM.nc:151: warning: non-atomic readAttrMagM.nc:152: warning: non-atomic writeAttrMagM.nc:156:
warning: non-atomic readAttrMagM.nc:158: warning: non-atomic r/wAttrMagM.nc:166: warning: non-atomic readAttrMagM.nc:167: warning: non-atomic readAttrMagM.nc:171: warning: non-atomic writeAttrMagM.nc:172: warning: non-atomic writeAttrMagM.nc:186: warning: non-atomic writeAttrMagM.nc:246: warning: non-atomic readAttrMagM.nc:247: warning: non-atomic r/wAttrMagM.nc:250: warning: non-atomic writeAttrMagM.nc:366: warning: non-atomic writeAttrMagM.nc:367: warning: non-atomic writeAttrMagM.nc:446: warning: non-atomic writeAttrMagM.nc:446: warning: non-atomic readAttrMagM.nc:458: warning: non-atomic writeAttrMagM.nc:458: warning: non-atomic readAttrMagM.nc:482: warning: non-atomic writeAttrMagM.nc:501:
warning: non-atomic writeAttrMagM.nc:502: warning: non-atomic writeAttrMagM.nc:504: warning: non-atomic writeAttrMagM.nc:505: warning: non-atomic writeAttrMagM.nc:506: warning: non-atomic writeAttrMagM.nc:509: warning: non-atomic writeAttrMagM.nc:510: warning: non-atomic writeAttrMagM.nc:135: warning: non-atomic accesses to shared variable `maxMagX':AttrMagM.nc:374: warning: non-atomic writeAttrMagM.nc:447: warning: non-atomic readAttrMagM.nc:448: warning: non-atomic writeAttrMagM.nc:525: warning: non-atomic readAttrMagM.nc:525: warning: non-atomic writeAttrMagM.nc:526: warning: non-atomic readAttrMagM.nc:528: warning: non-atomic writeAttrMagM.nc:135: warning: non-atomic accesses to shared variable `maxMagY':AttrMagM.nc:375: warning:
non-atomic writeAttrMagM.nc:459: warning: non-atomic readAttrMagM.nc:460: warning: non-atomic writeAttrMagM.nc:547: warning: non-atomic readAttrMagM.nc:548: warning: non-atomic writeC:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntMnc:187: warning: non-atomic accesses to shared variable `usRSSIVal':C:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntMnc:953: warning: non-atomic readC:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntMnc:183: warning: non-atomic accesses to shared variable `bTxPending':C:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntMnc:454: warning: non-atomic readC:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/lib/ReliableRoute/MultiHopEWMAnc: In function
`MultiHopEWMA$SendRouteTask':C:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/lib/ReliableRoute/MultiHopEWMAnc:444: warning: unused variable `sortTbl'SurgeM.nc: In function `SurgeM$TempTimer$fired':SurgeM.nc:194: warning: no return statement in function returning non-voidSurgeM.nc: In function `SurgeM$SendData':SurgeM.nc:124: warning: passing arg 2 of `SurgeM$AttrUse$getAttrValue' from incmpatible pointer typeSurgeM.nc:125: warning: passing arg 2 of `SurgeM$AttrUse$getAttrValue' from incmpatible pointer typeC:/tinyos/cygwin/opt/tinyos-1.x/tos/system/RealMain.nc: In function `main':C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/StdControl.nc:63: warning: `resut' might be used uninitialized in this function compiled Surge to build/mica2/main.exe 22502 bytes in ROM 2142 bytes
in RAMavr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srecset-mote-id build/mica2/main.srec build