Facing Error in NXP RT1170EVKB Compilation Errror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am running the demo example successfully, but when I am trying to run my own model, I am facing this issue. Also, when I am running the code on another platform on Ubuntu, I am not able to get these files, which are shown in error. Facing this issue for the last 3 weeks after even after trying every method
Building target: evkbmimxrt1170_maestro_sync.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"E:\new\evkbmimxrt1170_maestro_sync\vit\CortexM7\Lib" -L"E:\new\evkbmimxrt1170_maestro_sync\voice_seeker\lib" -Xlinker -no-warn-rwx-segments -Xlinker -Map="evkbmimxrt1170_maestro_sync.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker --sort-section=alignment -Xlinker --cref -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -T evkbmimxrt1170_maestro_sync_Release.ld -o "evkbmimxrt1170_maestro_sync.axf" ./xip/dcd.o ./xip/evkbmimxrt1170_flexspi_nor_config.o ./xip/fsl_flexspi_nor_boot.o ./xip/xmcd.o ./voice_seeker/ARM_CortexM7/rdsp_utilities_public/rdsp_memory_utils_public/RdspMemoryUtilsPublic.o ./voice_seeker/ARM_CortexM7/rdsp_utilities_public/rdsp_memory_utils_public/memcheck.o ./utilities/str/fsl_str.o ./utilities/debug_console/fsl_debug_console.o ./utilities/fsl_assert.o ./utilities/fsl_memcpy.o ./utilities/fsl_shell.o ./startup/boot_multicore_slave.o ./startup/startup_mimxrt1176_cm7.o ./source/app_streamer.o ./source/cmd.o ./source/main.o ./source/sdmmc_config.o ./source/semihost_hardfault.o ./source/streamer_pcm.o ./source/stt_processor.o ./source/vit_proc.o ./source/voice_seeker.o ./sdmmc/sd/fsl_sd.o ./sdmmc/osa/fsl_sdmmc_osa.o ./sdmmc/host/usdhc/non_blocking/fsl_sdmmc_host.o ./sdmmc/common/fsl_sdmmc_common.o ./maestro/src/utils/src/file_utils.o ./maestro/src/utils/src/general_utils.o ./maestro/src/utils/src/maestro_logging.o ./maestro/src/elements/audio_proc.o ./maestro/src/elements/audio_sink.o ./maestro/src/elements/audio_src.o ./maestro/src/elements/file_sink.o ./maestro/src/elements/mem_src.o ./maestro/src/elements/process_sink.o ./maestro/src/devices/audio_sink_default.o ./maestro/src/devices/audio_src_default.o ./maestro/src/core/src/pad.o ./maestro/src/core/src/pipeline.o ./maestro/src/core/src/streamer.o ./maestro/src/core/src/streamer_element.o ./maestro/src/core/src/streamer_msg.o ./freertos/freertos-kernel/portable/MemMang/heap_4.o ./freertos/freertos-kernel/portable/GCC/ARM_CM4F/port.o ./freertos/freertos-kernel/croutine.o ./freertos/freertos-kernel/event_groups.o ./freertos/freertos-kernel/list.o ./freertos/freertos-kernel/queue.o ./freertos/freertos-kernel/stream_buffer.o ./freertos/freertos-kernel/tasks.o ./freertos/freertos-kernel/timers.o ./fatfs/source/fsl_sd_disk/fsl_sd_disk.o ./fatfs/source/diskio.o ./fatfs/source/ff.o ./fatfs/source/ffsystem.o ./fatfs/source/ffunicode.o ./drivers/fsl_anatop_ai.o ./drivers/fsl_cache.o ./drivers/fsl_clock.o ./drivers/fsl_common.o ./drivers/fsl_common_arm.o ./drivers/fsl_dcdc.o ./drivers/fsl_dmamux.o ./drivers/fsl_edma.o ./drivers/fsl_flexio.o ./drivers/fsl_flexio_i2s.o ./drivers/fsl_flexio_i2s_edma.o ./drivers/fsl_gpc.o ./drivers/fsl_gpio.o ./drivers/fsl_lpi2c.o ./drivers/fsl_lpuart.o ./drivers/fsl_mu.o ./drivers/fsl_pdm.o ./drivers/fsl_pdm_edma.o ./drivers/fsl_pgmc.o ./drivers/fsl_pmu.o ./drivers/fsl_sai.o ./drivers/fsl_sai_edma.o ./drivers/fsl_semc.o ./drivers/fsl_soc_src.o ./drivers/fsl_usdhc.o ./device/system_MIMXRT1176_cm7.o ./component/uart/fsl_adapter_lpuart.o ./component/serial_manager/fsl_component_serial_manager.o ./component/serial_manager/fsl_component_serial_port_uart.o ./component/osa/fsl_os_abstraction_free_rtos.o ./component/lists/fsl_component_generic_list.o ./component/i2c/fsl_adapter_lpi2c.o ./component/gpio/fsl_adapter_igpio.o ./codec/port/wm8962/fsl_codec_wm8962_adapter.o ./codec/port/fsl_codec_adapter.o ./codec/fsl_codec_common.o ./codec/fsl_codec_i2c.o ./codec/fsl_wm8962.o ./board/board.o ./board/clock_config.o ./board/hardware_init.o ./board/pin_mux.o ./CMSIS/DSP/Source/WindowFunctions/WindowFunctions.o ./CMSIS/DSP/Source/TransformFunctions/TransformFunctions.o ./CMSIS/DSP/Source/TransformFunctions/TransformFunctionsF16.o ./CMSIS/DSP/Source/SupportFunctions/SupportFunctions.o ./CMSIS/DSP/Source/SupportFunctions/SupportFunctionsF16.o ./CMSIS/DSP/Source/StatisticsFunctions/StatisticsFunctions.o ./CMSIS/DSP/Source/StatisticsFunctions/StatisticsFunctionsF16.o ./CMSIS/DSP/Source/SVMFunctions/SVMFunctions.o ./CMSIS/DSP/Source/SVMFunctions/SVMFunctionsF16.o ./CMSIS/DSP/Source/QuaternionMathFunctions/QuaternionMathFunctions.o ./CMSIS/DSP/Source/MatrixFunctions/MatrixFunctions.o ./CMSIS/DSP/Source/MatrixFunctions/MatrixFunctionsF16.o ./CMSIS/DSP/Source/InterpolationFunctions/InterpolationFunctions.o ./CMSIS/DSP/Source/InterpolationFunctions/InterpolationFunctionsF16.o ./CMSIS/DSP/Source/FilteringFunctions/FilteringFunctions.o ./CMSIS/DSP/Source/FilteringFunctions/FilteringFunctionsF16.o ./CMSIS/DSP/Source/FastMathFunctions/FastMathFunctions.o ./CMSIS/DSP/Source/FastMathFunctions/FastMathFunctionsF16.o ./CMSIS/DSP/Source/DistanceFunctions/DistanceFunctions.o ./CMSIS/DSP/Source/DistanceFunctions/DistanceFunctionsF16.o ./CMSIS/DSP/Source/ControllerFunctions/ControllerFunctions.o ./CMSIS/DSP/Source/ComplexMathFunctions/ComplexMathFunctions.o ./CMSIS/DSP/Source/ComplexMathFunctions/ComplexMathFunctionsF16.o ./CMSIS/DSP/Source/CommonTables/CommonTables.o ./CMSIS/DSP/Source/CommonTables/CommonTablesF16.o ./CMSIS/DSP/Source/BayesFunctions/BayesFunctions.o ./CMSIS/DSP/Source/BayesFunctions/BayesFunctionsF16.o ./CMSIS/DSP/Source/BasicMathFunctions/BasicMathFunctions.o ./CMSIS/DSP/Source/BasicMathFunctions/BasicMathFunctionsF16.o -Wl,--start-group -lVIT_CM7_v04_11_00 -lvoiceseeker_no_aec -Wl,--end-group
C:/nxp/MCUXpressoIDE_24.12.148/ide/plugins/com.nxp.mcuxpresso.tools.win32_24.12.0.202407110909/tools/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: ./source/stt_processor.o: in function `STT_Initialize':
E:\new\evkbmimxrt1170_maestro_sync\Release/../source/stt_processor.c:25:(.text.STT_Initialize+0xe): undefined reference to `vosk_model_new'
C:/nxp/MCUXpressoIDE_24.12.148/ide/plugins/com.nxp.mcuxpresso.tools.win32_24.12.0.202407110909/tools/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: E:\new\evkbmimxrt1170_maestro_sync\Release/../source/stt_processor.c:31:(.text.STT_Initialize+0x24): undefined reference to `vosk_recognizer_new'
C:/nxp/MCUXpressoIDE_24.12.148/ide/plugins/com.nxp.mcuxpresso.tools.win32_24.12.0.202407110909/tools/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: E:\new\evkbmimxrt1170_maestro_sync\Release/../source/stt_processor.c:34:(.text.STT_Initialize+0x3a): undefined reference to `vosk_model_free'
C:/nxp/MCUXpressoIDE_24.12.148/ide/plugins/com.nxp.mcuxpresso.tools.win32_24.12.0.202407110909/tools/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: ./source/stt_processor.o: in function `STT_Process':
E:\new\evkbmimxrt1170_maestro_sync\Release/../source/stt_processor.c:49:(.text.STT_Process+0x1c): undefined reference to `vosk_recognizer_accept_waveform'
C:/nxp/MCUXpressoIDE_24.12.148/ide/plugins/com.nxp.mcuxpresso.tools.win32_24.12.0.202407110909/tools/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe: E:\new\evkbmimxrt1170_maestro_sync\Release/../source/stt_processor.c:51:(.text.STT_Process+0x24): undefined reference to `vosk_recognizer_result'
Memory region Used Size Region Size %age Used
BOARD_FLASH: 32284 B 64 MB 0.05%
SRAM_DTC_cm7: 10992 B 256 KB 4.19%
SRAM_ITC_cm7: 0 GB 256 KB 0.00%
SRAM_OC1: 751644 B 768 KB 95.58%
NCACHE_REGION: 0 GB 256 KB 0.00%
SRAM_OC_ECC1: 0 GB 64 KB 0.00%
SRAM_OC_ECC2: 0 GB 64 KB 0.00%
BOARD_SDRAM: 0 GB 64 MB 0.00%
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:91: evkbmimxrt1170_maestro_sync.axf] Error 1
make: *** [makefile:82: all] Error 2
"make -r -j12 all" terminated with exit code 2. Build might be incomplete.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am very sorry for the delayed response!
I can see that you are working with the maestro_sync library and therefore with VIT. How are you replacing the demo's model with yours? Have you found out something else in the meantime to share?
Thank you!
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i thought to design some model and replace the demo model with that designed model, means I am running some model using kaldi and replacing the run model files with the demo
