Linking custom library error

Forum related to ERIKA Enterprise and RT-Druid version 3

Moderator: paolo.gai

Post Reply
Posts: 3
Joined: Wed Sep 15, 2021 7:08 am

Linking custom library error

Post by alexsheu » Thu Sep 16, 2021 9:36 am

I'm trying to link a custom library to use with Erika. I've included the header file which contains the library function declarations and the path to the library as you can see below, let me know is there any setting is missing?

Best regards,
WeChat 圖片_20210916163534.png
WeChat 圖片_20210916163534.png (188.51 KiB) Viewed 7976 times
WeChat 圖片_20210916163541.png
WeChat 圖片_20210916163541.png (41.24 KiB) Viewed 7976 times
WeChat 圖片_20210916163545.png
WeChat 圖片_20210916163545.png (40.32 KiB) Viewed 7976 times

Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: Linking custom library error

Post by paolo.gai » Thu Sep 16, 2021 10:48 am

Dear Alex,

try adding an EEOPT in the OIL file OS_EE_VERBOSE.

In this way, it will print the command line used by the makefile.

Then try to execute the same command alone, from the command line, and check where is the issue.

Likely the linker command is missing some parameter, or the directory you specified for the linked libraries are wrong...



Post Reply