Skipping incompatible libpcap.so - cross compilation
<p>I am trying to link libpcap to my project, but I achive an error </p>

<pre><code>skipping incompatible /usr/lib/i386-linux-gnu/libpcap.so when searching for -lpcap
</code></pre>

<p>I'm using cross compiler arm linux gcc. </p>

<p>I've found some topics with related problems but i haven't found solution for me.
How to link this lib correctly?</p>