You probably have a version of TinyOS that is not compatible with the
Cricket nodes. IIRC, RadioCoordinator changed a few times in 1.x. If
you look through the 1.x CVS, you can probably find the version that
matches what you want and figure out what TinyOS version you need
from there.
Phil
On Aug 6, 2007, at 1:38 PM, Christopher Jenkins wrote:
Hello,
I've tried to ask this question about 5 different ways, always with
no response. Below is the error trace I am receiving, and I can't
exactly figure out why it is giving me a previous declaration
error. What does this type of error imply?
mkdir -p build/cricket
compiling Cricket to a cricket binary, using binary components
ncc -o build/cricket/main.exe -Os -Wl,-u,vfprintf -lprintf_flt -lm
-finline-limit=100000 -I%T/platform/cricket -I%T/lib/Queue -I%T/
sensorboards/micasb -I%T/lib/Broadcast -I%T/lib/XLib -
DFREQ_433_MHZ -DROUTE_PROTOCOL=0x90 -I%T/radio/cc1000hp -I%T/lib/
XMeshBin -DMULTIHOPROUTER=XMeshBinaryRouter -Wall -Wshadow -
DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=cricket -fnesc-
cfile=build/cricket/app.c -board=micasb -
DIDENT_PROGRAM_NAME="Cricket" -
DIDENT_PROGRAM_NAME_BYTES="67,114,105,99,107,101,116,0" -
DIDENT_USER_ID="Administrator" -
DIDENT_USER_ID_BYTES="65,100,109,105,110,105,115,116,114,97,116,111,11
4,0" -DIDENT_HOSTNAME="b768812" -
DIDENT_HOSTNAME_BYTES="98,55,54,56,56,49,50,0" -
DIDENT_USER_HASH=0x602654d3L -DIDENT_UNIX_TIME=0x46b78635L -
DCC1K_DEFAULT_FREQ=RADIO_433BAND_CHANNEL_00 -
DRADIO_XMIT_POWER=0xFF Cricket.nc -L/opt/MoteWorks/tos/lib/
XMeshBin /opt/MoteWorks/tos/lib/XMeshBin/XMesh_mica2.O -lm
In file included from CricketM.nc:53,
from Cricket.nc:27:
In interface `RadioCoordinator':
C:\Crossbow\cygwin\opt\MoteWorks\tos\platform\cricket
\RadioCoordinator.nc:35: syntax error before `TOS_MsgPtr'
C:\Crossbow\cygwin\opt\MoteWorks\tos\platform\cricket
\RadioCoordinator.nc:40: syntax error before `msg'
In file included from Cricket.nc:27:
In component `CricketM':
CricketM.nc:441: conflicting types for `RadioSendCoord.startSymbol'
C:\Crossbow\cygwin\opt\MoteWorks\tos\platform\cricket
\RadioCoordinator.nc:35: previous declaration of
`RadioSendCoord.startSymbol'
CricketM.nc:459: conflicting types for `RadioSendCoord.byte'
C:\Crossbow\cygwin\opt\MoteWorks\tos\platform\cricket
\RadioCoordinator.nc:40: previous declaration of `RadioSendCoord.byte'
CricketM.nc:469: conflicting types for `RadioReceiveCoord.startSymbol'
C:\Crossbow\cygwin\opt\MoteWorks\tos\platform\cricket
\RadioCoordinator.nc:35: previous declaration of
`RadioReceiveCoord.startSymbol'
CricketM.nc:483: conflicting types for `RadioReceiveCoord.byte'
C:\Crossbow\cygwin\opt\MoteWorks\tos\platform\cricket
\RadioCoordinator.nc:40: previous declaration of
`RadioReceiveCoord.byte'
CricketM.nc: In function `Serial.Receive':
CricketM.nc:1024: warning: decimal constant is so large that it is
unsigned
CricketM.nc:1025: warning: decimal constant is so large that it is
unsigned
make: *** [exe0] Error 1
Thank you,
Chris
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/
tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help