title: What is the meaning of "Warning: Linking the shared library against static library is not portable"?
body: <p>I am making one dynamic library by using some function of libmxml.a library but I get this warning:</p>
  
  <pre><code>*Warning: Linking the shared library libgstmatroskademux.la against the _
  *static library /home/Mr32/gst-template4_final/gst-plugin/src/libmxml.a _
  is not portable!
  </code></pre>
  
  <p>I also get this warning:</p>
  
  <pre><code>gcc: /home/Mr32/gst-template4_final/gst-plugin/src/libmxml.a: linker _
  input file unused because linking not done
  </code></pre>
  
  <p>So what's the meaning of this warning and how could I solve it?</p>
  
  <p><strong>Edit :</strong></p>
  
  <p>There is one already autogenerated make file for compiling the gstreamer plugin. Now to use some function of libmxml.a in that plugin I have added <code>$(PATH)/libmxml.a</code> in the <code>GST_CFLAGS</code> variable in the make file. Now, when I do <code>make</code> and <code>make install</code>, the plugin works fine, but I still get this warning.</p>