iot-lab / iot-lab

FIT Iot-LAB repository
Other
98 stars 47 forks source link

Error while compiling er-example-server.c with M3 platform #233

Closed vishal623 closed 5 years ago

vishal623 commented 6 years ago

Hello,

I want to compile ~/er-rest-example/er-example-server.c file. I got the following error.

vishal@vishal-Z51-70:~/Desktop/FIT-IoT-LAB/iot-lab/parts/contiki/examples/er-rest-example$ make TARGET=iotlab-m3 mkdir -p obj_iotlab-m3/cortex-m3/ mkdir -p obj_iotlab-m3/iotlab-m3/ mkdir -p obj_iotlab-m3/isl29020/ mkdir -p obj_iotlab-m3/l3g4200d/ mkdir -p obj_iotlab-m3/lps331ap/ mkdir -p obj_iotlab-m3/lsm303dlhc/ mkdir -p obj_iotlab-m3/n25xxx/ mkdir -p obj_iotlab-m3/rf2xx/ mkdir -p obj_iotlab-m3/softtimer/ mkdir -p obj_iotlab-m3/stm32/ mkdir -p obj_iotlab-m3/stm32f1xx/ CC er-example-server.c LD er-example-server.iotlab-m3 er-example-server.co: In function process_thread_er_example_server': /home/vishal/Desktop/FIT-IoT-LAB/iot-lab/parts/contiki/examples/er-rest-example/er-example-server.c:240: undefined reference tores_serial_data' collect2: error: ld returned 1 exit status /home/vishal/Desktop/FIT-IoT-LAB/iot-lab/parts/contiki/Makefile.include:280: recipe for target 'er-example-server.iotlab-m3' failed make: *** [er-example-server.iotlab-m3] Error 1 rm er-example-server.co

My er-example-server.c file is the same as in ~/iot-lab/04-er-rest-example/er-example-server.c file. Still, I am getting error.

Thanks, Vishal

schrein commented 5 years ago

duplicate issue with #234