Linking custom library error

Forum related to ERIKA Enterprise and RT-Druid version 3

Moderator: paolo.gai

Locked
alexsheu

Linking custom library error

Post by alexsheu »

Hi,
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,
Alex
WeChat 圖片_20210916163534.png
WeChat 圖片_20210916163534.png (188.51 KiB) Viewed 23179 times
WeChat 圖片_20210916163541.png
WeChat 圖片_20210916163541.png (41.24 KiB) Viewed 23179 times
WeChat 圖片_20210916163545.png
WeChat 圖片_20210916163545.png (40.32 KiB) Viewed 23179 times
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: Linking custom library error

Post by paolo.gai »

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...

Ciao,

PJ
Locked