我试图在Ubuntu16.06中安装的TinyOS中运行Blink应用程序。
`make telosb reinstallbsl,/dev/ttyUSB0`
显示
../../support/make/Makerules:56: Old TinyOS environment variables detected.
This version of the TinyOS make system has deprecated the TOSDIR, TOSROOT,
and MAKERULES environment variables. Generally, you shouldn't need
environment variables with this version of the TinyOS make system, and if
you are not using any older versions of TinyOS on your system you should
delete these environment variables. If you wish to leave these variables
but hide this warning, set the TINYOS_NO_DEPRECATION_WARNING environment
variable. If you are looking to compile against a different TinyOS tree,
configure the makefiles used when compiling, or setup an external TinyOS
tree with additional source files, please visit
https://github.com/tinyos/tinyos-main/blob/master/support/make/README.md
for more information about the TinyOS make system.
进一步向下显示:
`<JAVA_HOME> /lib/ext exists, extensions mechanism no longer supported;
Use -classpath instead.
.Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
../../support/make/Makerules:362: recipe for target 'wiring_check' failed
make: *** [wiring_check] Error 1`
当我检查java -version
时,显示
<JAVA_HOME>/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
.Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
请告诉我如何纠正这个问题。
答案 0 :(得分:0)
您安装了tinyOS 3.与tinyOS 2- 不同,它不会使用TOSDIR,TOSROOT和MAKERULES环境变量。您应该安装tinyos 2-1-2并使用该环境变量。或者您应该遵循tinyOS 3的安装指南 - 并删除所有旧版本的环境变量。