Menu

#36 can't build cunit with arm-none-eabi-gcc compiler in NXP S32DS IDE

v1.0_(example)
open
nobody
None
1
2021-02-16
2021-02-16
Anonymous
No

Hi,

I am using Cunit testing framework for NXP project using arm-none-eabi-gcc compiler, i was able to use Cuint library for C/C++ projects in NXP S32DS IDE, but i am getting lots of error for NXP's S32DS project (arm-none-eabi-gcc) i have added headers, library and library path to project build settings.

and the error are as follows

make -j4 all 
Building target: Test_Arm.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "Test_Arm.elf" "@Test_Arm.args"  
./src/testC.o: In function `main':
C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:18: undefined reference to `CU_initialize_registry'
C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:26: undefined reference to `CU_basic_set_mode'
C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:28: undefined reference to `CU_set_error_action'
C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:31: undefined reference to `CU_basic_run_tests'
C:\CUNIT_DIR\Test_Arm\Test_Arm\Debug_FLASH/../src/testC.c:33: undefined reference to `CU_cleanup_registry'

Kindly let me what is wrong here with arm compiler

and one more important doubt i have is "is this cunit library will support arm-noneeabi-gcc compiler?"

Thanks in advance

Discussion

Anonymous
Anonymous

Add attachments
Cancel