Hi all,
I'm having some trouble compiling a Test application which uses FTSP
(TestFTSP), downloaded from CVS rep
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x-contrib/stanford-lgl/apps/
After having worked around some errors about not found Components, I get a
strange syntax error. I didn't alter the downloaded code.
In file included from
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncC.nc:43,
from TestTimeSyncC.nc:33:
In component `TimeSyncM':
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc:43: syntax error
before `T32khz'
In file included from
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncC.nc:43,
from TestTimeSyncC.nc:33:
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc: In function
`sendMsg.runTask':
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc:352: `Send' undeclared
(first use in this function)
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc:352: (Each undeclared
identifier is reported only once
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc:352: for each function
it appears in.)
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc:359: unknown interface
`Send'
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc: In function
`Init.init':
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncM.nc:434: `Send' undeclared
(first use in this function)
In file included from /opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageC.nc:46,
from
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncC.nc:57,
from TestTimeSyncC.nc:33:
In component `TimeSyncMessageP':
/opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageP.nc:93: conflicting types for
`Packet.getPayload'
/opt/tinyos-2.x/tos/interfaces/Packet.nc:108: previous declaration of
`Packet.getPayload'
/opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageP.nc: In function
`Packet.getPayload':
/opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageP.nc:94: warning: passing
argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast
/opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageP.nc: In function
`TimeSyncSend32khz.getPayload':
/opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageP.nc:129: too many arguments to
function
In file included from /opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaC.nc:53,
from
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:58,
from /opt/tinyos-2.x/tos/platforms/telosa/ActiveMessageC.nc:61,
from /opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageC.nc:46,
from
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncC.nc:57,
from TestTimeSyncC.nc:33:
In component `CC2420CsmaP':
/opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc: At top level:
/opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc:159: conflicting types for
`Send.getPayload'
/opt/tinyos-2.x/tos/interfaces/Send.nc:114: previous declaration of
`Send.getPayload'
In component `CC2420ReceiveP':
/opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:66:
`Receive.payloadLength' not implemented
/opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc:66:
`Receive.getPayload' not implemented
In file included from
/opt/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveC.nc:51,
from
/opt/tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitC.nc:90,
from /opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaC.nc:65,
from
/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:58,
from /opt/tinyos-2.x/tos/platforms/telosa/ActiveMessageC.nc:61,
from /opt/tinyos-2.x/tos/chips/cc2420/TimeSyncMessageC.nc:46,
from
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncC.nc:57,
from TestTimeSyncC.nc:33:
In component `CC2420PacketC':
/opt/tinyos-2.x/tos/chips/cc2420/packet/CC2420PacketC.nc:47: interface
LinkPacketMetadata not found
/opt/tinyos-2.x/tos/chips/cc2420/packet/CC2420PacketC.nc:99:
`highChannelQuality' is not in interface `LinkPacketMetadata'
In component `TimeSyncC':
/opt/tinyos-2.x/tos/chips/cc2420/interfaces/TimeSyncC.nc:59: cannot find `Send'
make: *** [exe0] Error 1
Somebody any ideas?
Greets,
Adrian
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help