Hi,all I have the following problems. I searched it , but no correction is found. Thanks a lot for your help!!!
Best, michael mich...@ubuntu:/opt/tinyos-2. 0.2/apps/TestBVRSimple$ make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling TestBVRSimple to object file sim.o ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -DMAX_ROOT_BEACONS=8 -DTOSH_DATA_LENGTH=50 -DBVR_APP_DATA_LENGTH=10 -DLE_CACHE_SIZE=18 -I/opt/tinyos-2.0.2/tos/lib/bvr -I/opt/tinyos-2.0.2/tos/lib/commstack -I/opt/tinyos-2.0.2/tos/lib/interfaces -I/opt/tinyos-2.0.2/tos/lib/linkestimator -I/opt/tinyos-2.0.2/tos/lib/util -I/opt/tinyos-2.0.2/tos/lib/command -I%T/lib/Queue -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit=100000 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DEXP_PROGRESS -DBEACON_ETX -DETX_TOLERANCE -DIDENT_APPNAME=\"TestBVRSimple\" -DIDENT_USERNAME=\"michael\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x1fbe32beL -DIDENT_TIMESTAMP=0x4be9908bL -DIDENT_UIDHASH=0x9423ef74L -Wno-nesc-data-race TestBVRSimple.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml In file included from /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterC.nc:51, from TestBVRSimple.nc:50: In component `BVRRouterM': /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterM.nc: In function `AMSend.sendDone': /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterM.nc:295: warning: `return' with a value, in function returning void /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterM.nc:297: warning: `return' with a value, in function returning void /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterM.nc:325: warning: `return' with a value, in function returning void /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterM.nc:327: warning: `return' with a value, in function returning void In file included from /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorComm.nc:60, from /opt/tinyos-2.0.2/tos/lib/commstack/BVRCommStack.nc:62, from /opt/tinyos-2.0.2/tos/lib/bvr/BVRStateC.nc:49, from /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterC.nc:52, from TestBVRSimple.nc:50: In component `LinkEstimatorCommM': /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc: At top level: /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc:65: interface CC2420Packet not found /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc: In function `BottomReceiveMsg.receive': /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc:188: interface has no command or event named `getRssi' /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc:191: interface has no command or event named `getRssi' /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc:201: interface has no command or event named `getRssi' /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc:204: interface has no command or event named `getRssi' /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc:223: interface has no command or event named `getRssi' /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorCommM.nc:226: interface has no command or event named `getRssi' In file included from /opt/tinyos-2.0.2/tos/lib/commstack/LinkEstimatorComm.nc:65, from /opt/tinyos-2.0.2/tos/lib/commstack/BVRCommStack.nc:62, from /opt/tinyos-2.0.2/tos/lib/bvr/BVRStateC.nc:49, from /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterC.nc:52, from TestBVRSimple.nc:50: In component `CC2420PacketC': /opt/tinyos-2.0.2/tos/chips/cc2420/CC2420PacketC.nc: At top level: /opt/tinyos-2.0.2/tos/chips/cc2420/CC2420PacketC.nc:73: `setPower' is not in interface `CC2420Packet' /opt/tinyos-2.0.2/tos/chips/cc2420/CC2420PacketC.nc:79: `getPower' is not in interface `CC2420Packet' /opt/tinyos-2.0.2/tos/chips/cc2420/CC2420PacketC.nc:83: `getRssi' is not in interface `CC2420Packet' /opt/tinyos-2.0.2/tos/chips/cc2420/CC2420PacketC.nc:87: `getLqi' is not in interface `CC2420Packet' In component `BVRActiveMessageC': /opt/tinyos-2.0.2/tos/lib/commstack/BVRActiveMessageC.nc:16: `AMPacket.group' not implemented /opt/tinyos-2.0.2/tos/lib/commstack/BVRActiveMessageC.nc:16: `AMPacket.setGroup' not implemented /opt/tinyos-2.0.2/tos/lib/commstack/BVRActiveMessageC.nc:16: `AMPacket.localGroup' not implemented In file included from /opt/tinyos-2.0.2/tos/lib/command/BVRCommandC.nc:51, from /opt/tinyos-2.0.2/tos/lib/bvr/BVRRouterC.nc:57, from TestBVRSimple.nc:50: In component `BVRCommandM': /opt/tinyos-2.0.2/tos/lib/command/BVRCommandM.nc: In function `sendAck.runTask': /opt/tinyos-2.0.2/tos/lib/command/BVRCommandM.nc:272: warning: passing argument 1 of `BVRStateCommand.isRootBeacon' from incompatible pointer type make: *** [sim-exe] Error 1
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help