I am using tinyos-2.0.2 and mica2 motes. I tried lesson-15 and it does
not work.
Firstly, the patch mentioned in the lesson fails to apply. I believe it
fails because the version of code in tinyos-2.0.2 is newer and patch is
for an older version. Hence I have to applied the patch by hand.
After that, when I make TestPrintf application then I still get
following errors. (I am able to do most of other tutorials/lessons hence
you can assume that my system is configured correctly)
----
$ make mica2
mkdir -p build/mica2
mig java -target=mica2 -I/opt/tinyos-2.x/tos/lib/printf
-DIDENT_PROGRAM_NAME=\"TestPrintfAppC\" -DIDENT_USER_ID=\"aslam\"
-DIDENT_HOSTNAME=\"verona\" -DIDENT_US
-java-classname=PrintfMsg \
/opt/tinyos-2.x/tos/lib/printf/printf.h printf_msg -o
PrintfMsg.java
/opt/tinyos-2.x/tos/lib/printf/printf.h:41:25: avr_stdio.h: No such file
or directory
<commandline>: failed to preprocess /opt/tinyos-2.x/tos/lib/printf/printf.h
failed to parse message file /opt/tinyos-2.x/tos/lib/printf/printf.h
make: *** [PrintfMsg.java] Error 1
----
Please help in solving this problem! Thanking you in anticipation.
Faisal Aslam
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help