For some reason I can't compile for iris platform. This works for micaz
but not iris. I'm using Arch Linux. Has anybody seen it before?
jb@amazing:~/Documents/TINYOS/Simple$ make iris
mkdir -p build/iris
compiling SimpleAppC to a iris binary
ncc -o build/iris/main.exe -Os -fnesc-separator=__ -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=\"SimpleAppC\" -DIDENT_USERNAME=\"jb\"
-DIDENT_HOSTNAME=\"amazing\" -DIDENT_USERHASH=0x1b0348deL
-DIDENT_TIMESTAMP=0x50552470L -DIDENT_UIDHASH=0x971f40a4L
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/iris/wiring-check.xml SimpleAppC.nc -lm
In file included from
/usr/lib/gcc/avr/4.1.2/../../../../avr/include/avr/wdt.h:41,
from /opt/tinyos-2.1.2/tos/platforms/iris/platform.h:1,
from /opt/tinyos-2.1.2/tos/system/tos.h:43:
/usr/lib/gcc/avr/4.1.2/../../../../avr/include/avr/io.h:364:6: warning:
#warning "device type not defined"
In file included from /opt/tinyos-2.1.2/tos/system/TinySchedulerC.nc:52:
In component `McuSleepC':
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:101: `SM0' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:102: `SM2' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:102: `SM1' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:102: `SM0' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:103: `SM1' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:103: `SM0' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:104: `SM2' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:104: `SM1' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:105: `SM1' undeclared
here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc: In function
`getPowerState':
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:117: `TIMSK0'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:117: (Each undeclared
identifier is reported only once
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:117: for each function
it appears in.)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:117: `OCIE0A'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:117: `OCIE0B'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:118: `TIMSK1'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:118: `ICIE1' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:118: `OCIE1A'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:118: `OCIE1B'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:118: `OCIE1C'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:119: `TIMSK3'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:119: `ICIE3' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:119: `OCIE3A'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:119: `OCIE3B'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:119: `OCIE3C'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:124: `SPCR' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:124: `SPIE' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:128: `UCSR0B'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:128: `TXEN0' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:128: `RXEN0' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:131: `UCSR1B'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:131: `TXEN1' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:131: `RXEN1' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:135: `TWCR' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:135: `TWEN' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:139: `ADCSRA'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:139: `ADEN' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc: In function
`McuSleep.sleep':
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:151: `SMCR' undeclared
(first use in this function)
/opt/tinyos-2.1.2/tos/chips/atm1281/McuSleepC.nc:152: `SE' undeclared
(first use in this function)
In file included from
/opt/tinyos-2.1.2/tos/platforms/micaz/MotePlatformC.nc:44,
from /opt/tinyos-2.1.2/tos/platforms/mica/PlatformC.nc:56,
from /opt/tinyos-2.1.2/tos/system/MainC.nc:61,
from SimpleAppC.nc:4:
In component `MotePlatformP':
/opt/tinyos-2.1.2/tos/platforms/micaz/MotePlatformP.nc: In function
`PlatformInit.init':
/opt/tinyos-2.1.2/tos/platforms/micaz/MotePlatformP.nc:51: `PORTC'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/micaz/MotePlatformP.nc:52: `DDRC'
undeclared (first use in this function)
In file included from
/opt/tinyos-2.1.2/tos/platforms/micaz/MotePlatformC.nc:44,
from /opt/tinyos-2.1.2/tos/platforms/mica/PlatformC.nc:56,
from /opt/tinyos-2.1.2/tos/system/MainC.nc:61,
from SimpleAppC.nc:4:
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc: At top level:
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: `PORTA'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: `DDRA'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:110: `PINA'
undeclared here (not in a function)
In file included from
/opt/tinyos-2.1.2/tos/platforms/micaz/MotePlatformC.nc:44,
from /opt/tinyos-2.1.2/tos/platforms/mica/PlatformC.nc:56,
from /opt/tinyos-2.1.2/tos/system/MainC.nc:61,
from SimpleAppC.nc:4:
In component `HplAtm128GeneralIOPortP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:110:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:110:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:110:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: `PORTB'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: `DDRB'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:111: `PINB'
undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:111:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:111:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:111:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: `PORTC'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: `DDRC'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:112: `PINC'
undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:112:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:112:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:112:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: `PORTD'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: `DDRD'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:113: `PIND'
undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:113:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:113:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:113:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: `PORTE'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: `DDRE'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:114: `PINE'
undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:114:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:114:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:114:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:115: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOPortP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:115:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:115:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:115:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:118: `PINF'
undeclared here (not in a function)
In file included from
/opt/tinyos-2.1.2/tos/platforms/micaz/MotePlatformC.nc:44,
from /opt/tinyos-2.1.2/tos/platforms/mica/PlatformC.nc:56,
from /opt/tinyos-2.1.2/tos/system/MainC.nc:61,
from SimpleAppC.nc:4:
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:118:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:118:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:118:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:119: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:119:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:119:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:119:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:120: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:120:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:120:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:120:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:121: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:121:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:121:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:121:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:122: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:122:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:122:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:122:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:123: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:123:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:123:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:123:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:124: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:124:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:124:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:124:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: `PORTF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: `DDRF'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:125: `PINF'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:125:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:125:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:125:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: `PORTG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: `DDRG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:129: `PING'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:129:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:129:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:129:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: `PORTG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: `DDRG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:130: `PING'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:130:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:130:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:130:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: `PORTG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: `DDRG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:131: `PING'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:131:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:131:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:131:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: `PORTG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: `DDRG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:132: `PING'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:132:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:132:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:132:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: `PORTG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: `DDRG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:133: `PING'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:133:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:133:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:133:
component arguments must be constants
In component `HplAtm128GeneralIOC':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: `PORTG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: `DDRG'
undeclared here (not in a function)
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:134: `PING'
undeclared here (not in a function)
In component `HplAtm128GeneralIOSlowPinP':
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:134:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:134:
component arguments must be constants
/opt/tinyos-2.1.2/tos/chips/atm1281/HplAtm128GeneralIOC.nc:134:
component arguments must be constants
In file included from /opt/tinyos-2.1.2/tos/platforms/mica/PlatformC.nc:56,
from /opt/tinyos-2.1.2/tos/system/MainC.nc:61,
from SimpleAppC.nc:4:
In component `MeasureClockC':
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc: In function
`Init.init':
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:85: `TCCR1B'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:85: `CS10'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:86: `ASSR'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:86: `AS2'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:87: `TCCR2B'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:87: `CS21'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:87: `CS20'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:92: `TCNT1'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:103: `TCNT2'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:118: `TIFR1'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:118: `TIFR2'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:119: `TCN2UB'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:119: `OCR2BUB'
undeclared (first use in this function)
/opt/tinyos-2.1.2/tos/platforms/iris/MeasureClockC.nc:119: `TCR2BUB'
undeclared (first use in this function)
In file included from /opt/tinyos-2.1.2/tos/system/MainC.nc:61,
from SimpleAppC.nc:4:
In component `RealMainP':
/opt/tinyos-2.1.2/tos/system/RealMainP.nc: In function `main':
/opt/tinyos-2.1.2/tos/system/RealMainP.nc:71: `MCUSR' undeclared (first
use in this function)
/opt/tinyos-2.1.2/tos/system/RealMainP.nc:71: `WDTCR' undeclared (first
use in this function)
/opt/tinyos-2.1.2/tos/system/RealMainP.nc:71: `WDCE' undeclared (first
use in this function)
/opt/tinyos-2.1.2/tos/system/RealMainP.nc:71: `WDE' undeclared (first
use in this function)
make: *** [exe0] Error 1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help