build error : 'apduZDP' undeclared (first use in this function)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

build error : 'apduZDP' undeclared (first use in this function)

Jump to solution
583 Views
y_miya
Contributor II

Build error: 'apduZDP' undeclared (first use in this function)

I searched but couldn't find apduZDP.

y_miya_1-1745822453771.png

../zigbee/BDB/Source/FindAndBind/bdb_fb_initiator.c:504:48: error: 'apduZDP' undeclared (first use in this function)
arm-none-eabi-gcc -std=gnu99 -DCPU_K32W1480VFTA -DCPU_K32W1480VFTA_cm33 -

...

MT"source/app_main.d" -o "source/app_main.o" "../source/app_main.c"
  504 |     hAPduInst = PDUM_hAPduAllocateAPduInstance(apduZDP);
Finished building: ../utilities/fsl_memcpy.S
Building file: ../source/app_serial_commands.c
      |                                                ^~~~~~~

SDK Details

  • Windows
  • 24.12.00
  • K32W148-EVK
  • MCUXpresso IDE

Import SDK example : zigbee_coordinator_freertos

y_miya_0-1745821769432.png

 

 

Tags (1)
0 Kudos
Reply
1 Solution
563 Views
sofiaurueta
NXP Employee
NXP Employee

Hello,

 

Hope you are doing well.

 

This error may be due to some missing python modules, could you please try installing lxml module for python? You can try using:

 

pip install lxml

 

This action does a modification in the content for .h files, so the library content inside pdum_gen.h changes, this modification declares the apduZDP and apduZCL inside this library.

 

Best Regards,

Ana Sofia.

View solution in original post

1 Reply
564 Views
sofiaurueta
NXP Employee
NXP Employee

Hello,

 

Hope you are doing well.

 

This error may be due to some missing python modules, could you please try installing lxml module for python? You can try using:

 

pip install lxml

 

This action does a modification in the content for .h files, so the library content inside pdum_gen.h changes, this modification declares the apduZDP and apduZCL inside this library.

 

Best Regards,

Ana Sofia.