Hi David,

That sounds like a nasty typo that took me a couple of hours to find the 
last time I had a similar error. In the compile command it looks like 
you try to compile BlinkToRadioC.nc instead of BlinkToRadioAppC.nc. Make 
sure that the component named in the Makefile is BlinkToRadioAppC.

Cheers,
Urs


David Li wrote:
> Hi Phil,
> 
> No, I am using Ubuntu 9.10 with TinyOS 2.1 tool chain installed.
> 
> David
> 
> 
> On Tue, May 5, 2009 at 9:12 PM, Philip Levis <[email protected]> wrote:
> 
>> On May 5, 2009, at 4:37 PM, David Li wrote:
>>
>>  Hi,
>>> I am trying to compile the BlinkToRadio app in the Tutorial for Iris mote
>>> (make iris) and got this clueless error. Can anyone help?
>>>
>>> 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=\"BlinkToRadioC\"
>>> -DIDENT_USERNAME=\"wdli\" -DIDENT_HOSTNAME=\"dice-laptop\"
>>> -DIDENT_USERHASH=0x26dd09fbL -DIDENT_TIMESTAMP=0x4a00cd11L
>>> -DIDENT_UIDHASH=0x63f8b2ceL -fnesc-dump=wiring
>>> -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
>>> components)' -fnesc-dumpfile=build/iris/wiring-check.xml BlinkToRadioC.nc
>>> -lm
>>> /usr/bin/../lib/gcc/avr/4.1.2/../../../../avr/lib/avr5/crtm1281.o: In
>>> function `__bad_interrupt':
>>> ../../../../crt1/gcrt1.S:124: undefined reference to `main'
>>> make: *** [exe0] Error 1
>>>
>> This error is typically due to an (unknown) incompatibility between cygwin
>> and one or more of the  tools; are you using the version of Cygwin available
>> on the installation web page, or a different one?
>>
>> Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to