我正在使用SNMP,需要实现TelosB使用contiki。我在https://github.com/sehgalanuj/contiki-snmp/找到了ContikiSNMP
它被列为2.5,并且不能与COntiki-2.6一起使用。我尝试使用Cooja模拟ContikiSNMP文件夹中的示例程序。但是我遇到了错误。有什么办法可以解决这个问题吗?
发布于 2014-03-06 02:40:04
我也有同样的问题,但我可以使用最小的网络微尘编译,例如,我正在尝试使用天空微尘进行编译,如下所示:
./../core/dev/sht11.c:242:3: error: ‘P1DIR’ undeclared (first use in this function)
../../core/dev/sht11.c: In function ‘scmd’:
../../core/dev/sht11.c:266:9: error: ‘P1IN’ undeclared (first use in this function)
../../core/dev/sht11.c:288:5: warning: implicit declaration of function ‘clock_wait’ [-Wimplicit-function-declaration]
make[1]: *** [obj_sky/sht11.o] Error 1
make[1]: Leaving directory `/home/user/contiki-snmp/examples/snmpd-sky'
make: *** [all] Error 2
user@instant-contiki:~/contiki-snmp/examples/snmpd-sky$ 我使用contiki 2.7
谢谢,
https://stackoverflow.com/questions/22140948
复制相似问题