因此,在 contiki 上工作并尝试构建这个应用程序,即 rest-coap。
我的 Makefile 是这样的:
CONTIKI = ../..
all: rest-common
UIP_CONF_IPV6=1
include $(CONTIKI)/Makefile.include`
运行make target=z1 coap-common
总是会导致这个:
$ ...
gcc -Wl,-Map=contiki-native.map,-export-dynamic coap-common.co contiki-native.a -o coap-common.native contiki-native.a(contiki-main.o):
In function 'main': /home/user/contiki-2.6/apps/rest- coap/../../platform/native/./contiki-main.c:225: undefined reference to 'autostart_processes'
collect2: ld returned 1 exit status
make: *** [coap-common.native] Error 1
rm coap-common.co
你能帮我吗?