<p dir="ltr"><br>
On Sep 9, 2015 8:28 PM, "Hardik A Gohil" <<a href="mailto:hardik@willowglen.com.my">hardik@willowglen.com.my</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> ...<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</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">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">https://github.com/Oblong/yobuild/tree/master/recipes/pkgconf</a></p>
<p dir="ltr">- Dan</p>