cancel
Showing results for 
Search instead for 
Did you mean: 

ZbZclOnOffServerAlloc Missing reference

KJeps.3
Associate II

Hi,

I finally got my zigbee up and running on v.13.xx but it stops working, properly in M0 core after 5-20seconds.

However I thought it would be good to go to 14.1, so i did, made a project.

But i cannot compile the project.

It is based on Cube...

I get this error:

Why do it not find it, there is some references in the code, but it may be library missing or?

Please advice

Thanks

Kasper

c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: ./Middlewares/ST/STM32_WPAN/zigbee/core/src/zigbee_core_wb.o: in function `Zigbee_CallBackProcessing':

C:/Users/8/STM32CubeIDE/workspace_1.6.1/Zigbee_1_4_start/Debug/../Middlewares/ST/STM32_WPAN/zigbee/core/src/zigbee_core_wb.c:3800: undefined reference to `zcl_cluster_data_ind'

c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: C:/Users/8/STM32CubeIDE/workspace_1.6.1/Zigbee_1_4_start/Debug/../Middlewares/ST/STM32_WPAN/zigbee/core/src/zigbee_core_wb.c:3815: undefined reference to `zcl_cluster_alarm_data_ind'

c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: ./STM32_WPAN/App/app_zigbee.o: in function `APP_ZIGBEE_ConfigEndpoints':

C:/Users/8/STM32CubeIDE/workspace_1.6.1/Zigbee_1_4_start/Debug/../STM32_WPAN/App/app_zigbee.c:234: undefined reference to `ZbZclOnOffServerAlloc'

collect2.exe: error: ld returned 1 exit status

1 ACCEPTED SOLUTION

Accepted Solutions
KJeps.3
Associate II

Solution:

Manual add the zigbee lib to the eclipse project setting, seems like cube does not set this correctly now.

It is removed every time cube generates code, and i can not find a place to fill it in.

Lib:

:stm32wb_zigbee_wb_lib.a

Path:

/Zigbee_1_4_start/Middlewares/ST/STM32_WPAN/zigbee/lib

View solution in original post

1 REPLY 1
KJeps.3
Associate II

Solution:

Manual add the zigbee lib to the eclipse project setting, seems like cube does not set this correctly now.

It is removed every time cube generates code, and i can not find a place to fill it in.

Lib:

:stm32wb_zigbee_wb_lib.a

Path:

/Zigbee_1_4_start/Middlewares/ST/STM32_WPAN/zigbee/lib