This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/CC1350: Cross-compile linux Gateway example including protobuf and protobuf-c objects.

Part Number: CC1350

Tool/software: Linux

Hello, I want to cross-compile the example linux gateway v2.06.00.24 with the SDK 5.00.00.15 for the beaglebone black, including the protobuf (since it modifies the amount of data transmitted to the gataway). To do this, install the linux SDK am335x evm 5.00.00.15, compile the protobuf and protobuf-c programs according to what is indicated in the MakeFile located in '../google'. Then modify the makefile of the collector according to the steps described.

# Step 1: Go build the protobuf packages
# See the file: ../google/Makefile for details.
# hint: cd ../google
# hint: make all
#
# Step 2: uncomment this line.
CFLAGS + = -I $ (PROTOC_INSTALL_DIR) / include
#
# STEP 3: Remove the "protobuf-c.c
PROTOBUF_C_C =
#
# STEP 4:
# Link the protobuf-c library
# To do this, you will need to cross-compile the
# protobuf-C library and related items to your target.
#

for step 4 I have doubts about how to do it. I only run the 'make bbb' in the collector folder, but I get problems with references to protobuf-c functions, of the type:

Creating App: (bbb) bbb_collector
objs/bbb/appsrv.pb-c.o: In function `appsrv_tx_data_req__unpack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:42: undefined reference to `protobuf_c_message_unpack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_tx_data_req__free_unpacked':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:51: undefined reference to `protobuf_c_message_free_unpacked'
objs/bbb/appsrv.pb-c.o: In function `appsrv_tx_data_cnf__get_packed_size':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:63: undefined reference to `protobuf_c_message_get_packed_size'
objs/bbb/appsrv.pb-c.o: In function `appsrv_tx_data_cnf__pack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:70: undefined reference to `protobuf_c_message_pack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_set_join_permit_req__unpack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:128: undefined reference to `protobuf_c_message_unpack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_set_join_permit_req__free_unpacked':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:137: undefined reference to `protobuf_c_message_free_unpacked'
objs/bbb/appsrv.pb-c.o: In function `appsrv_set_join_permit_cnf__get_packed_size':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:149: undefined reference to `protobuf_c_message_get_packed_size'
objs/bbb/appsrv.pb-c.o: In function `appsrv_set_join_permit_cnf__pack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:156: undefined reference to `protobuf_c_message_pack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_device_update_ind__get_packed_size':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:192: undefined reference to `protobuf_c_message_get_packed_size'
objs/bbb/appsrv.pb-c.o: In function `appsrv_device_update_ind__pack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:199: undefined reference to `protobuf_c_message_pack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_device_not_active_update_ind__get_packed_size':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:235: undefined reference to `protobuf_c_message_get_packed_size'
objs/bbb/appsrv.pb-c.o: In function `appsrv_device_not_active_update_ind__pack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:242: undefined reference to `protobuf_c_message_pack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_device_data_rx_ind__get_packed_size':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:278: undefined reference to `protobuf_c_message_get_packed_size'
objs/bbb/appsrv.pb-c.o: In function `appsrv_device_data_rx_ind__pack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:285: undefined reference to `protobuf_c_message_pack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_collector_state_cng_update_ind__get_packed_size':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:321: undefined reference to `protobuf_c_message_get_packed_size'
objs/bbb/appsrv.pb-c.o: In function `appsrv_collector_state_cng_update_ind__pack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:328: undefined reference to `protobuf_c_message_pack'
objs/bbb/appsrv.pb-c.o: In function `appsrv_nwk_info_update_ind__get_packed_size':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:407: undefined reference to `protobuf_c_message_get_packed_size'
objs/bbb/appsrv.pb-c.o: In function `appsrv_nwk_info_update_ind__pack':
/home/anibal/ti/ti154stack_linux_x64_2_06_00_24/example/collector/appsrv.pb-c.c:414: undefined reference to `protobuf_c_message_pack'
objs/bbb/appsrv.pb-c.o: In function `apps

They may help me cross-compile that example. Thank you in advance.