[fdo] error on cross compiling libdbus
Havoc Pennington
hp at redhat.com
Wed Aug 8 11:31:15 PDT 2007
hong zhang wrote:
> List,
>
> I want to cross compiling libdbus for arm processor
> with Montavista toolchain. But I went into error.
> Says,
>
> 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.
Havoc
More information about the freedesktop
mailing list