External libraries on GR740
Hi,
I'm currently using TASTE VM (TASTE-VM-9.1-beta2-64bit.ova) to generate a TASTE project deployed on the GR740 with RTEMS5. In this project I would like to integrate an external library. Therefore I followed the standard procedure of adding context parameters to include the headers in compilation and the library itself during linking phase. The problem appears at the end of the building process, i.e. the linking phase, that fails with undefined reference errors regarding the symbols provided by the external library. In order to help with solving this issue, I have reproduced the error by modifying the external library demo (/home/taste/tool-src/testSuites/Demo_ExternalLib) in order to deploy function1 in a gr740_rcc13rc4_posix node as you can see in the following figure:
After also modifying the external library to be compiled with the RCC, I tried to build the system and I have the same errors as in my initial examples. Please see below the errors:
I believe that placing the -L and -l options at the end of the gcc commands would solve the error.
I've included also the TASTE project modified so that you can reproduce the error.
Thanks in advance.
Best regards, Patricia