error: cannot run C compiled programs

Hardik A Gohil hardik at willowglen.com.my
Thu Sep 10 18:19:07 PDT 2015


Hello,

Thank for your response

problem solved.



On Thu, Sep 10, 2015 at 9:52 PM, Dan Kegel <dank at kegel.com> wrote:

>
> On Sep 9, 2015 8:28 PM, "Hardik A Gohil" <hardik at willowglen.com.my> wrote:
> >
> > Hello,
> >
> > ...
> > 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':
> > configure: error: cannot run C compiled programs.
> > If you meant to cross compile, use `--host'.
> > See `config.log' for more details
> > make: ***
> [/export/home/os/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/state/host-pkg-config.prepare]
> Error 1
>
> Well, *are* you trying to cross-complie?
>
> IIRC pkg-config has dependencies that make it hard to bootstrap.
> I switched to pkgconf, it's compatible and easier to build.  See
> https://github.com/pkgconf/pkgconf
>
> For completeness, here's how I build it (not directly useful for you):
>
> https://github.com/Oblong/yobuild/tree/master/recipes/pkgconf
>
> - Dan
>



-- 
Regards
Hardik A Gohil
Willowglen Msc Bhd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20150911/02937a01/attachment.html>


More information about the pkg-config mailing list