Hi all,
I am working on CTP and particularly on link estimation. I added some
fields in the structure of packet header, neighbor table entry,
routing table entry....in order to evaluate my contribution.
When I compile my application (make micaz sim) , sometimes I get
"Successfully built micaz TOSSIM library" and sometime I get a series
of errors!!!
As follow an extract of these errors:
....
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: In function
`SubReceive.receive':
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1133: implicit
declaration of function `dbg'
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1136: warning: passing argument
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1136: warning: passing argument
1 of `Packet.getPayload' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1137: warning: passing argument
1 of `Packet.payloadLength' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1137: warning: passing argument
1 of `Receive.receive' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1137: warning: return
from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1140: conflicting
types for `Packet.clear'
...
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: In function `Packet.clear':
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1141: warning: passing argument
1 of `SubPacket.clear' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1146: conflicting
types for `Packet.payloadLength'
/opt/tinyos-2.x/tos/interfaces/Packet.nc:67: previous declaration of
`Packet.payloadLength'
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: In function
`Packet.payloadLenth':
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1149: warning: passing argument
1 of `SubPacket.payloadLength' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1156: conflicting types for `Pa
ket.setPayloadLength'
/opt/tinyos-2.x/tos/interfaces/Packet.nc:83: previous declaration of `Packet.set
ayloadLength'
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: In function `Packet.setPayload
ength':
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1162: warning: passing argument
1 of `SubPacket.setPayloadLength' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1170: conflicting types for `Pa
ket.getPayload'
/opt/tinyos-2.x/tos/interfaces/Packet.nc:115: previous declaration of `Packet.ge
Payload'
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc: In function `Packet.getPayload
:
/opt/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc:1171: warning: passing argument
1 of `SubPacket.getPayload' from incompatible pointer type
In file included from /opt/tinyos-2.x/tos/system/AMSenderC.nc:49,
from /opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:136,
from /opt/tinyos-2.x/tos/lib/net/ctp/CollectionC.nc:69,
from SimulStudyAppC.nc:6:
In component `AMQueueEntryP':
/opt/tinyos-2.x/tos/system/AMQueueEntryP.nc: At top level:
/opt/tinyos-2.x/tos/system/AMQueueEntryP.nc:47: conflicting types for `AMSend.se
d'
/opt/tinyos-2.x/tos/interfaces/AMSend.nc:69: previous declaration of `AMSend.sen
'
/opt/tinyos-2.x/tos/system/AMQueueEntryP.nc: In function `AMSend.send':
/opt/tinyos-2.x/tos/system/AMQueueEntryP.nc:48: warning: passing argument 1 of `
MPacket.setDestination' from incompatible pointer type
/opt/tinyos-2.x/tos/system/AMQueueEntryP.nc:49: warning: passing argument 1 of `
...
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `Init.init':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:219: warning: passing argum
nt 1 of `BeaconSend.getPayload' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:221: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `StdControl.st
rt':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:232: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `StdControl.st
p':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:239: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `RadioControl.
tartDone':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:245: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `RadioControl.
topDone':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:256: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `updateRouteTa
k.runTask':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:305: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:314: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:389: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `sendBeaconTas
.runTask':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:437: interface has no comma
d or event named `isCongested'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:462: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:470: warning: passing argum
nt 2 of `BeaconSend.send' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:479: conflicting types for
BeaconSend.sendDone'
/opt/tinyos-2.x/tos/interfaces/AMSend.nc:99: previous declaration of `BeaconSend
sendDone'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `BeaconTimer.f
red':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:498: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `getHeader':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:509: warning: passing argum
nt 1 of `BeaconSend.getPayload' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:515: conflicting types for
BeaconReceive.receive'
/opt/tinyos-2.x/tos/interfaces/Receive.nc:67: previous declaration of `BeaconRec
ive.receive'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `BeaconReceive
receive':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:522: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:530: warning: passing argum
nt 1 of `AMPacket.source' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:535: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `RootControl.s
tRoot':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:679: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `RootControl.u
setRoot':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:689: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `CompareBit.sh
uldInsert':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:730: warning: passing argum
nt 1 of `AMPacket.type' from incompatible pointer type
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: In function `routingTableU
dateEntry':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:812: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:833: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:835: implicit declaration o
function `dbg'
/opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:848: implicit declaration o
function `dbg'
In component `CtpP':
/opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc: At top level:
/opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:163: no match
/opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:166: no match
In component `SimulStudyAppC':
SimulStudyAppC.nc:15: no match
make: *** [sim-exe] Error 1
I would like to know what doest it mean?
Thanks in advance
Nouha
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help