我正在尝试编译遗物以便在 COOJA 上进行一些模拟。供您参考,我在虚拟机(Instant contiki 2.7)中使用 COOJA,它带有 msp430-gcc-4.7.0 我运行了以下命令(根据 buildinstrtuctions)
tar xzvf relic-0.3.5.tar.gz
mkdir -p relic-target
cd relic-target
../relic-0.3.5/preset/msp-pbc-80.sh ../relic-0.3.5
make
当我尝试让我得到这个错误:
user@instant-contiki:~/Desktop/relic/relic-target$ make
[0%] Built target arith_objs
[0%] 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'
.
.
.
make[2]: *** [src/CMakeFiles/relic_s.dir/arch/relic_arch_msp.c.obj] Error 1
make[1]: *** [src/CMakeFiles/relic_s.dir/all] Error 2
make: *** [all] Error 2
有人可以告诉我如何解决这个问题。谢谢。