I am building a gateway application that will take msgs from the
computer via the UART and broadcast these via radio to the other motes
listening for these msgs.

I believe I have done the wiring correctly, but while compiling i get
the following output:


>> make mica2

    compiling Gateway to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -I%T/system
-I%T/lib/FS -DCC1K_DEF_FREQ=916700000 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x33 -Wnesc-all -finline-limit=100000
-fnesc-cfile=build/mica2/app.c  Gateway.nc -lm
/usr/local/TINYOS/tinyos-1.x/tos/system/RadioCRCPacket.nc:45: C file RFM
not found
/usr/local/TINYOS/tinyos-1.x/tos/system/RadioCRCPacket.nc:67:
`TOS_ADC_SIGNAL_STRENGTH_PORT' undeclared here (not in a function)

***
/usr/local/TINYOS/tinyos-1.x/tos/system/CRCPacket.nc:171:
`ByteComm.txByteReady': async mismatch with declaration
/usr/local/TINYOS/tinyos-1.x/tos/interfaces/ByteComm.nc:75: previous
declaration of `ByteComm.txByteReady'
/usr/local/TINYOS/tinyos-1.x/tos/system/CRCPacket.nc:191:
`ByteComm.txDone': async mismatch with declaration
/usr/local/TINYOS/tinyos-1.x/tos/interfaces/ByteComm.nc:83: previous
declaration of `ByteComm.txDone'
/usr/local/TINYOS/tinyos-1.x/tos/system/CRCPacket.nc:200:
`ByteComm.rxByteReady': async mismatch with declaration
/usr/local/TINYOS/tinyos-1.x/tos/interfaces/ByteComm.nc:66: previous
declaration of `ByteComm.rxByteReady'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:177:
`ByteComm.txByte': async mismatch with declaration
/usr/local/TINYOS/tinyos-1.x/tos/interfaces/ByteComm.nc:55: previous
declaration of `ByteComm.txByte'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc: In
function `ByteComm.txByte':
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:188:
interface has no command or event named `power'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc: At top
level:
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:218:
`power' is not in interface `Control'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc: In
function `Control.power':
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:223:
interface has no command or event named `power'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:228:
interface has no command or event named `power'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc: In
function `Radio.rxBit':
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:454:
interface has no command or event named `power'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:484:
interface has no command or event named `power'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc: At top
level:
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:609:
`StrengthADC.dataReady': async mismatch with declaration
/usr/local/TINYOS/tinyos-1.x/tos/interfaces/ADC.nc:70: previous
declaration of `StrengthADC.dataReady'
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:83:
`Control.start' not implemented
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:83:
`Control.stop' not implemented
/usr/local/TINYOS/tinyos-1.x/tos/system/RadioCRCPacket.nc:56: component
RFM not found
/usr/local/TINYOS/tinyos-1.x/tos/system/SecDedRadioByteSignal.nc:69:
expected component `RFM', but got component 'SecDedRadioByteSignal'
/usr/local/TINYOS/tinyos-1.x/tos/system/RadioCRCPacket.nc:67: constant
expression expected
/usr/local/TINYOS/tinyos-1.x/tos/system/RadioCRCPacket.nc:70: no match
/usr/local/TINYOS/tinyos-1.x/tos/system/RadioCRCPacket.nc:71: no match
make: *** [build/mica2/main.exe] Error 1

any ideas why RadioCRCPacket is including a file (RFM.h) which is not in
the tinyos tree?? 
I downloaded RFM.h from the cvs tree at sourceforge
http://cvs.sourceforge.net/viewcvs.py/tinyos/tinyos/tinyos-1.x-20030625/tos/system/RFM.h
and put it in the /tos/system directory.
But I am still getting all the errors after the *** above.

any ideas??

thanks,
karan

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to