Re: [Tinyos-help] Error help: undefined reference to `main'

2009-05-07 Thread Urs Hunkeler
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. C

Re: [Tinyos-help] Error help: undefined reference to `main'

2009-05-06 Thread Philip Levis
On May 6, 2009, at 6:15 AM, David Li wrote: > Hi Phil, > > No, I am using Ubuntu 9.10 with TinyOS 2.1 tool chain installed. > > David > Can you add -v to CFLAGS in the Makefile? This should give you a verbose output, which will tell you which tool is failing. Phil

Re: [Tinyos-help] Error help: undefined reference to `main'

2009-05-06 Thread David Li
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 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 thi

Re: [Tinyos-help] Error help: undefined reference to `main'

2009-05-05 Thread Philip Levis
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

[Tinyos-help] Error help: undefined reference to `main'

2009-05-05 Thread David Li
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