<div dir="ltr"><div><div><div>Hello,<br><br></div>Thank for your response<br><br></div>problem solved.<br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 10, 2015 at 9:52 PM, Dan Kegel <span dir="ltr"><<a href="mailto:dank@kegel.com" target="_blank">dank@kegel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr"><br>
On Sep 9, 2015 8:28 PM, "Hardik A Gohil" <<a href="mailto:hardik@willowglen.com.my" target="_blank">hardik@willowglen.com.my</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> ...<span class=""><br>
> checking whether we are cross compiling... configure: error: in `/export/home/os/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-host/pkg-config-0.25':<br>
> configure: error: cannot run C compiled programs.<br>
> If you meant to cross compile, use `--host'.<br>
> See `config.log' for more details<br>
> make: *** [/export/home/os/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/state/host-pkg-config.prepare] Error 1</span></p>
<p dir="ltr">Well, *are* you trying to cross-complie?</p>
<p dir="ltr">IIRC pkg-config has dependencies that make it hard to bootstrap. <br>
I switched to pkgconf, it's compatible and easier to build.  See<br>
<a href="https://github.com/pkgconf/pkgconf" target="_blank">https://github.com/pkgconf/pkgconf</a></p>
<p dir="ltr">For completeness, here's how I build it (not directly useful for you):</p>
<p dir="ltr"><a href="https://github.com/Oblong/yobuild/tree/master/recipes/pkgconf" target="_blank">https://github.com/Oblong/yobuild/tree/master/recipes/pkgconf</a></p><span class="HOEnZb"><font color="#888888">
<p dir="ltr">- Dan</p>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards<br></div><div>Hardik A Gohil</div><div>Willowglen Msc Bhd<br></div><div><br></div></div></div></div></div>
</div>