Undefined reference to 'g_fmi_data'

I have created a synergy library project with all the configurations. After that i create another Synergy project using this library. 

Even i didnt add any file i cant build the project. I can build library project without error but the other one gives error. I'm pasting the error log, any idea?

'Building target: test_main.elf'
'Invoking: GNU Arm Cross C Linker'
arm-none-eabi-gcc @"test_main.elf.in"
D:\projects_spaces\test_lib\synergy\ssp\src\driver\r_fmi\libs\libfmi_cm0_s128_gcc.a(r_fmi.o): In function `R_FMI_Init':
r_fmi.c:(.text.R_FMI_Init+0x7c): undefined reference to `g_fmi_data'
r_fmi.c:(.text.R_FMI_Init+0x84): undefined reference to `g_fmi_data'
D:\projects_spaces\test_lib\synergy\ssp\src\driver\r_fmi\libs\libfmi_cm0_s128_gcc.a(r_fmi.o): In function `R_FMI_FeatureGet':
r_fmi.c:(.text.R_FMI_FeatureGet+0x230): undefined reference to `g_fmi_data'
collect2.exe: error: ld returned 1 exit status
makefile:63: recipe for target 'test_main.elf' failed
make: *** [test_main.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.

Parents Reply Children
No Data