Resolve " relocation truncated to fit" errors by dynamically allocating large non variable sized arrays with Simulink Coder
Ältere Kommentare anzeigen
I have a Simulink model with a MATLAB function block that operates on a very large array. When I build my model and try to compile an executable with the MinGW compiler, I get errors like that shown below:
ERROR: modelName.obj:modelName.c:(.text+0x24): relocation truncated to fit: R_X86_64_PC32 against symbol ‘modelName_DW’ defined in COMMON section in modelName.obj
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Texas Instruments C2000 Processors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!