Giter Club home page Giter Club logo

iot-lab-contiki-ng's Introduction

IoT-LAB Main Repository

This repository contains common IoT-LAB resources, such as experiments management tools, deployment tools, dev. env. setup.

Overall documentation is available at https://github.com/iot-lab/iot-lab/wiki

To perform the initial setup of your development environment, run make.

iot-lab-contiki-ng's People

Contributors

fsaintma avatar yagoor avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iot-lab-contiki-ng's Issues

Node ID

Hi all,

Is there a way to override the Node ID? I mean is it possible to force the link address of a node?

Thank you.

rpl-udp example implicit declaration of function 'random_rand' error

Trying to build Contiki's rpl-udp (/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/rpl-udp) example but it causes "implicit declaration of function" error:

make: Entering directory '/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/rpl-udp'
  MKDIR     build/iotlab/m3/obj
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/xmem.c
  CC        ../../os/storage/cfs/cfs-coffee.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/acc-mag-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/fake-button-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/gyr-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/light-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/pressure-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_drivers.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_lib.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_periph.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/lsm303dlhc/lsm303dlhc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/lps331ap/lps331ap.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/l3g4200d/l3g4200d.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/isl29020/isl29020.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/n25xxx/n25xxx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/cortex-m3/boot.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/cortex-m3/nvic.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/dma.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/i2c.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/spi.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/timer.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/uart.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/unique_id.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/usb.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/watchdog.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/adc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/afio.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/boot.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/exti.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/flash.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/gpio.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc_clock.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc_sysclk.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rtc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/sdio.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/stm32f1xx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/lib/softtimer/soft_timer_delay.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/rf2xx/rf2xx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./platform.c
  CC        ../../os/dev/leds.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./int-master.c
  CC        ../../os/lib/sensors.c
  CC        ../../os/dev/slip.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./clock-systick.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./watchdog.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./radio-rf2xx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/uart1.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./slip-arch.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./openlab-port.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./rtimer-arch.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./leds-arch.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/m3/platform-sensors.c
  CC        ../../os/contiki-main.c
  CC        ../../os/sys/autostart.c
  CC        ../../os/sys/ctimer.c
  CC        ../../os/sys/atomic.c
  CC        ../../os/sys/energest.c
  CC        ../../os/sys/etimer.c
  CC        ../../os/sys/log.c
  CC        ../../os/sys/mutex.c
  CC        ../../os/sys/stimer.c
  CC        ../../os/sys/compower.c
  CC        ../../os/sys/process.c
  CC        ../../os/sys/rtimer.c
  CC        ../../os/sys/node-id.c
  CC        ../../os/sys/timer.c
  CC        ../../os/sys/stack-check.c
  CC        ../../os/lib/dbl-circ-list.c
  CC        ../../os/lib/crc16.c
  CC        ../../os/lib/ifft.c
  CC        ../../os/lib/ccm-star.c
  CC        ../../os/lib/dbl-list.c
  CC        ../../os/lib/ringbufindex.c
  CC        ../../os/lib/list.c
  CC        ../../os/lib/circular-list.c
  CC        ../../os/lib/aes-128.c
  CC        ../../os/lib/trickle-timer.c
  CC        ../../os/lib/memb.c
  CC        ../../os/lib/heapmem.c
  CC        ../../os/lib/random.c
  CC        ../../os/lib/assert.c
  CC        ../../os/lib/ringbuf.c
  CC        ../../os/dev/button-hal.c
  CC        ../../os/dev/serial-line.c
  CC        ../../os/dev/spi.c
  CC        ../../os/dev/nullradio.c
  CC        ../../os/dev/gpio-hal.c
  CC        ../../os/net/queuebuf.c
  CC        ../../os/net/nbr-table.c
  CC        ../../os/net/packetbuf.c
  CC        ../../os/net/netstack.c
  CC        ../../os/net/linkaddr.c
  CC        ../../os/net/net-debug.c
  CC        ../../os/net/link-stats.c
  CC        ../../os/net/mac/mac-sequence.c
  CC        ../../os/net/mac/mac.c
  CC        ../../os/net/mac/framer/frame802154e-ie.c
  CC        ../../os/net/mac/framer/framer-802154.c
  CC        ../../os/net/mac/framer/nullframer.c
  CC        ../../os/net/mac/framer/frame802154.c
  CC        ../../os/net/mac/csma/csma-security.c
  CC        ../../os/net/mac/csma/anti-replay.c
  CC        ../../os/net/mac/csma/csma.c
  CC        ../../os/net/mac/csma/csma-output.c
  CC        ../../os/net/mac/csma/ccm-star-packetbuf.c
  CC        ../../os/net/ipv6/uipbuf.c
  CC        ../../os/net/ipv6/uip-icmp6.c
  CC        ../../os/net/ipv6/uip-sr.c
  CC        ../../os/net/ipv6/uip-ds6.c
  CC        ../../os/net/ipv6/uip-packetqueue.c
  CC        ../../os/net/ipv6/tcp-socket.c
  CC        ../../os/net/ipv6/ip64-addr.c
  CC        ../../os/net/ipv6/uip-udp-packet.c
  CC        ../../os/net/ipv6/uip-ds6-route.c
  CC        ../../os/net/ipv6/psock.c
  CC        ../../os/net/ipv6/tcpip.c
  CC        ../../os/net/ipv6/uip6.c
  CC        ../../os/net/ipv6/uip-ds6-nbr.c
  CC        ../../os/net/ipv6/uip-nameserver.c
  CC        ../../os/net/ipv6/uip-nd6.c
  CC        ../../os/net/ipv6/udp-socket.c
  CC        ../../os/net/ipv6/simple-udp.c
  CC        ../../os/net/ipv6/sicslowpan.c
  CC        ../../os/net/ipv6/uiplib.c
  CC        ../../os/net/routing/rpl-lite/rpl-icmp6.c
  CC        ../../os/net/routing/rpl-lite/rpl-of0.c
  CC        ../../os/net/routing/rpl-lite/rpl-neighbor.c
  CC        ../../os/net/routing/rpl-lite/rpl-timers.c
  CC        ../../os/net/routing/rpl-lite/rpl-ext-header.c
  CC        ../../os/net/routing/rpl-lite/rpl.c
  CC        ../../os/net/routing/rpl-lite/rpl-nbr-policy.c
  CC        ../../os/net/routing/rpl-lite/rpl-mrhof.c
  CC        ../../os/net/routing/rpl-lite/rpl-dag.c
  CC        ../../os/net/routing/rpl-lite/rpl-dag-root.c
  AR        build/iotlab/m3/contiki-ng-iotlab.a
  CC        udp-client.c
udp-client.c: In function 'process_thread_udp_client_process':
udp-client.c:55:31: error: implicit declaration of function 'random_rand'; did you mean 'random_rand32'? [-Werror=implicit-function-declaration]
   etimer_set(&periodic_timer, random_rand() % SEND_INTERVAL);
                               ^~~~~~~~~~~
                               random_rand32
cc1: all warnings being treated as errors
../../Makefile.include:384: recipe for target 'udp-client.o' failed
make: *** [udp-client.o] Error 1
make: Leaving directory '/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/rpl-udp'

rpl-udp example: Not reachable yet

Hi,

rpl-udp example does not run properly in the testbed.
Normally, it works properly in the Cooja simulator.
Here is the serial link output in the Saclay site; node-a8-105 is rpl-udp server, other are the clients:

`
1619687902.001221;Aggregator started
1619687924.138119;node-a8-105;
1619687924.138391;node-a8-105;
1619687925.137492;node-a8-105;Platform starting in 1...
1619687925.138296;node-a8-105;GO!
1619687925.138814;node-a8-105;[in clock_init() DEBUG] Starting systick timer at 100Hz
1619687925.141162;node-a8-105;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1
1619687925.141948;node-a8-105;[INFO: Main ] - Routing: RPL Classic
1619687925.142981;node-a8-105;[INFO: Main ] - Net: sicslowpan
1619687925.143818;node-a8-105;[INFO: Main ] - MAC: CSMA
1619687925.145128;node-a8-105;[INFO: Main ] - 802.15.4 PANID: 0xabcd
1619687925.145901;node-a8-105;[INFO: Main ] - 802.15.4 Default channel: 26
1619687925.146945;node-a8-105;[INFO: Main ] Node ID: 38741
1619687925.147798;node-a8-105;[INFO: Main ] Link-layer address: 0200.0000.0000.9755
1619687925.150149;node-a8-105;[INFO: Main ] Tentative link-local IPv6 address: fe80::9755
1619687925.150820;node-a8-105;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3
1619687925.152034;node-a8-105;#A root=85
1619687949.069864;node-a8-106;
1619687949.070152;node-a8-106;
1619687950.071604;node-a8-106;Platform starting in 1...
1619687950.071821;node-a8-106;GO!
1619687950.072788;node-a8-106;[in clock_init() DEBUG] Starting systick timer at 100Hz
1619687950.074136;node-a8-106;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1
1619687950.075388;node-a8-106;[INFO: Main ] - Routing: RPL Classic
1619687950.076590;node-a8-106;[INFO: Main ] - Net: sicslowpan
1619687950.077820;node-a8-106;[INFO: Main ] - MAC: CSMA
1619687950.078017;node-a8-106;[INFO: Main ] - 802.15.4 PANID: 0xabcd
1619687950.078868;node-a8-106;[INFO: Main ] - 802.15.4 Default channel: 26
1619687950.080118;node-a8-106;[INFO: Main ] Node ID: 43348
1619687950.082342;node-a8-106;[INFO: Main ] Link-layer address: 0200.0000.0000.a954
1619687950.083168;node-a8-106;[INFO: Main ] Tentative link-local IPv6 address: fe80::a954
1619687950.085486;node-a8-106;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3
1619687969.464971;node-a8-107;
1619687969.465306;node-a8-107;
1619687970.465452;node-a8-107;Platform starting in 1...
1619687970.465748;node-a8-107;GO!
1619687970.466129;node-a8-107;[in clock_init() DEBUG] Starting systick timer at 100Hz
1619687970.468421;node-a8-107;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1
1619687970.469191;node-a8-107;[INFO: Main ] - Routing: RPL Classic
1619687970.470271;node-a8-107;[INFO: Main ] - Net: sicslowpan
1619687970.471128;node-a8-107;[INFO: Main ] - MAC: CSMA
1619687970.472169;node-a8-107;[INFO: Main ] - 802.15.4 PANID: 0xabcd
1619687970.473299;node-a8-107;[INFO: Main ] - 802.15.4 Default channel: 26
1619687970.474082;node-a8-107;[INFO: Main ] Node ID: 38997
1619687970.476328;node-a8-107;[INFO: Main ] Link-layer address: 0200.0000.0000.9855
1619687970.477130;node-a8-107;[INFO: Main ] Tentative link-local IPv6 address: fe80::9855
1619687970.478269;node-a8-107;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3
1619687990.078824;node-a8-108;
1619687990.079085;node-a8-108;
1619687991.078622;node-a8-108;Platform starting in 1...
1619687991.079451;node-a8-108;GO!
1619687991.080166;node-a8-108;[in clock_init() DEBUG] Starting systick timer at 100Hz
1619687991.082357;node-a8-108;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1
1619687991.083141;node-a8-108;[INFO: Main ] - Routing: RPL Classic
1619687991.084288;node-a8-108;[INFO: Main ] - Net: sicslowpan
1619687991.085137;node-a8-108;[INFO: Main ] - MAC: CSMA
1619687991.086274;node-a8-108;[INFO: Main ] - 802.15.4 PANID: 0xabcd
1619687991.087335;node-a8-108;[INFO: Main ] - 802.15.4 Default channel: 26
1619687991.088117;node-a8-108;[INFO: Main ] Node ID: 41830
1619687991.089393;node-a8-108;[INFO: Main ] Link-layer address: 0200.0000.0000.a366
1619687991.091397;node-a8-108;[INFO: Main ] Tentative link-local IPv6 address: fe80::a366
1619687991.092185;node-a8-108;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3
1619687993.024282;node-a8-106;[INFO: App ] Not reachable yet
1619687999.238752;node-a8-107;[INFO: App ] Not reachable yet
1619688015.127872;node-a8-109;
1619688015.128157;node-a8-109;
1619688016.129864;node-a8-109;Platform starting in 1...
1619688016.130079;node-a8-109;GO!
1619688016.131472;node-a8-109;[in clock_init() DEBUG] Starting systick timer at 100Hz
1619688016.134127;node-a8-109;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1
1619688016.134721;node-a8-109;[INFO: Main ] - Routing: RPL Classic
1619688016.134852;node-a8-109;[INFO: Main ] - Net: sicslowpan
1619688016.135367;node-a8-109;[INFO: Main ] - MAC: CSMA
1619688016.136839;node-a8-109;[INFO: Main ] - 802.15.4 PANID: 0xabcd
1619688016.137030;node-a8-109;[INFO: Main ] - 802.15.4 Default channel: 26
1619688016.138234;node-a8-109;[INFO: Main ] Node ID: 46694
1619688016.140131;node-a8-109;[INFO: Main ] Link-layer address: 0200.0000.0000.b666
1619688016.141662;node-a8-109;[INFO: Main ] Tentative link-local IPv6 address: fe80::b666
1619688016.143646;node-a8-109;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3
1619688020.972628;node-a8-108;[INFO: App ] Not reachable yet
1619688052.964397;node-a8-106;[INFO: App ] Not reachable yet
1619688053.582081;node-a8-109;[INFO: App ] Not reachable yet
1619688058.429098;node-a8-107;[INFO: App ] Not reachable yet
1619688081.722467;node-a8-108;[INFO: App ] Not reachable yet
1619688113.853639;node-a8-106;[INFO: App ] Not reachable yet
1619688114.182795;node-a8-109;[INFO: App ] Not reachable yet
1619688118.959416;node-a8-107;[INFO: App ] Not reachable yet
1619688142.572237;node-a8-108;[INFO: App ] Not reachable yet
1619688174.052519;node-a8-109;[INFO: App ] Not reachable yet
1619688174.585065;node-a8-106;[INFO: App ] Not reachable yet
1619688179.009895;node-a8-107;[INFO: App ] Not reachable yet
1619688203.141924;node-a8-108;[INFO: App ] Not reachable yet
1619688233.945118;node-a8-106;[INFO: App ] Not reachable yet
1619688235.033126;node-a8-109;[INFO: App ] Not reachable yet
1619688238.550236;node-a8-107;[INFO: App ] Not reachable yet

`

rpl-udp client nodes print out Not reachable yet.

What can be the issue?

Multicast example pointer of type 'void *' used in arithmetic warning/error

Trying to build Contiki's multicast (/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/multicast) example but it causes "pointer of type 'void *' used in arithmetic" error. Should I suppress the warnings being treated as errors?

command: !make -C $APP_DIR TARGET=iotlab BOARD=m3

make: Entering directory '/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/multicast'
  MKDIR     build/iotlab/m3/obj
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/xmem.c
  CC        ../../os/storage/cfs/cfs-coffee.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/acc-mag-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/fake-button-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/gyr-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/light-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/pressure-sensor.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_drivers.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_lib.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_periph.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/lsm303dlhc/lsm303dlhc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/lps331ap/lps331ap.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/l3g4200d/l3g4200d.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/isl29020/isl29020.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/n25xxx/n25xxx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/cortex-m3/boot.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/cortex-m3/nvic.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/dma.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/i2c.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/spi.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/timer.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/uart.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/unique_id.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/usb.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/watchdog.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/adc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/afio.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/boot.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/exti.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/flash.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/gpio.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc_clock.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc_sysclk.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rtc.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/sdio.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/stm32f1xx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/lib/softtimer/soft_timer_delay.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/rf2xx/rf2xx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./platform.c
  CC        ../../os/dev/leds.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./int-master.c
  CC        ../../os/lib/sensors.c
  CC        ../../os/dev/slip.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./clock-systick.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./watchdog.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./radio-rf2xx.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/uart1.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./slip-arch.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./openlab-port.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./rtimer-arch.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./leds-arch.c
  CC        /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/m3/platform-sensors.c
  CC        ../../os/net/ipv6/multicast/uip-mcast6-stats.c
  CC        ../../os/net/ipv6/multicast/mpl.c
../../os/net/ipv6/multicast/mpl.c: In function 'icmp_out':
../../os/net/ipv6/multicast/mpl.c:875:33: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       memcpy(((void *)locsiptr) + seed_info_len, vector, vec_size);
                                 ^
../../os/net/ipv6/multicast/mpl.c:876:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + seed_info_len + vec_size;
                                     ^
../../os/net/ipv6/multicast/mpl.c:876:53: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + seed_info_len + vec_size;
                                                     ^
../../os/net/ipv6/multicast/mpl.c: In function 'data_message_expiration':
../../os/net/ipv6/multicast/mpl.c:980:34: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
     memcpy(((void *)UIP_EXT_BUF) + 8 + UIP_EXT_BUF->len * 8, &locmmptr->data, locmmptr->size);
                                  ^
../../os/net/ipv6/multicast/mpl.c:980:38: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
     memcpy(((void *)UIP_EXT_BUF) + 8 + UIP_EXT_BUF->len * 8, &locmmptr->data, locmmptr->size);
                                      ^
../../os/net/ipv6/multicast/mpl.c: In function 'icmp_in':
../../os/net/ipv6/multicast/mpl.c:1134:59: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
             (struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
                                                           ^
../../os/net/ipv6/multicast/mpl.c:1134:69: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
             (struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
                                                                     ^
../../os/net/ipv6/multicast/mpl.c:1134:21: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
             (struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
                     ^~~~~~~~~
../../os/net/ipv6/multicast/mpl.c:1138:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
           locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
                                         ^
../../os/net/ipv6/multicast/mpl.c:1138:68: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
           locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
                                                                    ^
../../os/net/ipv6/multicast/mpl.c:1145:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
           locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
                                         ^
../../os/net/ipv6/multicast/mpl.c:1145:71: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
         locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
                                                                     ^
../../os/net/ipv6/multicast/mpl.c:1152:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
           locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
                                         ^
../../os/net/ipv6/multicast/mpl.c:1152:71: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
         locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
                                                                     ^
../../os/net/ipv6/multicast/mpl.c:1159:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
           locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
                                         ^
../../os/net/ipv6/multicast/mpl.c:1159:71: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
         locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
                                                                     ^
../../os/net/ipv6/multicast/mpl.c:1190:55: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
         (struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
                                                       ^
../../os/net/ipv6/multicast/mpl.c:1190:65: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
         (struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
                                                                 ^
../../os/net/ipv6/multicast/mpl.c:1190:17: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
         (struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
                 ^~~~~~~~~
../../os/net/ipv6/multicast/mpl.c:1216:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       vector = ((void *)locsiptr) + sizeof(struct seed_info);
                                   ^
../../os/net/ipv6/multicast/mpl.c:1219:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       vector = ((void *)locsiptr) + sizeof(struct seed_info_s1);
                                   ^
../../os/net/ipv6/multicast/mpl.c:1222:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       vector = ((void *)locsiptr) + sizeof(struct seed_info_s2);
                                   ^
../../os/net/ipv6/multicast/mpl.c:1225:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       vector = ((void *)locsiptr) + sizeof(struct seed_info_s3);
                                   ^
../../os/net/ipv6/multicast/mpl.c:1357:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
                                     ^
../../os/net/ipv6/multicast/mpl.c:1357:64: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
                                                                ^
../../os/net/ipv6/multicast/mpl.c:1360:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
                                     ^
../../os/net/ipv6/multicast/mpl.c:1360:67: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
                                                                   ^
../../os/net/ipv6/multicast/mpl.c:1363:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
                                     ^
../../os/net/ipv6/multicast/mpl.c:1363:67: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
                                                                   ^
../../os/net/ipv6/multicast/mpl.c:1366:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
                                     ^
../../os/net/ipv6/multicast/mpl.c:1366:67: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
       locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
                                                                   ^
../../os/net/ipv6/multicast/mpl.c: In function 'accept':
../../os/net/ipv6/multicast/mpl.c:1575:27: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
     hptr = ((void *)hptr) + hptr->len * 8 + 8;
                           ^
../../os/net/ipv6/multicast/mpl.c:1575:43: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
     hptr = ((void *)hptr) + hptr->len * 8 + 8;
                                           ^
../../os/net/ipv6/multicast/mpl.c:1577:25: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
   hptr = ((void *)hptr) + hptr->len * 8 + 8;
                         ^
../../os/net/ipv6/multicast/mpl.c:1577:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
   hptr = ((void *)hptr) + hptr->len * 8 + 8;
                                         ^
cc1: all warnings being treated as errors
/home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/Makefile.iotlab:166: recipe for target 'build/iotlab/m3/obj/mpl.o' failed
make: *** [build/iotlab/m3/obj/mpl.o] Error 1
make: Leaving directory '/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/multicast'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.