Bug 57175 - pkg-config-0.27.1 Compilation Error
Summary: pkg-config-0.27.1 Compilation Error
Status: RESOLVED NOTABUG
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: medium critical
Assignee: pkg-config
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-16 05:11 UTC by iw
Modified: 2012-12-05 20:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.