Hi All,
I have modified RadioCountToLedsC application in order to send packets from
Radio to Serial. When I compile this application with "make micaz sim", I get
these errors :
In component `RadioCountToLedsC':
RadioCountToLedsC.nc:28: interface CC2420Packet not found
RadioCountToLedsC.nc: In function `Receive.receive':
RadioCountToLedsC.nc:116: interface has no command or event named `getRssi'
In file included from
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:45,
from RadioCountToLedsAppC.nc:64:
In C file:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:132: syntax error before `nx_bool'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:132: warning: no semicolon at end of
struct or union
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:133: syntax error before `ack'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:134: syntax error before `timesync'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:143: syntax error before `}'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:143: warning: type defaults to `int'
in declaration of `cc2420_metadata_t'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:143: warning: data definition has no
type or storage class
In file included from RadioCountToLedsAppC.nc:64:
In component `CC2420ActiveMessageC':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:64: interface
RadioBackoff not found
In file included from
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:75,
from RadioCountToLedsAppC.nc:64:
In component `CC2420RadioC':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:63: component CC2420CsmaC not
found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:64: component UniqueSendC not
found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:65: component UniqueReceiveC
not found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:66: component
CC2420TinyosNetworkC not found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:67: component CC2420PacketC
not found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:68: component CC2420ControlC
not found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:73: component DummyLplC not
found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:79: component PacketLinkDummyC
not found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:82: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:83: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:84: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:85: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:86: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:88: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:89: cannot find `Send'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:90: cannot find `Receive'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:91: cannot find `BarePacket'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:93: cannot find `ActiveSend'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:94: cannot find `ActiveReceive'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:97: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:98: cannot find `SubControl'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:101: cannot find `SubSend'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:102: cannot find `SubSend'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:103: cannot find `Send'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:104: cannot find `SubSend'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:107: cannot find `SubReceive'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:108: cannot find `Receive'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420RadioC.nc:109: cannot find `SubReceive'
In file included from
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:76,
from RadioCountToLedsAppC.nc:64:
In component `CC2420ActiveMessageP':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:61: interface
CC2420PacketBody not found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:62: interface
CC2420Config not found
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`RadioResource.granted':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:76: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMSend.send':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:90: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:98: interface has no
command or event named `getPanAddr'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.destination':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:140: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.source':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:145: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.setDestination':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:150: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.setSource':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:155: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.type':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:165: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.setType':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:170: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.group':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:175: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.setGroup':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:180: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`AMPacket.localGroup':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:184: interface has no
command or event named `getPanAddr'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`Packet.clear':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:190: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:191: interface has no
command or event named `getMetadata'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`Packet.payloadLength':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:195: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`Packet.setPayloadLength':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:199: interface has no
command or event named `getHeader'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:235: `syncDone' is not
in interface `CC2420Config'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:241:
`requestInitialBackoff' is not in interface `SubBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`SubBackoff.requestInitialBackoff':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:242: interface has no
command or event named `requestInitialBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:242: subscripted value
is neither array nor pointer
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:246:
`requestCongestionBackoff' is not in interface `SubBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`SubBackoff.requestCongestionBackoff':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:247: interface has no
command or event named `requestCongestionBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:247: subscripted value
is neither array nor pointer
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:250: `requestCca' is
not in interface `SubBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`SubBackoff.requestCca':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:252: interface has no
command or event named `requestCca'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:252: subscripted value
is neither array nor pointer
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:256:
`setInitialBackoff' is not in interface `RadioBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`RadioBackoff.setInitialBackoff':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:257: interface has no
command or event named `setInitialBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:264:
`setCongestionBackoff' is not in interface `RadioBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`RadioBackoff.setCongestionBackoff':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:265: interface has no
command or event named `setCongestionBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:274: `setCca' is not
in interface `RadioBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: In function
`RadioBackoff.setCca':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:275: interface has no
command or event named `setCca'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:294:
`requestInitialBackoff' is not in interface `RadioBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:298:
`requestCongestionBackoff' is not in interface `RadioBackoff'
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:302: `requestCca' is
not in interface `RadioBackoff'
In component `CC2420ActiveMessageC':
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:102: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:103: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:104: no match
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:106: no match
make: *** [sim-exe] Error 1
I have no idea why it is failing. I have latest tinyos source code from git
repository. If I run the application with motes, it compiles successfully.
Please help.
Thanks.
Jenis
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help