<div dir="ltr">Later I found the solution by myself :D<div><br></div><div>The above error is caused by the incorrect setting to the path of pkg-config.</div><div>There are two GLIB-2.0 .pc files which are different on platform - x86_64 and ARM,</div><div>and my PKG_CONFIG_PATH indicates the one of x86_64.</div><div>After I put the ARM-related pc files into a dedicated folder and replace the PKG_CONFIG_PATH with the path,</div><div>make distclean, configure with parameters above and make,</div><div>well... it works!</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-27 22:15 GMT+08:00 Jack Wang <span dir="ltr"><<a href="mailto:antirazin@gmail.com" target="_blank">antirazin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello guys,<div><br></div><div>I intend building libnice 0.1.13 in arm the run the following command:</div><div><br></div><div>./configure --host=arm-linux<br></div><div>make</div><div><br></div><div><br></div><div>and got some error message after make:</div><div><br></div><div><div>/usr/local/lib/<a href="http://libgio-2.0.so" target="_blank">libgio-2.0.so</a>: file not recognized: File format not recognized</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [<a href="http://libnice.la" target="_blank">libnice.la</a>] Error 1</div></div><div><br></div><div>It seems that the path of the GLIB2 libraries is wrong,</div><div>I'm sure the GLIB2 in arm was installed,</div><div>maybe I should set something before make??</div><div><br></div><div>Can you give some suggestion?</div><div><br></div><div>Thanks. :)</div></div>
</blockquote></div><br></div>