[fdo] error on cross compiling libdbus
hp at redhat.com
Wed Aug 8 11:31:15 PDT 2007
hong zhang wrote:
> I want to cross compiling libdbus for arm processor
> with Montavista toolchain. But I went into error.
> checking for posix getpwnam_r... configure: error:
> cannot run test program while cross compiling
There is nothing dbus-specific here, this is just standard
cross-compilation with autoconf.
I don't really know the details of how it works but in essence you have
to provide a hardcoded answer to the configure test, since the configure
script can't run the test program.
More information about the freedesktop