Bug 57175

Summary: pkg-config-0.27.1 Compilation Error
Product: pkg-config Reporter: iw <dhanyajr>
Component: srcAssignee: pkg-config
Status: RESOLVED NOTABUG QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description iw 2012-11-16 05:11:51 UTC
Hai All,

Currently iam building Bluez.
For that i need to build "pkg-config-0.27.1".
Os: Arm
CC: arm-none-linux-gnueabi-gcc

Below is the steps i followed:

1. CC=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc ./configure --host=arm-linux --prefix=/home/dhanya/bt/ --docdir=/home/dhanya/bt/share/doc/pkg-config-0.27.1 --with-internal-glib 

checking for growing stack pointer... configure: error: in `/home/dhanya/bt/pkg-config-0.27.1/glib':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
configure: error: ./configure failed for glib

How can i get Glib for arm.
Please help me to resolve this issue.
Comment 1 Dan Nicholson 2012-12-05 20:30:12 UTC
Please see the README in pkg-config. It discusses cross-compiling with the bundled glib in the Building section. In particular, to cross-compile glib you should read this info:

http://developer.gnome.org/glib/stable/glib-cross-compiling.html

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.