Hello , I am working on A-MAC protocol developed by Berkeley engineer. I tried to run it with micaz motes but it is showing followinf errors... It is working fine with iris motes.
Anyone knows what's wrong with it?? Thanks in advance, Vishrut Shah ======================================================== xubuntos@xubuntos-tinyos:/opt/tinyos-2.x-contrib/berkeley/hotmac/apps/HotmacBM$ export TOSCONTRIB=/opt/tinyos-2.x-contrib xubuntos@xubuntos-tinyos:/opt/tinyos-2.x-contrib/berkeley/hotmac/apps/HotmacBM$ export TOSMAKE_PATH=$TOSCONTRIB/berkeley/hotmac/support/make xubuntos@xubuntos-tinyos:/opt/tinyos-2.x-contrib/berkeley/hotmac/apps/HotmacBM$ make micaz hotmac mkdir -p build/micaz compiling RadioCountToLedsAppC to a micaz binary ncc -o build/micaz/main.exe -Os -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/alarm -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/control -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/interfaces -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/packet -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/spi -I/opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit -I. -DENABLE_SPI0_DMA -DPRINTFUART_ENABLED -DIDENT_APPNAME=\"RadioCountToLed\" -DIDENT_USERNAME=\"xubuntos\" -DIDENT_HOSTNAME=\"xubuntos-tinyos\" -DIDENT_USERHASH=0x00f95284L -DIDENT_TIMESTAMP=0x4d82f225L -DIDENT_UIDHASH=0x59d7bc89L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml RadioCountToLedsAppC.nc -lm In file included from RadioCountToLedsC.nc:32, from RadioCountToLedsAppC.nc:47: ./PrintfUART.h: In function `printfUART_init_private': ./PrintfUART.h:140: warning: implicit declaration of function `outp' In file included from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/CC2420TransmitC.nc:100, from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/HotmacC.nc:37, from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/CC2420ActiveMessageC.nc:38, from /opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:65, from /opt/tinyos-2.1.1/tos/system/AMQueueP.nc:43, from /opt/tinyos-2.1.1/tos/system/DirectAMSenderC.nc:50, from /opt/tinyos-2.1.1/tos/system/AMSenderC.nc:53, from RadioCountToLedsAppC.nc:48: In component `HplMsp430GeneralIOC': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HplMsp430GeneralIOC.nc: At top level: /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HplMsp430GeneralIOC.nc:353: syntax error before `}' In component `CC2420TransmitC': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/CC2420TransmitC.nc:101: cannot find `Port26' In file included from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/HotmacC.nc:39, from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/CC2420ActiveMessageC.nc:38, from /opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:65, from /opt/tinyos-2.1.1/tos/system/AMQueueP.nc:43, from /opt/tinyos-2.1.1/tos/system/DirectAMSenderC.nc:50, from /opt/tinyos-2.1.1/tos/system/AMSenderC.nc:53, from RadioCountToLedsAppC.nc:48: In component `HotmacReceiveP': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc: In function `startTimeout': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:102: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc: In function `PowerCycleInfo.stopDone': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:174: warning: declaration of `on_time' shadows a parameter /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:173: warning: location of shadowed declaration /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc: In function `stopAndPut.runTask': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:254: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc: In function `CC2420Transmit.loadDone': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:288: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc: In function `CC2420Receive.receive': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:366: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc: In function `SubReceive.receive': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:382: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:401: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc: In function `Receive.receive': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:493: warning: declaration of `len' shadows a parameter /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:492: warning: location of shadowed declaration /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/receive/HotmacReceiveP.nc:493: syntax error before `call' In file included from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/HotmacC.nc:39, from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/CC2420ActiveMessageC.nc:38, from /opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:65, from /opt/tinyos-2.1.1/tos/system/AMQueueP.nc:43, from /opt/tinyos-2.1.1/tos/system/DirectAMSenderC.nc:50, from /opt/tinyos-2.1.1/tos/system/AMSenderC.nc:53, from RadioCountToLedsAppC.nc:48: In component `HotmacTransmitP': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `scheduleWakeup': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:128: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `ReceiveTransfer.beacon': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:202: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:203: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:204: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `sendDone_task.runTask': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:246: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `sendDone': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:260: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `RadioControl.stopDone': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:327: warning: declaration of `nBeacons' shadows global declaration /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:76: warning: location of shadowed declaration /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `restartSend': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:360: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `SendAlarm.fired': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:383: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:393: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:405: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:413: implicit declaration of function `__assertUART' /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc: In function `HotmacPacket.constructHeader': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/transmit/HotmacTransmitP.nc:459: implicit declaration of function `__assertUART' In file included from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/HotmacC.nc:41, from /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/CC2420ActiveMessageC.nc:38, from /opt/tinyos-2.1.1/tos/platforms/micaz/ActiveMessageC.nc:65, from /opt/tinyos-2.1.1/tos/system/AMQueueP.nc:43, from /opt/tinyos-2.1.1/tos/system/DirectAMSenderC.nc:50, from /opt/tinyos-2.1.1/tos/system/AMSenderC.nc:53, from RadioCountToLedsAppC.nc:48: In component `NeighborTableC': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/NeighborTableC.nc: In function `NeighborTable.print': /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/NeighborTableC.nc:24: warning: declaration of `i' shadows previous local /opt/tinyos-2.x-contrib/berkeley/hotmac/tos/chips/cc2420_hotmac/NeighborTableC.nc:20: warning: location of shadowed declaration make: *** [exe0] Error 1
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help