Hello, 

I am new to tinyOS. I am writing a small application which has one 
configuration "PeriodicReaderAppC.nc" and one module "PeriodicReaderC.nc". 

This application is intended to read periodically sensor data and store its 
value in a local variable. While everything works fine, I get this error when I 
compile the application. 

 ncc -o main.exe -target=micaz PeriodicReaderC.nc

/usr/lib/gcc/avr/3.4.3/../../../../avr/lib/avr5/crtm128.o(.init9+0x0): In 
function `__bad_interrupt':
../../../crt1/gcrt1.S:104: undefined reference to `main'

I am attaching the two files with this email. Kindly help me with that. 

regards, 


       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.

Attachment: PeriodicReaderAppC.nc
Description: 4217494207-PeriodicReaderAppC.nc

Attachment: PeriodicReaderC.nc
Description: 2830653699-PeriodicReaderC.nc

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to