Hi all, I am a bit of a newbie to makefiles and very much a newbie with tinyos. I have been trying to figure out how to create the C equivalent of the MIG Java example in Mote-PC serial communication and SerialForwarder. In my makefile I have the following.
COMPONENT=BlinkToRadioAppC BUILD_EXTRA_DEPS+=BlinkToRadioMsg.o BlinkToRadioMsg.c: mig c -c-prefix=BlinkToRadioMsg -o BlinkToRadio.h BlinkToRadioMsg $@ include $(MAKERULES) Where BlinkToRadio.h is the header file containing the structure BlinkToRadioMsg. I use the command: make tmote and get the following errors/warnings. gcc: BlinkToRadioMsg No such file or directory gcc: warning: '-x nesc' after last input file has no effect gcc: no input files failed to parse message file BlinkToRadioMsg make: *** [BlinkToRadioMsg.c] Error 1 Any help would be greatly appreciated as Google hasn't been my friend in finding any answers. Regards Derek Jones
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
