0

我正在尝试使用 Contiki-NG 项目附带的 Cooja 模拟器来模拟 Sky 微尘。我按照他们的 wiki 中的说明访问模拟器:

cd contiki-ng/tools/cooja
ant

但是当我尝试编译 hello-world 示例时,它似乎执行了命令

make hello-world.sky TARGET=sky

Cooja 返回以下错误消息:

> make hello-world.sky TARGET=sky 
make: msp430-gcc: File or directory does not exists
make: msp430-gcc: File or directory does not exists
/bin/sh: 1: msp430-gcc: not found
/bin/sh: 1: msp430-gcc: not found
/bin/sh: 1: test: -lt: unexpected operator
  CC        ../../os/contiki-main.c
make: msp430-gcc: File or directory does not exists
make: *** [../../Makefile.include:366: build/sky/obj/contiki-main.o] Error 127
Process returned error code 2

我检查了 msp430-gcc 是否已安装并且文件 ../../os/contiki-main.c 是否正常。那么为什么我会面临这个错误呢?

4

0 回答 0