Hello, I've got problems compiling applications for IRIS platform (i.e. Null app). This is the prompt output in Cygwin for command 'make iris':
mkdir -p build/iris compiling NullAppC 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_GRUOP=0x22 --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"NullAppC\" -DIDENT_USERNAME=\"User\" -DIDENT_HOSTNAME=\"wmwpc01\" -DIDENT_USERHASH=0x753ef860L -DIDENT_TIMESTAMP=0x547ec85bL -DIDENT_UIDHASH=0x4ebbf510L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/iris/wiring-check.xml NullAppC.nc -lm In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41: In component 'McuSleepC': /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc: In function 'getPowerState': /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:72: 'TIMSK' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:72: (Each undeclared identifier is reported only once /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:72: for each function it appears in.) /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:72: 'OCIE0' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:73: 'ETIMSK' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:81: 'TXCIE' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:81: 'RXCIE' undeclared (first use in this function) /opt/tinyos-2.x/tos/chips/atm128/McuSleepC.nc:89: 'ADCSR' undeclared (first use in this function) Make: *** [exe0] Error 1 If I try to compile the same app for a mica2 platform, with command 'make mica2', it works well, generating the following output to the prompt: Compiled NullAppC to build/mica2/main.exe 794 bytes in ROM 5 bytes in RAM avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex writing TOS image My version of tinyos is 2.0.2-2 and it's running on a virtual machine with WinXP SP3. I followed instructions to install it from here: http://tinyos.stanford.edu/tinyos-wiki/index.php/Manual_installation_using_RPM_packages. I also went here (http://www.tinyos.net/tinyos-2.x/) trying to compare what's inside with my tinyos directory. Could someone help me understanding what's missing/wrong? Thanks, Fabio Stefanutti
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
