[Tinyos-help] Environment variables setting for TinyOS 1.1.15 on Windows

bharat naik bharat.2511 at gmail.com
Wed Jun 3 14:33:41 PDT 2009


Hi all,

       I managed to remove most of the errors by adding the path: *C:\Program
Files\cygwin\usr\local\bin*
When I perform toscheck now, it gives me the following errors:
Warning: CLASSPATH environment variable doesn't exist
Warning: The Java version found first by toscheck may not be versio 1.4
which is required by TOS..................
Warning: No msp430-gcc in current path.

I have been reading up on CLASSPATH and  PATH variables all day but still
haven't been able to resolve the first error.
The second error is maybe because it is looks for java here:
*/cygdrive/c/Windows/system32/java. *I have j2sdk1.4.2_19 in C:\Program
Files\Java). Should I include this path before C:\Windows\system32\java? It
then shows an error with the javax.comm package though I thnik it is not
required as long as I don't plug in motes.
The last error is because I haven't installed the msp430-gcc rpm package.

Now when I try the following:
*cd /opt/tinyos-1.x/apps/Blink
make pc
*I get a huge list of errors:
most of the errors are similar to:
*C:\Program Files\cygwin\bin\gcc.exe:****heap allocated but not at 0x7A0000
1195248 [main] gcc 2780 sync_with_child: child 1676<0xF0> died before
initialization with status code 0x1
*Then I get a list of the following errors:
*C:/Program Files/cygwin/opt/tinyos-1.x/tos/system/NoLeds.nc: 'init' is not
in interface Leds
**C:/Program Files/cygwin/opt/tinyos-1.x/tos\system/NoLeds.nc: 'red On' is
not in interface Leds
......
*Then the following list of errors:*
**C:/Program Files/cygwin/opt/tinyos-1.x/tos/platform/pc/LedsM.nc:
'yellowOn' is not in interface Leds
**C:/Program Files/cygwin/opt/tinyos-1.x/tos/platform/pc/LedsM.nc:
'yellowOff' is not in interface Leds
.........
and finally the following:
make: *** [build/pc/main.exe] Error 1
make: *** No rules to make target 'pc'. Stop.
**make: *** No rules to make target 'pc'. Stop.
**make: *** No rules to make target 'pc'. Stop.
**make: *** No rules to make target 'pc'. Stop.
**make: *** No rules to make target 'pc'. Stop.

*I* *have looked through the mail archives and have only got more confused.
I did *
export MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
*but it still didn't work.Please tell me as to what I should do.


Regards,
Bharat Naik.

*
**
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090604/7f4cd693/attachment.htm 


More information about the Tinyos-help mailing list