phoebusc@phoebus /opt/tinyos-1.x/contrib/PEGSensor/PEGSensor $ make mica2dot mkdir -p build/mica2dot perl ../../SystemC/scripts/create_routing.pl -I. -Ibuild -I../../PEGSensor/PEGSe nsor -I../../PEGSensor/TickSensor -I../../PEGSensor/croute -I../../PEGSensor/mag sensor -I../../PEGSensor/position -I../../PEGSensor/pursuer -I../../PEGSensor/ro utetest2 -I../../calamari/localization -I../../ucb/tos/sensorboards/honeydot -I. ./../SystemC/System -I../../SystemC/XnpService -I../../SystemC/routing -I../../S ystemC/common -I../../SystemC/neighborhood -I../../SystemC/TimedLeds -I../../Sys temC/Config -I../../SystemC/ConfigStore -I../../SystemC/DiagMsg -I/opt/tinyos-1. x/tos/lib/OnOff RoutingC.routing.nc creating build/RoutingC.nc from ../../SystemC/System/RoutingC.routing.nc creating build/nesc_deps.txt cat build/nesc_deps.txt | perl ../../SystemC/scripts/create_RoutingMsgExt.pl -nc stdin creating build/RoutingMsgExt.h creating build/nesc_deps.txt cat build/nesc_deps.txt | perl ../../SystemC/scripts/create_Neighborhoods.pl -nc stdin -I. -Ibuild -I../../PEGSensor/PEGSensor -I../../PEGSensor/TickSensor -I../ ../PEGSensor/croute -I../../PEGSensor/magsensor -I../../PEGSensor/position -I../ ../PEGSensor/pursuer -I../../PEGSensor/routetest2 -I../../calamari/localization -I../../ucb/tos/sensorboards/honeydot -I../../SystemC/System -I../../SystemC/Xnp Service -I../../SystemC/routing -I../../SystemC/common -I../../SystemC/neighborh ood -I../../SystemC/TimedLeds -I../../SystemC/Config -I../../SystemC/ConfigStore -I../../SystemC/DiagMsg -I/opt/tinyos-1.x/tos/lib/OnOff creating build/MagPositionAttr.nc from ../../SystemC/neighborhood/Attribute. perl.nc creating build/MagPositionAttrM.nc from ../../SystemC/neighborhood/Attribute M.perl.nc creating build/MagPositionAttrC.nc from ../../SystemC/neighborhood/Attribute C.perl.nc creating build/MagPositionAttrReflection.nc from ../../SystemC/neighborhood/ AttributeReflection.perl.nc creating build/MagPositionAttrReflectionSnoop.nc from ../../SystemC/neighbor hood/AttributeReflectionSnoop.perl.nc creating build/ConfigStoreCmd.h from ../../SystemC/neighborhood/Command.perl .h creating build/ConfigStoreCmd.nc from ../../SystemC/neighborhood/Command.per l.nc creating build/ConfigStoreCmdM.nc from ../../SystemC/System/SystemCommandM.p erl.nc creating build/ConfigStoreCmdC.nc from ../../SystemC/neighborhood/CommandC.p erl.nc creating build/MagReadingAttr.nc from ../../SystemC/neighborhood/Attribute.p erl.nc creating build/MagReadingAttrM.nc from ../../SystemC/neighborhood/AttributeM .perl.nc creating build/MagReadingAttrC.nc from ../../SystemC/neighborhood/AttributeC .perl.nc creating build/MagReadingAttrReflection.nc from ../../SystemC/neighborhood/A ttributeReflection.perl.nc creating build/MagReadingAttrReflectionSnoop.nc from ../../SystemC/neighborh ood/AttributeReflectionSnoop.perl.nc creating build/CommandHood.h from ../../SystemC/neighborhood/Neighborhood.pe rl.h creating build/CommandHood_private.nc from ../../SystemC/neighborhood/Neighb orhood_private.perl.nc creating build/CommandHoodM.nc from ../../SystemC/neighborhood/NeighborhoodM .perl.nc creating build/CommandHoodC.nc from ../../SystemC/neighborhood/NeighborhoodC .perl.nc creating build/CommandHoodCommBackendM.nc from ../../SystemC/neighborhood/Br oadcastBackendM.perl.nc creating build/CommandHoodCommBackendC.nc from ../../SystemC/neighborhood/Br oadcastBackendC.perl.nc creating build/SpanTreeReinitCmd.h from ../../SystemC/neighborhood/Command.p erl.h creating build/SpanTreeReinitCmd.nc from ../../SystemC/neighborhood/Command. perl.nc creating build/SpanTreeReinitCmdM.nc from ../../SystemC/System/SystemCommand M.perl.nc creating build/SpanTreeReinitCmdC.nc from ../../SystemC/neighborhood/Command C.perl.nc creating build/MagDataAttr.nc from ../../SystemC/neighborhood/Attribute.perl .nc creating build/MagDataAttrM.nc from ./MagAttrM.perl.nc creating build/MagDataAttrC.nc from ../../SystemC/neighborhood/AttributeC.pe rl.nc creating build/MagDataAttrReflection.nc from ../../SystemC/neighborhood/Attr ibuteReflection.perl.nc creating build/MagDataAttrReflectionSnoop.nc from ../../SystemC/neighborhood /AttributeReflectionSnoop.perl.nc creating build/MagHood.h from ../../SystemC/neighborhood/Neighborhood.perl.h creating build/MagHood_private.nc from ../../SystemC/neighborhood/Neighborho od_private.perl.nc creating build/MagHoodM.nc from ../../SystemC/neighborhood/NeighborhoodM.per l.nc creating build/MagHoodC.nc from ../../SystemC/neighborhood/NeighborhoodC.per l.nc creating build/MagHoodCommBackendM.nc from ../../SystemC/neighborhood/Broadc astBackendM.perl.nc creating build/MagHoodCommBackendC.nc from ../../SystemC/neighborhood/Broadc astBackendC.perl.nc creating build/SpanTreeStatusCmd.h from ../../SystemC/neighborhood/Command.p erl.h creating build/SpanTreeStatusCmd.nc from ../../SystemC/neighborhood/Command. perl.nc creating build/SpanTreeStatusCmdM.nc from ../../SystemC/System/SystemCommand M.perl.nc creating build/SpanTreeStatusCmdC.nc from ../../SystemC/neighborhood/Command C.perl.nc creating build/MagDataReflM.nc from ./MagReflM.perl.nc creating build/MagDataReflC.nc from ./MagReflC.perl.nc creating build/IdentCmd.h from ../../SystemC/neighborhood/Command.perl.h creating build/IdentCmd.nc from ../../SystemC/neighborhood/Command.perl.nc creating build/IdentCmdM.nc from ../../SystemC/System/SystemCommandM.perl.nc creating build/IdentCmdC.nc from ../../SystemC/neighborhood/CommandC.perl.nc creating build/MagStatusCmd.h from ../../SystemC/neighborhood/Command.perl.h creating build/MagStatusCmd.nc from ../../SystemC/neighborhood/Command.perl. nc creating build/MagStatusCmdM.nc from ../../SystemC/System/SystemCommandM.per l.nc creating build/MagStatusCmdC.nc from ../../SystemC/neighborhood/CommandC.per l.nc creating build/nesc_deps.txt cat build/nesc_deps.txt | perl ../../SystemC/scripts/create_Config.pl -I. -Ibuil d -I../../PEGSensor/PEGSensor -I../../PEGSensor/TickSensor -I../../PEGSensor/cro ute -I../../PEGSensor/magsensor -I../../PEGSensor/position -I../../PEGSensor/pur suer -I../../PEGSensor/routetest2 -I../../calamari/localization -I../../ucb/tos/ sensorboards/honeydot -I../../SystemC/System -I../../SystemC/XnpService -I../../ SystemC/routing -I../../SystemC/common -I../../SystemC/neighborhood -I../../Syst emC/TimedLeds -I../../SystemC/Config -I../../SystemC/ConfigStore -I../../SystemC /DiagMsg -I/opt/tinyos-1.x/tos/lib/OnOff creating build/Config.h creating build/ConfigM.nc creating build/ConfigC.nc creating build/Config_BlinkMillis.nc creating build/Config_ConfigWriteCount.nc creating build/Config_ERB_RFThreshold.nc creating build/Config_ERB_RetransmitTime.nc creating build/Config_EvaderInfo.nc creating build/Config_HDMagInitialBias.nc creating build/Config_HDMagInitialFilter.nc creating build/Config_LocationInfo.nc creating build/Config_LowPowerStateDefaultService.nc creating build/Config_LowPowerStateEnabled.nc creating build/Config_MagCenterClosestInjectDiameter.nc creating build/Config_MagCenterSendMode.nc creating build/Config_MagMovingAvg_num_samples.nc creating build/Config_MagNeighborRadius.nc creating build/Config_MagPositionAffine.nc creating build/Config_MagPositionDefault.nc creating build/Config_MagRadioQuellTime.nc creating build/Config_MagReadingInvalidCount.nc creating build/Config_MagReadingPeriod.nc creating build/Config_MagReadingTimeout.nc creating build/Config_MagReportTimeout.nc creating build/Config_MagValueThreshold.nc creating build/Config_MagValueThresholdUpper.nc creating build/Config_MsgBuffersFlushOnFailTimeout.nc creating build/Config_PursuerCrumbTimeout.nc creating build/Config_PursuerId.nc creating build/Config_QuellPursuerCoord.nc creating build/Config_RFPower.nc creating build/Config_RFPowerMaxOverridePrev.nc creating build/Config_RangingParameters.nc creating build/Config_RangingStartDelay.nc creating build/Config_SnoopAmSnooper.nc creating build/Config_SnoopEstimationRate.nc creating build/Config_SnoopNumEntries.nc creating build/Config_SnoopRSSIThreshold.nc creating build/Config_SpanTreeRetries.nc creating build/Config_UltrasoundFilterParameters.nc creating build/Config_XnpFlags.nc creating build/Config_calamariRFPower.nc creating build/Config_counter_period.nc creating build/Config_deltaDistanceThreshold.nc creating build/Config_diagMsgOn.nc creating build/Config_exchangeRanging.nc creating build/Config_initial_service.nc creating build/Config_invoke_service.nc creating build/Config_isLastRangingNode.nc creating build/Config_localizationPeriod.nc creating build/Config_managementTimerBase.nc creating build/Config_managementTimerMask.nc creating build/Config_maxAnchorRank.nc creating build/Config_medianTube.nc creating build/Config_myRangingId.nc creating build/Config_positionDebug.nc creating build/Config_proportionalMedianTube.nc creating build/Config_rangingBias.nc creating build/Config_rangingCountMin.nc creating build/Config_rangingDebug.nc creating build/Config_rangingScale.nc creating build/Config_running_service.nc creating build/Config_signalRangingDone.nc creating build/Config_txAnchorPeriod.nc creating build/Config_txDelay.nc creating build/Config_txDelayMask.nc creating build/Config_txRetry.nc creating build/Config_useEstimatedEvader.nc creating build/Config_useWhichPosition.nc creating build/nesc_deps.txt compiling PEGSensorC to a mica2dot binary ncc -o build/mica2dot/main.exe -Os -board=basicsb -target=mica2dot -DIDENT_PROGR AM_NAME='"PEG"' -DIDENT_INSTALL_ID=927u -DIDENT_UNIX_TIME=1082702505L -I. -Ibuil d -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000 -fnes c-cfile=build/mica2dot/app.c -DUART_SYNC -I../../PEGSensor/PEGSensor -I../../PEG Sensor/TickSensor -I../../PEGSensor/croute -I../../PEGSensor/magsensor -I../../P EGSensor/position -I../../PEGSensor/pursuer -I../../PEGSensor/routetest2 -I../.. /calamari/localization -I../../ucb/tos/sensorboards/honeydot -I../../SystemC/Sys tem -I../../SystemC/XnpService -I../../SystemC/routing -I../../SystemC/common -I ../../SystemC/neighborhood -I../../SystemC/TimedLeds -I../../SystemC/Config -I.. /../SystemC/ConfigStore -I../../SystemC/DiagMsg -I/opt/tinyos-1.x/tos/lib/OnOff PEGSensorC.nc -lm nesc1: warning: calls to ReceiveMsg.receive in AMStandard are uncombined C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/XnpService/XnpM.nc:807: warning: call via function pointer C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/system/tos.h:103: warning: non-atomi c accesses to shared variable `TOS_LOCAL_ADDRESS': C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/XnpService/XnpM.nc:1007: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:77: warning: non-atomic accesses to shared variable `m_data_x': C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:266: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:279: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:310: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:336: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:362: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:78: warning: non-atomic accesses to shared variable `m_data_y': C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:266: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:289: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:320: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:343: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/ucb/tos/sensorboards/honeydot/HD MagM.nc:363: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:26: warning: non-atomic accesses to shared variable `m_rssi_sum': C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:31: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:68: warning: non-atomic r/w C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:87: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:27: warning: non-atomic accesses to shared variable `m_rssi_count': C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:32: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:69: warning: non-atomic r/w C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/contrib/SystemC/System/RSSIGenericCommM. nc:86: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:14 9: warning: non-atomic accesses to shared variable `RadioState': C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:39 3: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:39 4: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:39 5: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:40 7: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:40 8: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:41 2: warning: non-atomic read C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:41 3: warning: non-atomic write C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:18 3: warning: non-atomic accesses to shared variable `bTxPending': C:/opt/tinyos-1.x/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc:39 3: warning: non-atomic read build/ConfigM.nc: In function `ConfigM$encode_value': build/ConfigM.nc:866: error: duplicate case value build/ConfigM.nc:818: error: previously used here build/ConfigM.nc:946: error: duplicate case value build/ConfigM.nc:810: error: previously used here build/ConfigM.nc:970: error: duplicate case value build/ConfigM.nc:794: error: previously used here build/ConfigM.nc:1026: error: duplicate case value build/ConfigM.nc:802: error: previously used here build/ConfigM.nc:1058: error: duplicate case value build/ConfigM.nc:1034: error: previously used here build/ConfigM.nc:1066: error: duplicate case value build/ConfigM.nc:1050: error: previously used here build/ConfigM.nc: In function `ConfigM$ReceiveConfigUpdate$receive': build/ConfigM.nc:375: error: duplicate case value build/ConfigM.nc:339: error: previously used here build/ConfigM.nc:435: error: duplicate case value build/ConfigM.nc:333: error: previously used here build/ConfigM.nc:453: error: duplicate case value build/ConfigM.nc:321: error: previously used here build/ConfigM.nc:495: error: duplicate case value build/ConfigM.nc:327: error: previously used here build/ConfigM.nc:519: error: duplicate case value build/ConfigM.nc:501: error: previously used here build/ConfigM.nc:525: error: duplicate case value build/ConfigM.nc:513: error: previously used here make: *** [build/mica2dot/main.exe] Error 1 phoebusc@phoebus /opt/tinyos-1.x/contrib/PEGSensor/PEGSensor $