hi all,
When I tried to compile oscilloscope application for iris mote it is
throwing following error. But when I compile it for telosb and micaz it
compiling fine. What might be the problem . can anyone help me to sort out this
problem. I'm using tinyos-2.1.0.
mkdir -p build/iris
compiling OscilloscopeAppC to a iris binary
ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris
-fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param
max-inline-insns-single=100000 -DIDENT_APPNAME=\"OscilloscopeApp\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"mahesh-desktop\"
-DIDENT_USERHASH=0xb57d440dL -DIDENT_TIMESTAMP=0x4b83a7eeL
-DIDENT_UIDHASH=0x67fb9ec8L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/iris/wiring-check.xml OscilloscopeAppC.nc
-lm
In file included from /opt/tinyos-2.1.0/tos/platforms/mica/PlatformC.nc:47,
from /opt/tinyos-2.1.0/tos/system/MainC.nc:50,
from OscilloscopeAppC.nc:22:
In component `MeasureClockC':
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc: In function `Init.init':
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:52: `AS0' undeclared
(first use in this function)
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:52: (Each undeclared
identifier is reported only once
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:52: for each function it
appears in.)
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:53: `TCCR0' undeclared
(first use in this function)
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:84: `ETIFR' undeclared
(first use in this function)
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:84: `TIFR' undeclared
(first use in this function)
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:85: `TCN0UB' undeclared
(first use in this function)
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:85: `OCR0UB' undeclared
(first use in this function)
/opt/tinyos-2.1.0/tos/platforms/mica/MeasureClockC.nc:85: `TCR0UB' undeclared
(first use in this function)
In file included from
/opt/tinyos-2.1.0/tos/platforms/micaz/ActiveMessageC.nc:64,
from OscilloscopeAppC.nc:22:
In component `CC2420ActiveMessageC':
/opt/tinyos-2.1.0/tos/chips/cc2420/CC2420ActiveMessageC.nc: At top level:
/opt/tinyos-2.1.0/tos/chips/cc2420/CC2420ActiveMessageC.nc:48: interface
CC2420Packet not found
In file included from
/opt/tinyos-2.1.0/tos/platforms/micaz/ActiveMessageC.nc:64,
from OscilloscopeAppC.nc:22:
/opt/tinyos-2.1.0/tos/chips/cc2420/CC2420ActiveMessageC.nc:51: interface
RadioBackoff not found
In file included from
/opt/tinyos-2.1.0/tos/chips/cc2420/CC2420ActiveMessageC.nc:59,
from
/opt/tinyos-2.1.0/tos/platforms/micaz/ActiveMessageC.nc:64,
from OscilloscopeAppC.nc:22:
Thank you,
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help