Cross compiling dbus for ARM

Schmottlach, Glenn glenn.schmottlach at harman.com
Mon Oct 5 06:37:05 PDT 2009


You might try explicitly defining:

ac_cv_have_abstract_sockets=yes

in the environment prior to running "configure". This *should* tell "configure" to assume that abstract sockets exists so that it won't bother trying to build/run the test program.  So your command line might look like this:

ac_cv_have_abstract_sockets=yes ./configure --prefix=/programs/arm-dbus --host=i686-linux -target=arm-linux-gnu ARCH=ARM CROSS_COMPILE=/programs/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-

________________________________
From: dbus-bounces at lists.freedesktop.org [mailto:dbus-bounces at lists.freedesktop.org] On Behalf Of pan son
Sent: Friday, October 02, 2009 7:07 PM
To: dbus at lists.freedesktop.org
Subject: Cross compiling dbus for ARM

Hi I am trying to cross compile dbus 1.2.8 for ARM and this is how I run configure...

./configure --prefix=/programs/arm-dbus --host=i686-linux -target=arm-linux-gnu ARCH=ARM CROSS_COMPILE=/programs/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-

My compilation stops at...
"checking abstract socket namespace... configure: error: in `/programs/src/dbus-1.2.8':
configure: error: cannot run test program while cross compiling
See `config.log' for more details."

How do I disable test program check while cross compiling?

Many thanks,
Vink
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20091005/0e06d4d7/attachment.htm 


More information about the dbus mailing list