Problems at cross-compiling pkg-config-0.23
John Taylor
pi00100100 at gmail.com
Fri Aug 21 09:27:13 PDT 2009
Hello,
I'm trying to cross-compile pkg-config-0.23. The host system is
i686-unknown-linux-gnu, while the target system is
x86_64-unknown-linux-gnu. After having issued the configure
--prefix=/mnt/clfs/cross-tools/usr --build=i686-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu I get the following error message:
checking for extra flags to get ANSI library prototypes... configure:
error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ../../pkg-config-0.23/glib-1.2.10/configure failed
for glib-1.2.10
Is there a way to get rid of this error? Even a workaround like
disabling the test would be OK for me. I already searched the mailing
list, and found the following threads, but no one was helpful:
- http://lists.freedesktop.org/archives/pkg-config/2008-December/000376.html
- http://lists.freedesktop.org/archives/pkg-config/2007-December/000247.html
- http://lists.freedesktop.org/archives/pkg-config/2007-April/000195.html
Thanks.
More information about the pkg-config
mailing list