Although the error is almost identical to mine, changing the configuration parameters does not help in my case.
I created a new model and only referenced one of my other models as a test case. The same error occurs :
Sample_ref_model_rtwlib.a(Sample_ref_model.o): In function `mr_Sample_ref_model':
Sample_ref_model.c:(.text+0x78): undefined reference to `cos'
Sample_ref_model.c:(.text+0xe6): undefined reference to `cos'
Sample_ref_model.c:(.text+0x1b7): undefined reference to `cos'
Sample_ref_model.c:(.text+0x20a): undefined reference to `cos'
Sample_ref_model.c:(.text+0x32f): undefined reference to `ceil'
I must be missing a step or something.
