Dear all, I faced a problem while installing codes to tmote sky shown below,
could anyone help me? thanks in advance! weiping --------------------------------------------------------------------------------------------------------------------- [EMAIL PROTECTED]:~/workspace/SensorTest> make tmote install,1 bsl,/dev/ttyUSB1 mkdir -p build/telosb compiling SensorTestApp to a telosb binary ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DIDENT_USER_ID=\"wps2\" -DIDENT_HOSTNAME=\"cjspc9\" -DIDENT_USER_HASH=0x83c30cabL -DIDENT_UNIX_TIME=0x46c96cf3L -DIDENT_UID_HASH=0xb999b7a0L -I%T/lib/PriorityScheduler -I./Router -I./Sensor -I./CircBuffer -I%T/chips/sht11 -I/opt/tinyos-2.x/tos/chips/cc2420 -DNETWORK_SIZE=18 SensorTestApp.nc -lm In file included from /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveC.nc:52, from /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:61, from /opt/tinyos-2.x/tos/platforms/telosa/ActiveMessageC.nc:61, from Router/MISLRouterC.nc:15, from SensorTestApp.nc:14: In component `UniqueReceiveP': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:59: `RECEIVE_HISTORY_SIZE' undeclared here (not in a function) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:59: size of array `receivedMessages' has non-integer type /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc: In function `Init.init': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:73: `RECEIVE_HISTORY_SIZE' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:73: (Each undeclared identifier is reported only once /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:73: for each function it appears in.) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc: In function `hasSeen': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:135: `RECEIVE_HISTORY_SIZE' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc: In function `insert': /opt/tinyos-2.x/tos/chips/cc2420/unique/UniqueReceiveP.nc:171: `RECEIVE_HISTORY_SIZE' undeclared (first use in this function) In file included from /opt/tinyos-2.x/tos/system/SimpleRoundRobinArbiterC.nc:83, from /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12P.nc:48, from /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ClientAutoRVGC.nc:52, from /opt/tinyos-2.x/tos/chips/msp430/adc12/AdcReadClientC.nc:56, from /opt/tinyos-2.x/tos/chips/msp430/sensors/Msp430InternalVoltageC.nc:51, from /opt/tinyos-2.x/tos/platforms/telosb/VoltageC.nc:47, from SensorTestApp.nc:34: In component `RoundRobinResourceQueueC': /opt/tinyos-2.x/tos/system/RoundRobinResourceQueueC.nc: At top level: /opt/tinyos-2.x/tos/system/RoundRobinResourceQueueC.nc:41: syntax error before `16' In component `HplSensirionSht11C': Sensor/HplSensirionSht11C.nc:83: cannot find `ResourceController' make: *** [exe0] Error 1 _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help