Greg,

many many thanks for pointing me to this stupid mistake! I read this 
Makefile three or five times and didn't see the problem! After changing 
the component name and fixing two other minor bugs, it really works.

You saved me from going back to the stable TOS 2.0.2 and Avrora for 
serial simulation, which would have resulted in many additional hours of 
debugging, as Avrora seems to have to "dbg" equivalent.

So, thanks again,
Oliver

Greg Hackmann schrieb:
> Oliver Frietsch wrote:
>> The situation is: It does not compile for micaz or mica2. The message is:
>>
>> /usr/bin/../lib/gcc/avr/4.1.2/../../../../avr/lib/avr5/crtm128.o: In 
>> function `__bad_interrupt':
>> ../../../../crt1/gcrt1.S:124: undefined reference to `main'
>> make: *** [exe0] Error 1
> 
> There's a bug in your Makefile.  You need to change your COMPONENT from 
> CollSerialC to CollSerialAppC.
> 
> Greg Hackmann
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to