Hi George,

  I do not have a solution, but I thought I'd share our findings. We are facing 
the same problem on Ubuntu 11. But the identical code compiles on Debian5 and 
Ubuntu 10 machines. The error we get is similar to yours, but not identical:

two source files specified (PLATFORM_NULL and TOSH_DATA_LENGTH=100)
..

  Due to time constraints, we did not dig deeper into this, as we are able to 
take the class files from the Debian machine. But maybe this info helps you 
find the actual cause of the error.

Best,
Jakob


On Nov 7, 2011, at 3:08 PM, George Smart wrote:

> Hi.  I am trying to build the Java program to go with the RssiDemo.  I
> have all the nodes programmed and can read binary data from the nodes
> via terminal program. When it comes to running the Java PC program, I
> just can't seem to get it to compile! I get the following errors:
> 
> george@box:/opt/tinyos-2.1.1/apps/tutorials/RssiDemo/java$ sudo make
> mig java -target=null -java-classname=RssiMsg ../RssiDemoMessages.h
> RssiMsg -o RssiMsg.java
> two source files specified (PLATFORM_NULL and NESC=131)
> failed to parse message file ../RssiDemoMessages.h
> make: *** [RssiMsg.java] Error 1
> george@box:/opt/tinyos-2.1.1/apps/tutorials/RssiDemo/java$
> 
> I just don't have enough experience to fix it.  If anyone can offer any
> suggestions, that would be great. I'm running Ubuntu 11.10, 64-bit with
> the proper Oracle Java 7 suite. I had a good around and a search this
> mailing list but I couldn't find an answer to this.
> 
> Thanks in Advance.
> 
> George Smart
> Ph.D Student, E&EE, UCL.

-- 
net.cs.bonn.edu/bieling

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to