<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I&#39;m using an ethernet based device which has it&#39;s own library ( a header &quot;.h&quot; and a external library &quot;.so&quot; ). When I created my rock library I added two lines to my Cmakelist: &quot;HEADERS the_lib.h&quot; and &quot;LIBS /the/path/the_lib86x64.so&quot;. Doing that it compiled fine (through amake).<br>

<br></div>Then, when I try to create a rock-component using this rock-library the amake returns errors showing &quot;undefined reference&quot;&#39;s to functions implemented in the &quot;the_lib86x64.so&quot;.<br><br></div>

So I tried copying the &quot;the_lib86x64.so&quot; to Rock/install/lib, I don&#39;t know if it&#39;s the correct way, but now I get the error:<br><br>&quot;Linking CXX executable orogen_default_inductive__Task<br>    tasks/libinductive-tasks-gnulinux.so: undefined reference to `EthernetDrivers::GPIOin_Driver::read(bool*)&#39; &quot;<br>

</div><br>Where &quot;inductive&quot; is my component name, and &quot;EthernetDrivers::GPIOin_Driver::read(bool*)&quot; is a method from a class defined in my rock-library.<br><br></div>The actual state of my code:<br><div>

<br>rock-library:<br><a href="https://github.com/OpenLEAD/EthernetDriver">https://github.com/OpenLEAD/EthernetDriver</a><br><br>rock-component:<br><a href="https://github.com/OpenLEAD/InductiveS">https://github.com/OpenLEAD/InductiveS</a><br>

<br></div><div>Thanks in advance,<br></div><div>Eduardo Elael<br><br></div><div>Coppetec/LEAD<br></div></div>