RPM Community Forums

Mailing List Message of <popt-devel>

cross-compilation of popt 1.14 fails

From: Paul Smith <paul@mad-scientist.us>
Date: Thu 09 Oct 2008 - 20:55:57 CEST
Message-Id: <1223578557.362.594.camel@psmith-ubeta.netezza.com>
Hi all;

If I try to cross-compile popt 1.14, the configure fails (I'm
cross-compiling for powerpc):

        checking for string.h... (cached) yes
        checking for va_copy() function... configure: error: cannot run test program while cross compiling
        See config.log' for more details.

I worked around this by pre-setting the variable in the environment when
invoking configure:

        ac_cv_va_copy=C99 ./configure ...

It would be nice if cross-compiling were supported.

Cheers!
Received on Thu Oct 9 21:32:19 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.