Forums - StreamSendDataBlock, linker error

1 post / 0 new
StreamSendDataBlock, linker error
vkorotkiy
Join Date: 2 Mar 17
Posts: 1
Posted: Mon, 2017-04-10 07:49

Hello friends,

I tried to compile the demo project "beacon" with CSRMesh function - StreamSendDataBlock, for sending a broadcast message and got the linker error - "..\libraries\libstreammodel.a(stream_model.o): In function 'StreamSendDataBlock': (.text.StreamSendDataBlock+0x2a): undefined reference to '___libcsrmesh_110'".

xIDE: SDK v.2.6.0.10

project: "SDK\apps\beacon"

file: beacon.c

changes:

"...

/*============================================================================*

* CSR Mesh Header Files

*============================================================================*/

#include <csr_mesh.h>

 

#include <stream_model.h>

...

void AppInit(sleep_state last_sleep_state)

{   
    /* Initialize hardware */
    InitHardware();
 
    uint8 number = 0x05;
    StreamSendDataBlock (0x00 /* broadcast id */, &number, 1);
 
    /* Start advertising */
    startAdvertising();
}
..."
 
project, Libraries: "csrmesh streammodel"
project, Library Search Paths: "..\libraries"
project, Include Paths: "..\include
error: "..\libraries\libstreammodel.a(stream_model.o): In function 'StreamSendDataBlock': (.text.StreamSendDataBlock+0x2a): undefined reference to '___libcsrmesh_110'"
 
Please help me to find what I have missed. Thank you.
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.