Hi Aswath,

You should upgrade nesc from here:
http://tinyos.stanford.edu/tinyos/dists/cygwin/

Andras Biro
http://ucmote.com




On Mon, Jan 21, 2013 at 12:02 PM, <asw...@ee.iisc.ernet.in> wrote:

> The terminal says this
>
> $ javac -target 1.5 -source 1.5 *.java
>   TestSerialMsg.java:88: unclosed string literal
>         s += "  [nx_struct test_serial_msg 2 137
>              ^
>   TestSerialMsg.java:89: hexadecimal numbers must contain at least one
>      hexadecimal digit
>    =0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137
>                                        ^
> TestSerialMsg.java:89: unclosed string literal
> =0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137
>    ^
> TestSerialMsg.java:109: ';' expected
>     public static boolean isSigned_nx_struct test_serial_msg 2 137
>                                              ^
> 4 errors
>
> And when I examined the .java file generated the was not even
> syntactically correct.
>
>
> Thanks in advance,
>
>
> V. S. Aswath
>
>
>
>
> > post the error..
> >
> > On Mon, Jan 21, 2013 at 3:27 PM, <asw...@ee.iisc.ernet.in> wrote:
> >
> >> Hi,
> >>
> >>  I am new to motes. I am working with cygwin in windwos 7. Not able to
> >> compile
> >> TestSerial as the .java file generated by MIG does not follow standard
> >> java format.
> >>
> >> Details of the software installed are,
> >>
> >> NesC        nesc-1.3.1-1.cygwin.i386.rpm
> >> Deputy        tinyos-deputy-1.1-1.cygwin.i386.rpm
> >> tinyos-tools        tinyos-tools-1.4.0-3.cygwin.i386.rpm
> >> Python 2.6.8
> >>
> >> Thanks in advance,
> >>
> >> V. S. Aswath
> >> Post Graduate Student.
> >>
> >>
> >> --
> >> This message has been scanned for viruses and
> >> dangerous content by MailScanner, and is
> >> believed to be clean.
> >>
> >> _______________________________________________
> >> Tinyos-help mailing list
> >> Tinyos-help@millennium.berkeley.edu
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >
> >
> >
> > --
> > Regards,
> > Mamta Bucha
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to