It doesn't look like there are any errors - just warnings. Have you added
the deluge component in SurgeReliable.nc?
If you have, just write the image to the motes. That should do it.
Sankar.
On Thu, 23 Mar 2006 17:14:56 -0600, Winston Liu <[EMAIL PROTECTED]>
wrote:
I want to install Deluge which is for air programming, but cannot make
install it on TinyOs 1.1.15.
Indeed, I evan cannot make Surge-Reliable successfully. Anyone can help
me?
Here's the information for making Surge-Reliable:
$ make mica2
mkdir -p build/mica2
compiling Surge to a mica2 binary
ncc -o build/mica2/main.exe -Os -I../../tos/platform/mica2
-I../../tos/CC1000Rad
ioAck -I../../tos/lib/ReliableRoute -I%T/lib/Queue -I%T/lib/Broadcast
-I%T/lib/A
ttributes -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=125
-Wnesc-all
-target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb
-DCC1K_DEFAULT_FREQ=
RADIO_916BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF
-DCC2420_TXPOWER=TXPOWER_MAX -D
CC2420_DEF_CHANNEL=26 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Surge\"
-DIDENT_USE
R_ID=\"lj\" -DIDENT_HOSTNAME=\"DD5D8B81\" -DIDENT_USER_HASH=0x5340bbb6L
-DIDENT_
UNIX_TIME=0x44232a4fL -DIDENT_UID_HASH=0xb5a7dcf1L Surge.nc -lm
SurgeM.nc: In function `SendData':
SurgeM.nc:112: warning: suggest parentheses around assignment used as
truth valu
e
SurgeM.nc:124: warning: passing argument 2 of `AttrUse.getAttrValue'
from incomp
atible pointer type
SurgeM.nc:124: warning: passing argument 3 of `AttrUse.getAttrValue'
from incomp
atible pointer type
SurgeM.nc:125: warning: passing argument 2 of `AttrUse.getAttrValue'
from incomp
atible pointer type
SurgeM.nc:125: warning: passing argument 3 of `AttrUse.getAttrValue'
from incomp
atible pointer type
ADCREFM.nc: In function `startGet':
ADCREFM.nc:212: warning: suggest parentheses around assignment used as
truth val
ue
SurgeM.nc: At top level:
SurgeM.nc:187: warning: `LightStdControl.stop' called asynchronously
from `Light
.dataReady'
SurgeM.nc:188: warning: `TempStdControl.start' called asynchronously
from `Light
.dataReady'
SurgeM.nc:189: warning: `TempTimer.start' called asynchronously from
`Light.data
Ready'
SurgeM.nc:205: warning: `TempStdControl.stop' called asynchronously from
`Temp.d
ataReady'
AttrMagM.nc:133: warning: non-atomic accesses to shared variable
`bufr_data':
AttrMagM.nc:150: warning: non-atomic r/w
......
AttrMagM.nc:548: warning: non-atomic write
D:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntM.
nc:187: warning: non-atomic accesses to shared variable `usRSSIVal':
D:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntM.
nc:953: warning: non-atomic read
D:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntM.
nc:183: warning: non-atomic accesses to shared variable `bTxPending':
D:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/CC1000RadioAck/CC1000RadioIntM.
nc:454: warning: non-atomic read
D:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/lib/ReliableRoute/MultiHopEWMA.
nc: In function `MultiHopEWMA$SendRouteTask':
D:/tinyos/cygwin/opt/tinyos-1.x/contrib/xbow/tos/lib/ReliableRoute/MultiHopEWMA.
nc:444: warning: unused variable `sortTbl'
SurgeM.nc: In function `SurgeM$TempTimer$fired':
SurgeM.nc:194: warning: no return statement in function returning
non-void
SurgeM.nc: In function `SurgeM$SendData':
SurgeM.nc:124: warning: passing arg 2 of `SurgeM$AttrUse$getAttrValue'
from inco
mpatible pointer type
SurgeM.nc:125: warning: passing arg 2 of `SurgeM$AttrUse$getAttrValue'
from inco
mpatible pointer type
D:/tinyos/cygwin/opt/tinyos-1.x/tos/system/RealMain.nc: In function
`main':
D:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/StdControl.nc:63:
warning: `resul
t' might be used uninitialized in this function
compiled Surge to build/mica2/main.exe
22670 bytes in ROM
2165 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe
build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe
build/mica2/main.ihex
writing TOS image
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low
rates.
--
Force is all-conquering, but its victories are short-lived - Abraham
Lincoln
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help