i got following error while compiling tutorial 2 of mote to mote communication;
can anybody please tell me how to remove it?

[r...@localhost BlinkToRadio]# make micaz
mkdir -p build/micaz
    compiling BlinkToRadioC to a micaz binary
ncc -o build/micaz/main.exe  -Os -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 
--param max-inline-insns-single=100000 -DIDENT_APPNAME=\"BlinkToRadioC\" 
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"localhost.local\" 
-DIDENT_USERHASH=0x53b81074L -DIDENT_TIMESTAMP=0x4aa5507aL 
-DIDENT_UIDHASH=0xfbb50421L -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkToRadioC.nc -lm 
In component `BlinkToRadioC':
BlinkToRadioC.nc: In function `Timer0.fired':
BlinkToRadioC.nc:44: warning: passing argument 2 of `Packet.getPayload' makes 
integer from pointer without a cast
/usr/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
thanks,
Mayank Kothiya
7th semester,electronics & communication engineering,(B.Tech)
Nirma University,
Ahmedabad,Gujarat,
India.



      See the Web's breaking stories, chosen by people like you. Check out 
Yahoo! Buzz. http://in.buzz.yahoo.com/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to