<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic build error : 'apduZDP' undeclared (first use in this function) in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/build-error-apduZDP-undeclared-first-use-in-this-function/m-p/2088020#M19727</link>
    <description>&lt;DIV class=""&gt;&lt;P&gt;Build error: 'apduZDP' undeclared (first use in this function)&lt;/P&gt;&lt;P&gt;I searched but couldn't find apduZDP.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_miya_1-1745822453771.png" style="width: 553px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335124i96A559A8830F10F7/image-dimensions/553x228?v=v2" width="553" height="228" role="button" title="y_miya_1-1745822453771.png" alt="y_miya_1-1745822453771.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;LI-CODE lang="cpp"&gt;../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
      |                                                ^~~~~~~&lt;/LI-CODE&gt;&lt;P&gt;SDK&amp;nbsp;Details&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Windows&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;24.12.00&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;K32W148-EVK&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;MCUXpresso IDE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Import SDK example : zigbee_coordinator_freertos&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_miya_0-1745821769432.png" style="width: 243px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335121i867A4C5DDD443B3A/image-dimensions/243x136?v=v2" width="243" height="136" role="button" title="y_miya_0-1745821769432.png" alt="y_miya_0-1745821769432.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 28 Apr 2025 06:53:35 GMT</pubDate>
    <dc:creator>y_miya</dc:creator>
    <dc:date>2025-04-28T06:53:35Z</dc:date>
    <item>
      <title>build error : 'apduZDP' undeclared (first use in this function)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/build-error-apduZDP-undeclared-first-use-in-this-function/m-p/2088020#M19727</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;Build error: 'apduZDP' undeclared (first use in this function)&lt;/P&gt;&lt;P&gt;I searched but couldn't find apduZDP.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_miya_1-1745822453771.png" style="width: 553px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335124i96A559A8830F10F7/image-dimensions/553x228?v=v2" width="553" height="228" role="button" title="y_miya_1-1745822453771.png" alt="y_miya_1-1745822453771.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;LI-CODE lang="cpp"&gt;../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
      |                                                ^~~~~~~&lt;/LI-CODE&gt;&lt;P&gt;SDK&amp;nbsp;Details&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Windows&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;24.12.00&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;K32W148-EVK&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;MCUXpresso IDE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Import SDK example : zigbee_coordinator_freertos&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_miya_0-1745821769432.png" style="width: 243px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335121i867A4C5DDD443B3A/image-dimensions/243x136?v=v2" width="243" height="136" role="button" title="y_miya_0-1745821769432.png" alt="y_miya_0-1745821769432.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Apr 2025 06:53:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/build-error-apduZDP-undeclared-first-use-in-this-function/m-p/2088020#M19727</guid>
      <dc:creator>y_miya</dc:creator>
      <dc:date>2025-04-28T06:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: build error : 'apduZDP' undeclared (first use in this function)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/build-error-apduZDP-undeclared-first-use-in-this-function/m-p/2088624#M19728</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This error may be due to some missing python modules, could you please try installing lxml module for python? You can try using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pip install lxml&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ana Sofia.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 18:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/build-error-apduZDP-undeclared-first-use-in-this-function/m-p/2088624#M19728</guid>
      <dc:creator>sofiaurueta</dc:creator>
      <dc:date>2025-04-28T18:59:06Z</dc:date>
    </item>
  </channel>
</rss>

