Hi I am a newbie in tinyos-2 and I am currently learning to use it doing the tutorials. I am working on Windows/Cygwin on tinynode motes. In tutorial 4 (In the "Sending a packet to the serial port in TinyOS" part) I am facing a compilation problem. I changed the BlinkToRadioAppC configuration as explained in the tutorial and when I tried to make it I got the following error message:
mkdir -p build/tinynode javac *.java compiling BlinkToRadioAppC to a tinynode binary ncc -o build/tinynode/main.exe -Os -Os -mdisable-hwmul -mstrict-align -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=tinynode -fnesc-cfile=build/tinynode/app.c -board= -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/tinynode/wiring-check.xml BlinkToRadioAppC.nc -lm In component `BlinkToRadioAppC': BlinkToRadioAppC.nc:57: cannot find `AMSenderC' BlinkToRadioAppC.nc:58: cannot find `AMSenderC' make: *** [exe0] Error 1 So I added components new AMSenderC(AM_BLINKTORADIOMSG); in BlinkToRadioAppC.nc and when I tried to make it I received the following error message : mkdir -p build/tinynode javac *.java compiling BlinkToRadioAppC to a tinynode binary ncc -o build/tinynode/main.exe -Os -Os -mdisable-hwmul -mstrict-align -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=tinynode -fnesc-cfile=build/tinynode/app.c -board= -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/tinynode/wiring-check.xml BlinkToRadioAppC.nc -lm In component `XE1205SendReceiveP': /opt/tinyos-2.x/tos/chips/xe1205/XE1205SendReceiveP.nc: In function `PhySplitControl.stopDone': /opt/tinyos-2.x/tos/chips/xe1205/XE1205SendReceiveP.nc:137: SplitControl.stopDone not connected /opt/tinyos-2.x/tos/chips/xe1205/XE1205SendReceiveP.nc: In function `PhySplitControl.startDone': /opt/tinyos-2.x/tos/chips/xe1205/XE1205SendReceiveP.nc:133: SplitControl.startDone not connected In component `BlinkToRadioAppC.AMSenderC.AMQueueEntryP': /opt/tinyos-2.x/tos/system/AMQueueEntryP.nc: In function `Send.sendDone': /opt/tinyos-2.x/tos/system/AMQueueEntryP.nc( BlinkToRadioAppC.AMSenderC.AMQueueEntryP):58: AMSend.sendDone not connected make: *** [exe0] Error 1 I have no idea how to fix that. Can someone please help me ? Thank you very much for the help Best regards, Laurent Nguyen
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
