error: cannot run C compiled programs

Hardik A Gohil hardik at willowglen.com.my
Wed Sep 9 20:28:26 PDT 2015


Hello,

I compiling pkg-config and getting the following error.

checking for a BSD-compatible install...
/usr/local/lib/ptxdist-2013.01.0/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p...
/usr/local/lib/ptxdist-2013.01.0/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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


attached config.log



-- 
Regards
Hardik A Gohil
Willowglen Msc Bhd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20150910/c10557c8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 12077 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20150910/c10557c8/attachment.bin>


More information about the pkg-config mailing list