What version of tinyos are you using?  At least in the latest CVS version, that issue is fixed.  It’s in the changelog in CVS.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcus Phillips
Sent: Friday, July 07, 2006 09:44
To: [email protected]
Subject: [Tinyos-help] [TinyOs Help] TinyOs on Red Hat EL4

 

I am trying to install and run tinyos on Red Hat EL4. I get most of the way through the installation, but a series of errors about enum.

an example is

/opt/tinyos-1.x/tools/java/net/tinyos/sim/event/SimEventBus.java:180: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = getEventListeners().elements();


I have installedIBMJava2-142-ia32-SDK -1.4.2-5.0.i386.rpm and IBMJava2-JAVACOMM-1.4.2-5.0.i386.rpm, as the webpage ordered. I believe the java compiler (javac) is the cause of these errors. However, I cannot add the -source 1.4, as the compiler is being called from within the rpm.

Any help working around this issue would be greatly appreciated.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to