MQTT Greenhouse Sample problem with SL6087

AirVantage M2M Cloud APIs usage: build your server application or integrate into your ERP

MQTT Greenhouse Sample problem with SL6087

Postby zhaoxiarr » Wed Jan 31, 2018 1:51 am

Hi, all

Need some help. I followed instructions from website to install MQTT connector plugin in Developer Studio. And select "Greenhouse" sample. Then tried to build it and got a lot of errors as below. Do you know what's wrong?


D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:42: undefined reference to `av_table_pushInt'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:43: undefined reference to `av_table_pushInt'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:46: undefined reference to `av_mqtt_publishTable'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:47: undefined reference to `av_table_reset'
src\entry_point.o: In function `readMeasures':
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:65: undefined reference to `av_table_pushInt'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:68: undefined reference to `av_table_pushDouble'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:71: undefined reference to `av_table_pushDouble'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:74: undefined reference to `av_table_pushInt'
src\entry_point.o: In function `uploadMeasures':
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:89: undefined reference to `av_mqtt_publishTable'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:90: undefined reference to `av_table_reset'
src\entry_point.o: In function `stopApplication':
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:117: undefined reference to `av_table_close'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:118: undefined reference to `av_table_close'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:119: undefined reference to `av_mqtt_disconnect'
src\entry_point.o: In function `serverCallback':
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:242: undefined reference to `av_mqtt_publishData'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:247: undefined reference to `av_mqtt_publishData'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:252: undefined reference to `av_mqtt_publishData'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:257: undefined reference to `av_mqtt_publishData'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:262: undefined reference to `av_mqtt_publishData'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:275: undefined reference to `av_mqtt_publishAck'
src\entry_point.o: In function `startApplication':
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:329: undefined reference to `av_mqtt_connect'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:343: undefined reference to `av_table_init'
D:\workspace\Test1\Target_GCC_Debug/..\src/entry_point.c:355: undefined reference to `av_table_init'
collect2.exe: error: ld returned 1 exit status
zhaoxiarr
 
Posts: 2
Joined: Mon Apr 14, 2014 7:35 am
Has thanked: 0 time
Have thanks: 0 time

Return to AirVantage Enterprise Platform

Who is online

Users browsing this forum: No registered users and 1 guest