Closed Azeirah closed 9 years ago
I'v solved similar issue by setting:
#define NETSTACK_CONF_WITH_RIME 1
in my platform "contiki-conf.h"
hope that it would help in your case (probably if you use rime_driver as NETSTACK_CONF_NETWORK)
@Azeirah, is the makefile yours or is it from the Contiki tree?
It seems outdated anyway, one shouldn't set UIP_CONF_IPV6
and -DUIP_CONF_IPV6_RPL
anymore. Now the different netstacks are enabled with NETSTACK_CONF_WITH_RIME
, NETSTACK_CONF_WITH_IPV4
, NETSTACK_CONF_WITH_IPV6
.
In your case I guess what you need is:
#define NETSTACK_CONF_WITH_IPV6 1
@vac I have the same problem. I added #define NETSTACK_CONF_WITH_RIME 1 to the contiki-conf.h file in exp5438 platform folder, but I still get the error. here is the makefile : ` CONTIKI_PROJECT = routing all: $(CONTIKI_PROJECT)
MODULES += core/net/ipv4/uaodv MODULES += core/net/ipv4/uaodv-rt core/net/rime
ifdef WITH_COMPOWER APPS+=powertrace CFLAGS+= -DCONTIKIMAC_CONF_COMPOWER=1 -DWITH_COMPOWER=1 -DQUEUEBUF_CONF_NUM=4 endif
CONTIKI_WITH_RIME = 1 CFLAGS =-DUIP_CONF_IPV6 MODULES += core/net/ipv6/multicast
CFLAGS += -ffunction-sections LDFLAGS += -Wl,--gc-sections,--undefined=_reset_vector,--undefined=InterruptVectors,--undefined=_copy_data_init__,--undefined=_clear_bss_init,--undefined=_end_of_init__
ifeq ($(TARGET),avr-raven) COFFEE_FILES = 4 endif
CONTIKI =../../../ include $(CONTIKI)/Makefile.include` am I doing something wrong? I would be really appreciate if you answer me.
I'm trying to build the contiki 3.x branch pulled from master today for the avr-atmega128rfa1 target, however I'm getting a compiler error.
My makefile looks as follows:
Contiki release 2.7 compiles just fine with the same makefile.
Before this compiler error, I had a different one mentioning I was missing the nullsec drivers, according to a post I found I should add some modules to the makefile,
MODULES += core/net/ipv6 core/net/ipv4 core/net/ip core/net/mac core/net core/net/rime core/net/rpl core/net/mac/sicslowmac core/net/contikimac
.I've got 6 compiler errors here
Note: I took away the irrelevant part of the path.