These are chat archives for SmingHub/Sming

17th
May 2016
Harry Böttcher
@harry-boe
May 17 2016 17:09

i'm trying to include smartconfig in my project and I am getting this:

20:30:48 **** Incremental Build of configuration Sming for project RTOS-Stepper-DM542 ****
make all 
C+ app/application.cpp
AR out/build/app_app.a
LD out/build/app_0.out
out/build/app_app.a(application.o):(.text._Z16smartconfig_taskPv+0x4): undefined reference to `smartconfig_start'
out/build/app_app.a(application.o): In function `smartconfig_task(void*)':
/home/kz/git/SmingRTOS/sming/sming/core/Delegate.h:61: undefined reference to `smartconfig_start'
out/build/app_app.a(application.o):(.text._Z16smartconfig_done9sc_statusPv+0x40): undefined reference to `smartconfig_stop'
out/build/app_app.a(application.o): In function `IDelegateCaller<void>::decrease()':
/home/kz/git/SmingRTOS/sming/sming/core/Delegate.h:61: undefined reference to `smartconfig_stop'
/home/kz/git/SmingRTOS/sming/Makefile-rboot.mk:334: recipe for target 'out/build/app_0.out' failed
collect2: error: ld returned 1 exit status
make: *** [out/build/app_0.out] Error 1

Asume you are linking with rBoot (the libsmarconfig is not included by default) it’s updated in the Makefile-proj.mk but nor yet in Makefile-rboot.mk