在Cooja中使用Relic-toolkit

时间:2019-07-10 16:54:57

标签: cryptography msp430 contiki cooja relic

我正在尝试在我的Cooja模拟中使用Relic工具包。我正在使用Zolertia(Z1)moto。我正在按照link的说明进行操作。但是我找不到Z1摩托车所需的预设。我尝试了几个预设,但没有一个真正适合我。例如:如果我尝试“ msp-ecc-128.sh”,则会显示如下错误日志:

[  1%] Building C object src/CMakeFiles/relic_s.dir/relic_err.c.obj
[  2%] Building C object src/CMakeFiles/relic_s.dir/relic_core.c.obj
[  2%] Building C object src/CMakeFiles/relic_s.dir/relic_rand.c.obj
[  3%] Building C object src/CMakeFiles/relic_s.dir/relic_conf.c.obj
[  4%] Building C object src/CMakeFiles/relic_s.dir/relic_pool.c.obj
[  5%] Building C object src/CMakeFiles/relic_s.dir/relic_util.c.obj
[  6%] Building C object 
src/CMakeFiles/relic_s.dir/arch/relic_arch_msp.c.obj
{standard input}: Assembler messages:
{standard input}:76: Error: Missing symbol name in directive
{standard input}:76: Error: junk at end of line, first unrecognized 
character is `x'
{standard input}:77: Error: expected comma after name `' in .size directive
{standard input}:78: Error: junk at end of line, first unrecognized 
character is `0'
{standard input}:82: Error: Missing symbol name in directive
{standard input}:82: Error: junk at end of line, first unrecognized 
character is `x'
{standard input}:83: Error: expected comma after name `' in .size directive
{standard input}:84: Error: junk at end of line, first unrecognized character is `0'
.......
src/CMakeFiles/relic_s.dir/build.make:206: recipe for target 'src/CMakeFiles/relic_s.dir/arch/relic_arch_msp.c.obj' failed
make[2]: *** [src/CMakeFiles/relic_s.dir/arch/relic_arch_msp.c.obj] Error 1
CMakeFiles/Makefile2:86: recipe for target 'src/CMakeFiles/relic_s.dir/all' failed
make[1]: *** [src/CMakeFiles/relic_s.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

我正在使用从github获得的relic-toolkit-0.3.5,计算机中的 msp430-gcc 版本是4.7.3。有人可以建议在Cooja模拟器中使用Relic-toolkit的任何解决方案吗?

0 个答案:

没有答案