Forums - Calling Zigbee qapi makes linker to fail.

1 post / 0 new
Calling Zigbee qapi makes linker to fail.
ing.matiasalvarez
Join Date: 26 Jun 19
Posts: 2
Posted: Thu, 2019-11-28 05:56

Hello everyone,

I'm developing a mqtt-zigbee gateway. I've started with helloworld_demo as a base for my project. In the Appstart I call zigbee qapi to initialize zigbee stack and when I run make to compile everything calling zigbee qapi makes linker to fail.

Here is  the output from the linker:

Linking....
arm-none-eabi-ld -eSBL_Entry -no-wchar-size-warning --no-warn-mismatch -R"../../../../../bin/cortex-m4/IOE_ROM_IPT_IMG_ARNNRI_gcc.sym" -R"../../../../../bin/cortex-m4/IOE_ROM_IPT_IMG_ARNNRI_orig_fcns_gcc.sym" -T"output/Quartz.ld" -Map="output/Quartz.map" -n --gc-sections --start-group @output/LinkerLibs.txt --end-group -o"output/Quartz_nocompact.elf"
../../../../../lib/cortex-m4IPT/freertos/zigbee.lib(zigbee.o): In function `ZbLogPrintf':
/local/mnt/workspace/CRMBuilds/CNSS_W.QZ.3.0-00080-QZHW-2_20181118_181224/b/ioesw_proc/zigbee/src/zigbee.c:(.text+0x2e0): undefined reference to `__aeabi_assert'
../../../../../lib/cortex-m4IPT/freertos/zigbee.lib(zigbee.o): In function `ZbIfAttach':
/local/mnt/workspace/CRMBuilds/CNSS_W.QZ.3.0-00080-QZHW-2_20181118_181224/b/ioesw_proc/zigbee/src/zigbee.c:(.text+0x6f8): undefined reference to `__aeabi_assert'
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
arm-none-eabi-ld: Dwarf Error: mangled line number section (bad file number).
../../../../../lib/cortex-m4IPT/freertos/zigbee.lib(zigbee.persist.o): In function `ZbPersistTlvPutHdr':
/local/mnt/workspace/CRMBuilds/CNSS_W.QZ.3.0-00080-QZHW-2_20181118_181224/b/ioesw_proc/zigbee/src/zigbee.persist.c:(.text+0x80): undefined reference to `__aeabi_assert'
../../../../../lib/cortex-m4IPT/freertos/zigbee.lib(zigbee.persist.o): In function `zb_persist_get_mac_channels':
/local/mnt/workspace/CRMBuilds/CNSS_W.QZ.3.0-00080-QZHW-2_20181118_181224/b/ioesw_proc/zigbee/src/zigbee.persist.c:(.text+0xd14): undefined reference to `__aeabi_assert'
../../../../../lib/cortex-m4IPT/freertos/zigbee.lib(zigbee.persist.o): In function `ZbPersistSet':
/local/mnt/workspace/CRMBuilds/CNSS_W.QZ.3.0-00080-QZHW-2_20181118_181224/b/ioesw_proc/zigbee/src/zigbee.persist.c:(.text+0x1aaa): undefined reference to `__aeabi_assert'
../../../../../lib/cortex-m4IPT/freertos/zigbee.lib(zigbee.persist.o):/local/mnt/workspace/CRMBuilds/CNSS_W.QZ.3.0-00080-QZHW-2_20181118_181224/b/ioesw_proc/zigbee/src/zigbee.persist.c:(.text+0x1ac4): more undefined references to `__aeabi_assert' follow
arm-none-eabi-ld: output/Quartz_nocompact.elf: hidden symbol `__aeabi_assert' isn't defined
arm-none-eabi-ld: final link failed: Bad value
Makefile:232: recipe for target 'all' failed
make: *** [all] Error 1

 

Thanks in advance

Matias

  • 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.