Hi,

While trying to compile my code in tinyos 2.x with target "micaz sim-cygwin", I get the following error in the end:

C:/cygwin/opt/tinyos-2.x-new/tinyos-2.x/tos/lib/tossim/SimMoteP.nc: In function
`__nesc_nido_initialise':
C:/cygwin/opt/tinyos- 2.x-new/tinyos-2.x/tos/lib/tossim/SimMoteP.nc:1539: error:
assignment of read-only location
C:/cygwin/opt/tinyos-2.x-new/tinyos-2.x/tos/lib/tossim/SimMoteP.nc:1540: error:
assignment of read-only location

I say "in the end" because there were many other errors occuring previously, but I managed to get rid of all of them, and this is a new one that finally surfaced. I can't figure out what this error means since it doesn't give any real context from where it emerged ( SimMoteP.nc has only ~155 lines). Can someone give a hint or a guess as to what can possibly cause this error?


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

Reply via email to