Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02329// Views: AA-02329// Created: 2024-07-12 12:00:07// Last Updated: 2024-07-12 12:10:50
RT-LAB
Building Model Failed at GCC Linking

Problem

When I try to build my model, I get an error similar to the following:

/usr/lib/gcc/x86_64-poky-linux/8.3.0/../../../../x86_64-poky-linux/bin/ld: final link failed: nonrepresentable section on output

collect2: error: ld returned 1 exit status

make: *** [posix.rules:6: rtdemo1_1_sm_computation] Error 1

??? Error building rtdemo1_1_sm_computation subsystem.


Solution

To solve this error, reinstall RT-LAB on the target by following the steps from the article below:

How to install RT-LAB on the real-time simulator (target)

If this does not help, please contact technical support :

https://www.opal-rt.com/contact-technical-support/