Hello,
this is my first request for support in this community; so please let me know when you need more information to support me.
Currently, I'm trying to use Simulink Test for building a Test Harness to test C-code. I have imported C-code into a model with a C-caller function. While doing this, the compiler checked the code and was ok with the content.
After that I created a TestHarness with TestSequences as configuration. Then I compiled the TestHarness and I encounter a compile error "LCCMAKE.exe: Error Code 12". Unfortenately, without any explanation with it.
I can't find any explanation regarding this Error Code 12; so that makes it very hard to understand where the problem is.
Does anyone know what the meaning of this Error Code 12 is?
BTW, regarding the code, I believe the code is correct, because we also use it with another compiler GHS (for the embedded application) and there we encounter no errors.
Many thanks for the support!
################ UPDATE ########################
I found the following in the compile results (maybe that helps):
extdev.obj .text: undefined reference to 'Spi_WriteIB'
extdev.obj .text: undefined reference to 'Spi_AsyncTransmit'
extdev.obj .text: undefined reference to 'Spi_GetSequenceResult'
extdev.obj .text: undefined reference to 'Spi_ReadIB'
extdev.obj .text: undefined reference to 'Gpt_GetTimeElapsed'
extdev.obj .text: undefined reference to 'StateMach_stSysMode'
extdev.obj .text: undefined reference to 'Spi_SetAsyncMode'
Not sure what the undefined reference means..
###############################################
BR,
Frank